+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:32:19: warning: initialization of 'arx_version' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Build/work/core/Version.cpp:33:19: warning: initialization of 'arx_release_codename' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Build/work/core/Version.cpp:36:19: warning: initialization of 'arx_credits' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Build/work/io/fs/PathConstants.h:27:9: warning: function-like macro 'ARX_GET_STR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Build/work/io/fs/PathConstants.h:29:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Build/work/platform/PlatformConfig.h:13:9: warning: macro 'ARX_HAVE_ATTRIBUTE_FORMAT_PRINTF' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Build/work/platform/PlatformConfig.h:16:9: warning: macro 'ARX_HAVE_BUILTIN_TRAP' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Build/work/ui_ErrorReportDialog.h:129:55: warning: statement should be inside braces [readability-braces-around-statements] +Build/work/ui_ErrorReportDialog.h:644: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:645: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:646: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:647: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:648: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:657:10: warning: method 'retranslateUi' can be made const [readability-make-member-function-const] +Build/work/ui_ErrorReportDialog.h:664:73: warning: escaped string literal can be written as a raw string literal [modernize-raw-string-literal] +Build/work/ui_ErrorReportDialog.h:666:81: warning: escaped string literal can be written as a raw string literal [modernize-raw-string-literal] +Build/work/ui_ErrorReportDialog.h:672:80: warning: escaped string literal can be written as a raw string literal [modernize-raw-string-literal] +Build/work/ui_ErrorReportDialog.h:675:80: warning: escaped string literal can be written as a raw string literal [modernize-raw-string-literal] +Arx/src/ai/PathFinder.cpp:59:9: warning: function-like macro 'frnd' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/ai/PathFinder.cpp:78:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/PathFinder.cpp:81:2: warning: function 'getId' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/ai/PathFinder.cpp:81:2: warning: function 'getId' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/ai/PathFinder.cpp:85:2: warning: function 'getParent' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/ai/PathFinder.cpp:85:2: warning: function 'getParent' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/ai/PathFinder.cpp:89:2: warning: function 'getCost' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/ai/PathFinder.cpp:89:2: warning: function 'getCost' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/ai/PathFinder.cpp:93:2: warning: function 'getDistance' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/ai/PathFinder.cpp:93:2: warning: function 'getDistance' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/ai/PathFinder.cpp:97:2: warning: function 'newParent' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/ai/PathFinder.cpp:105:19: warning: class 'OpenNodeList' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/ai/PathFinder.cpp:107:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/ai/PathFinder.cpp:107:15: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinder.cpp:113:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/ai/PathFinder.cpp:113:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/ai/PathFinder.cpp:123:2: warning: function 'add' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/ai/PathFinder.cpp:123:25: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinder.cpp:126:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/ai/PathFinder.cpp:126:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/ai/PathFinder.cpp:135:28: warning: narrowing conversion from 'NodeId' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:142:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinder.cpp:142:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinder.cpp:145:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/ai/PathFinder.cpp:147:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/ai/PathFinder.cpp:162:19: warning: class 'ClosedNodeList' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/ai/PathFinder.cpp:164:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/ai/PathFinder.cpp:170:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/ai/PathFinder.cpp:170:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/ai/PathFinder.cpp:179:2: warning: function 'contains' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/ai/PathFinder.cpp:179:23: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinder.cpp:181:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/ai/PathFinder.cpp:181:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/ai/PathFinder.cpp:191:24: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinder.cpp:206:30: warning: 2 adjacent parameters of 'setCylinder' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/PathFinder.cpp:211:43: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinder.cpp:219:25: warning: narrowing conversion from 'NodeId' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:219:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinder.cpp:232:3: warning: variable 'nid' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:241:7: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/ai/PathFinder.cpp:243:4: warning: variable 'cid' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:263:4: warning: variable 'remaining' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:275:42: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinder.cpp:278:42: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/PathFinder.cpp:286:25: warning: narrowing conversion from 'NodeId' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:286:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinder.cpp:305:3: warning: variable 'nid' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:308:7: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/ai/PathFinder.cpp:310:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/PathFinder.cpp:310:4: warning: variable 'cid' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:341:31: warning: 2 adjacent parameters of 'wanderAround' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/PathFinder.cpp:352:2: warning: variable 's' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:352:9: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinder.cpp:356:2: warning: variable 'step_c' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:362:3: warning: variable 'nb' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:362:16: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinder.cpp:362:36: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:366:5: warning: variable 'r' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:366:12: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinder.cpp:371:5: warning: variable 'nid' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:391:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/ai/PathFinder.cpp:403:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:421:2: warning: variable 's' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:421:9: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinder.cpp:423:2: warning: variable 'to' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:423:9: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinder.cpp:427:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/PathFinder.cpp:427:2: warning: variable 'step_c' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:428:6: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/PathFinder.cpp:430:3: warning: variable 'pos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:432:3: warning: variable 'next' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:445:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/ai/PathFinder.cpp:455:2: warning: variable 's' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:455:9: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinder.cpp:462: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:467:42: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/PathFinder.cpp:479:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.h:75:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/ai/PathFinder.h:75:10: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/PathFinder.h:76:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/ai/PathFinder.h:101:32: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinder.h:122:7: warning: function 'PathFinder::wanderAround' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/ai/PathFinder.h:145:2: warning: function 'getIlluminationCost' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/ai/PathFinder.h:146:2: warning: function 'getNearestNode' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/ai/PathFinderManager.cpp:66:20: warning: initializing non-local variable with non-const expression depending on uninitialized non-local variable 'HEURISTIC_MAX' [cppcoreguidelines-interfaces-global-init] +Arx/src/ai/PathFinderManager.cpp:72:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/PathFinderManager.cpp:72:22: warning: variable 'PATHFINDER_UPDATE_INTERVAL' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/PathFinderManager.cpp:72:22: warning: variable 'PATHFINDER_UPDATE_INTERVAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.cpp:74:20: warning: variable 'pr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.cpp:74:20: warning: variable name 'pr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinderManager.cpp:75:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/PathFinderManager.cpp:75:6: warning: variable 'PATHFINDER_WORKING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.cpp:79:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/ai/PathFinderManager.cpp:83:27: warning: variable 'pathfinder' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/PathFinderManager.cpp:83:27: warning: variable 'pathfinder' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.cpp:83:27: warning: variable 'pathfinder' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.cpp:83:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.cpp:84:15: warning: variable 'mutex' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/PathFinderManager.cpp:84:15: warning: variable 'mutex' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.cpp:84:15: warning: variable 'mutex' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.cpp:84:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.cpp:86:8: warning: accessing fields in struct 'PATHFINDER_QUEUE_ELEMENT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/ai/PathFinderManager.cpp:89:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/PathFinderManager.cpp:92:35: warning: variable 'pathfinder_queue_start' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/PathFinderManager.cpp:92:35: warning: variable 'pathfinder_queue_start' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.cpp:92:35: warning: variable 'pathfinder_queue_start' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.cpp:92:60: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.cpp:96:35: warning: function 'PATHFINDER_Find_ioid' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/PathFinderManager.cpp:96:65: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinderManager.cpp:98:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/PathFinderManager.cpp:98:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.cpp:103:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/PathFinderManager.cpp:103:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.cpp:108:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.cpp:118:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:122:29: warning: variable 'temp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/PathFinderManager.cpp:137:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/PathFinderManager.cpp:137:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/ai/PathFinderManager.cpp:137:37: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/ai/PathFinderManager.cpp:149:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.cpp:161:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.cpp:166:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/ai/PathFinderManager.cpp:177:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/PathFinderManager.cpp:179:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:183:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/PathFinderManager.cpp:185:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/PathFinderManager.cpp:190:13: warning: function 'EERIE_PATHFINDER_Clear_Private' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/PathFinderManager.cpp:193:29: warning: variable 'next' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/PathFinderManager.cpp:201:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.cpp:212:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:219:13: warning: function 'EERIE_PATHFINDER_Get_Next_Request' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/PathFinderManager.cpp:243:24: warning: function 'run' has cognitive complexity of 40 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/ai/PathFinderManager.cpp:245:21: warning: variable name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinderManager.cpp:245:26: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinderManager.cpp:247:36: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/ai/PathFinderManager.cpp:258:4: warning: uninitialized record type: 'curpr' [cppcoreguidelines-pro-type-member-init] +Arx/src/ai/PathFinderManager.cpp:268:5: warning: variable 'stealth' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:277:6: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:279:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/PathFinderManager.cpp:288:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/PathFinderManager.cpp:298:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/PathFinderManager.cpp:304:6: warning: variable 'safedist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:311:6: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:313:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/PathFinderManager.cpp:323:6: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/ai/PathFinderManager.cpp:323:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/ai/PathFinderManager.cpp:323:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/PathFinderManager.cpp:323:30: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/ai/PathFinderManager.cpp:323:31: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/ai/PathFinderManager.cpp:323:47: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/ai/PathFinderManager.cpp:323:77: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/ai/PathFinderManager.cpp:327:29: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinderManager.cpp:357:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.cpp:359:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/PathFinderManager.h:52:8: warning: accessing fields in struct 'PATHFINDER_REQUEST' is inefficient due to padding; only needs 41 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/ai/PathFinderManager.h:52:8: warning: accessing fields in struct 'PATHFINDER_REQUEST' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/ai/PathFinderManager.h:54:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/PathFinderManager.h:55:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/PathFinderManager.h:56:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/PathFinderManager.h:60:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/ai/PathFinderManager.h:63:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/PathFinderManager.h:63:13: warning: variable 'PATHFINDER_WORKING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.h:64:27: warning: variable 'pr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/PathFinderManager.h:64:27: warning: variable name 'pr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/PathFinderManager.h:67:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:94:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:96:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:96:13: warning: variable 'CHANGE_LEVEL_ICON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:97:14: warning: redundant 'FrameDiff' declaration [readability-redundant-declaration] +Arx/src/ai/Paths.cpp:97:14: warning: variable 'FrameDiff' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:98:13: warning: function 'IsPointInField' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:98:28: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:99:13: warning: variable 'ARXpaths' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:99:13: warning: variable 'ARXpaths' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:99:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:100:14: warning: initialization of 'USE_CINEMATICS_PATH' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/ai/Paths.cpp:100:14: warning: variable 'USE_CINEMATICS_PATH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:101:22: warning: variable 'MasterCamera' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:102:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:102:6: warning: variable 'nbARXpaths' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:103:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:103:6: warning: variable 'USE_CINEMATICS_CAMERA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:105:36: warning: parameter name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:110:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:118:29: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:128:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:136:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:136:38: warning: parameter name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:136:42: warning: 2 adjacent parameters of 'ARX_PATH_IsPosInZone' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/Paths.cpp:136:48: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:136:57: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:136:66: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:138:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:140:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:142:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:144:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:146:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:148:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:150:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:150:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:150:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:150:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:150:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:150:12: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:157:18: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:159:11: warning: variable name 'pi' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:160:11: warning: variable name 'pj' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:164:72: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:170:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:177:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:181:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:187:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:191:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:192:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:196:93: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:201:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:203:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:203:6: warning: variable 'JUST_RELOADED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:205:6: warning: function 'ARX_PATH_UpdateAllZoneInOutInside' has cognitive complexity of 122 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/ai/Paths.cpp:213:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:213:2: warning: variable 'f' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:213:7: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:213:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:219:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:220:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:222:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:222:4: warning: variable 'i' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:222:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:222:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:223:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:226:31: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:226:40: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:227:28: warning: no header providing "SHOW_FLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:228:28: warning: no header providing "SHOW_FLAG_DESTROYED" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:232:16: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:233:16: warning: variable name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:235:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:235:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:235:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:235:38: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/ai/Paths.cpp:241:7: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/ai/Paths.cpp:244:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:244:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:250:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:250:7: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:250:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:254:8: warning: variable 'str' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:259:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:259:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:271:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:271:8: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:271:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:275:9: warning: variable 'params' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:287:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:287:7: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:287:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:291:8: warning: variable 'str' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:301:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:301:7: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:301:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:305:8: warning: variable 'str' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:317:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:323:14: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:324:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/ai/Paths.cpp:324:14: warning: variable name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:324:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/ai/Paths.cpp:324:19: warning: redundant explicit casting to the same type 'ARX_PATH *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/ai/Paths.cpp:326:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:326:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:326:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:326:36: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/ai/Paths.cpp:332:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:332:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:339:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:339:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:339:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:347:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:347:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:351:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:372:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:372:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:372:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:385:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:385:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:385:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:395:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:395:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:395:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:412:20: warning: pass by value and use std::move [modernize-pass-by-value] +Arx/src/ai/Paths.cpp:415:2: warning: 'flags' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/ai/Paths.cpp:415:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:416:2: warning: 'nb_pathways' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/ai/Paths.cpp:417:2: warning: 'pathways' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/ai/Paths.cpp:417:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:418:2: warning: 'height' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/ai/Paths.cpp:420:2: warning: 'rgb' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/ai/Paths.cpp:421:2: warning: 'farclip' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/ai/Paths.cpp:422:2: warning: 'reverb' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/ai/Paths.cpp:423:2: warning: 'amb_max_vol' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/ai/Paths.cpp:424:2: warning: 'bbmin' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/ai/Paths.cpp:425:2: warning: 'bbmax' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/ai/Paths.cpp:430:25: warning: loop variable name 'e' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:432:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:438:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:450:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:453:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:459:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:466:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:468:57: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:469:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:473:7: warning: multilevel pointer conversion from 'ARX_PATH **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/ai/Paths.cpp:473:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:480:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:483:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:489:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:492:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:492:6: warning: function 'ARX_PATHS_Interpolate' has cognitive complexity of 44 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/ai/Paths.cpp:494:13: warning: variable name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:511:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:535:4: warning: variable 'delta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:555:6: warning: variable 'rel' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:556:6: warning: variable 'mull' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:569:4: warning: variable 'delta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:589:6: warning: variable 'rel' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:608:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.cpp:608:19: warning: initialization of 'Thrown' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/ai/Paths.cpp:608:19: warning: variable 'Thrown' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:609:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:609:6: warning: variable 'Thrown_Count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:610:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:611:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:612:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:614:51: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:622:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:628:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:630:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/Paths.cpp:630:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/ai/Paths.cpp:630:30: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:630:31: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/Paths.cpp:631:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:639:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:645:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:658:22: warning: variable 'arrowobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:658:22: warning: variable 'arrowobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:660:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:660:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:660:43: warning: 3 adjacent parameters of 'ARX_THROWN_OBJECT_Throw' of similar type ('Vec3f *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/Paths.cpp:661:30: warning: no header providing "EERIE_QUAT" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:661:49: warning: 3 adjacent parameters of 'ARX_THROWN_OBJECT_Throw' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/Paths.cpp:663:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:663:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:675:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:679:30: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:685:32: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:685:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/Paths.cpp:696:23: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:696:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:705:7: warning: function 'ARX_THROWN_ComputeDamages' has cognitive complexity of 37 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/ai/Paths.cpp:705:33: warning: 2 adjacent parameters of 'ARX_THROWN_ComputeDamages' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/Paths.cpp:705:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:705:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:705:61: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:707:2: warning: variable 'distance_limit' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:713:2: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:720:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/ai/Paths.cpp:720:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:723:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:725:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:725:8: warning: variable 'attack' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:725:16: warning: variable 'dmgs' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:725:22: warning: variable 'backstab' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:725:32: warning: variable 'critical' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:725:42: warning: variable 'ac' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:725:42: warning: variable name 'ac' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:734:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/ai/Paths.cpp:735:24: warning: redundant cast to the same type [google-readability-casting] +Arx/src/ai/Paths.cpp:735:24: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/ai/Paths.cpp:736:67: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:746:68: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:761:8: warning: variable 'absorb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:774:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.cpp:776:2: warning: variable '_amat' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:787:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:794:8: warning: variable 'power' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:797:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/ai/Paths.cpp:797:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:806:2: warning: variable 'chance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:807:2: warning: variable 'dice' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:812:8: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:812:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:830:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:830:2: warning: variable 'px' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:830:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:830:12: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:831:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:831:2: warning: variable 'pz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:831:7: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:831:12: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:833:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:833:2: warning: variable 'ix' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:833:7: warning: variable name 'ix' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:833:29: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/Paths.cpp:834:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:834:2: warning: variable 'ax' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:834:7: warning: variable name 'ax' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:834:48: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/Paths.cpp:835:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:835:2: warning: variable 'iz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:835:7: warning: variable name 'iz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:835:29: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/Paths.cpp:836:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:836:2: warning: variable 'az' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:836:7: warning: variable name 'az' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:836:48: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/Paths.cpp:838:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:838:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:838:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:842:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:844:16: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:871:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:874:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:874:20: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:884:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:884:3: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:884:8: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:899:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:899:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:901:6: warning: function 'ARX_THROWN_OBJECT_Manage' has cognitive complexity of 308 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/ai/Paths.cpp:901:31: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/Paths.cpp:903:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:913:7: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:917:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:917:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:917:9: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:917:9: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:917:13: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:917:13: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:918:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:919:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:921:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:924:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:927:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:930:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:933:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/ai/Paths.cpp:933:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/ai/Paths.cpp:933:26: warning: redundant explicit casting to the same type 'FAST_BKG_DATA *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/ai/Paths.cpp:935:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:939:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:942:4: warning: uninitialized record type: 'mat' [cppcoreguidelines-pro-type-member-init] +Arx/src/ai/Paths.cpp:944:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:944:4: warning: variable 'ccount' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:946:67: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:951:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:951:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:951:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:961:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:964:11: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:973:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:974:12: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:974:41: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:981:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:990:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:996:24: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1033:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1034:5: warning: variable 'mod' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1034:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:1039:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1040:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1042:57: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1045:43: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/ai/Paths.cpp:1049:17: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1053:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:1059:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:1066:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1066:5: warning: variable 'nbact' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1066:18: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1068:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1074:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1076:14: warning: variable name 'v0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1079:18: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1084:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1086:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1091:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.cpp:1094:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1097:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1108:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1110:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1115:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.cpp:1116:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.cpp:1118:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1126:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1127:64: warning: loop induction expression should not have floating-point type [cert-flp30-c] +Arx/src/ai/Paths.cpp:1147:12: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1148:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1153:64: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1155:13: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/ai/Paths.cpp:1155:13: warning: variable 'vid' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1155:25: warning: narrowing conversion from 'unsigned short' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1156:13: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1156:19: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1156:23: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1173:13: warning: variable 'damages' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1173:55: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1189:34: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1194:23: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1205:34: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1207:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1213:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1216:21: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1231:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1231:43: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1238:21: warning: 2 adjacent parameters of 'Create' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/Paths.cpp:1248:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1255:2: warning: variable 'col' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1256:2: warning: variable 'size' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1257:2: warning: variable 'taille' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1262:26: warning: 7 adjacent parameters of 'AddRubanDef' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/Paths.cpp:1262:65: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1262:74: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1262:83: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1263:32: warning: parameter name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1263:42: warning: parameter name 'g2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1263:52: warning: parameter name 'b2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1265:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1282:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1286:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1292:29: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1313:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:1313:7: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1341:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:1341:6: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1341:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1341:10: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1343:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1355:45: warning: 5 adjacent parameters of 'DrawRuban' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/Paths.cpp:1355:60: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1355:69: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1355:78: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1356:30: warning: parameter name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1356:40: warning: parameter name 'g2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1356:50: warning: parameter name 'b2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1358:6: warning: variable 'numsuiv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1360:2: warning: variable 'dsize' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1360:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:1361:6: warning: variable name 'r1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1361:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:1362:6: warning: variable name 'g1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1362:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:1363:6: warning: variable name 'b1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1363:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:1364:2: warning: variable 'rr2' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1364:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:1365:2: warning: variable 'gg2' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1365:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:1366:2: warning: variable 'bb2' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1366:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:1367:2: warning: variable 'dr' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1367:6: warning: variable name 'dr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1368:2: warning: variable 'dg' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1368:6: warning: variable name 'dg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1369:2: warning: variable 'db' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1369:6: warning: variable name 'db' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1418:20: warning: variable 'LAST_COLLISION_POLY' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:1418:20: warning: variable 'LAST_COLLISION_POLY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:1418:20: warning: variable 'LAST_COLLISION_POLY' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:1418:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:1419:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1419:13: warning: variable 'CUR_COLLISION_MATERIAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:1421:7: warning: variable 'VELOCITY_THRESHOLD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.cpp:1423:39: warning: 4 adjacent parameters of 'ARX_ApplySpring' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/Paths.cpp:1423:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1423:44: warning: parameter name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1423:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1423:52: warning: parameter name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1426:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:1429:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:1429:8: warning: variable 'Dterm' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1429:15: warning: variable 'Hterm' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1431:2: warning: variable 'restlength' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1440:10: warning: no header providing "dot" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1450:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1450:42: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1458:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1460:14: warning: variable name 'pv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1483:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1483:12: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1491:60: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1497:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:1497:13: warning: variable 'source' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1497:23: warning: variable 'target' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1497:33: warning: variable 'accum1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1497:43: warning: variable 'accum2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1497:53: warning: variable 'accum3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1497:63: warning: variable 'accum4' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1498:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:1498:8: warning: variable 'halfDeltaT' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1498:20: warning: variable 'sixthDeltaT' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1502:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.cpp:1504:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1507:3: warning: undefined behavior, destination object type 'PHYSVERT[32]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/ai/Paths.cpp:1507:3: warning: undefined behavior, source object type 'PHYSVERT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/ai/Paths.cpp:1513:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1533:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1543:3: warning: variable 'dv' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1543:9: warning: variable name 'dv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1546:3: warning: variable 'dp' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1546:9: warning: variable name 'dp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1553:13: warning: function 'IsPointInField' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:1555:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/ai/Paths.cpp:1562:5: warning: no header providing "EERIE_CYLINDER" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1577:13: warning: function 'IsObjectInField' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:1579:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/ai/Paths.cpp:1590:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1591:17: warning: variable name 'pv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1604:13: warning: function 'IsObjectVertexCollidingPoly' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:1604:72: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1605:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1605:46: warning: parameter name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1605:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1607:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.cpp:1622:11: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/ai/Paths.cpp:1635:13: warning: function 'IsFULLObjectVertexInValidPosition' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:1635:13: warning: function 'IsFULLObjectVertexInValidPosition' has cognitive complexity of 95 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/ai/Paths.cpp:1637:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1638:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1638:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:1638:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1638:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1638:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1638:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1639:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1639:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1640:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1641:2: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1641:8: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1642:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1643:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1643:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:1643:7: warning: variable 'ix' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1643:7: warning: variable name 'ix' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1643:11: warning: variable 'iz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1643:11: warning: variable name 'iz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1643:15: warning: variable 'ax' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1643:15: warning: variable name 'ax' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1643:19: warning: variable 'az' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1643:19: warning: variable name 'az' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1644:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1644:7: warning: variable 'n' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1644:7: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1645:6: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:1646:10: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/Paths.cpp:1647:19: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/Paths.cpp:1648:38: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/Paths.cpp:1649:19: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/Paths.cpp:1650:38: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/ai/Paths.cpp:1651:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:1652:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1652:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1653:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1653:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1655:2: warning: variable 'rad' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1657:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1662:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1673:70: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1676:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1678:7: warning: variable 'radd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1690:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1690:60: warning: no header providing "MATERIAL_METAL" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1691:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1691:64: warning: no header providing "MATERIAL_WOOD" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1692:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1692:40: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/ai/Paths.cpp:1692:65: warning: no header providing "MATERIAL_STONE" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1693:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1693:66: warning: no header providing "MATERIAL_GRAVEL" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1694:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1694:65: warning: no header providing "MATERIAL_WATER" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1695:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1695:65: warning: no header providing "MATERIAL_EARTH" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1696:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1702:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1706:9: warning: variable 'pos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1718:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1719:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1720:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1720:42: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/ai/Paths.cpp:1721:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1722:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1723:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1724:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1733:51: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.cpp:1738:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1739:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1740:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1740:39: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/ai/Paths.cpp:1741:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1742:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1743:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1744:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1755:13: warning: function 'ARX_EERIE_PHYSICS_BOX_Compute' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:1755:13: warning: function 'ARX_EERIE_PHYSICS_BOX_Compute' has cognitive complexity of 32 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/ai/Paths.cpp:1755:62: warning: 2 adjacent parameters of 'ARX_EERIE_PHYSICS_BOX_Compute' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/Paths.cpp:1755:79: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1757:13: warning: variable 'pv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1757:13: warning: variable name 'pv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1758:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.cpp:1759:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1762:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1768:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1769:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1771:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1772:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1774:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1775:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1786:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1806:3: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1811:58: warning: no header providing "IO_BODY_CHUNK" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:1814:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1820:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1834:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1838:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1838:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1858:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/ai/Paths.cpp:1858:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1865:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1865:69: warning: 2 adjacent parameters of 'ARX_PHYSICS_BOX_ApplyModel' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/ai/Paths.cpp:1865:83: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1868:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1870:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1872:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1874:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1876:13: warning: variable 'pv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1876:13: warning: variable name 'pv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1879:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1885:2: warning: variable 't_threshold' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:1892:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/ai/Paths.cpp:1899:82: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1909:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1917:33: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:1917:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1923:6: warning: function 'ARX_PrepareBackgroundNRMLs' has cognitive complexity of 153 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/ai/Paths.cpp:1925:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1925:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:1925:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1925:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1925:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1925:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1925:13: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1925:13: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1925:16: warning: variable 'mai' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1925:21: warning: variable 'maj' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1925:26: warning: variable 'mii' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1925:31: warning: variable 'mij' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1926:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1926:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/ai/Paths.cpp:1926:7: warning: variable 'i2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1926:7: warning: variable name 'i2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1926:11: warning: variable 'j2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1926:11: warning: variable name 'j2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1926:15: warning: variable 'k2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1926:15: warning: variable name 'k2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1927:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1927:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1928:19: warning: variable 'eg2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1929:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1929:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1930:14: warning: variable 'ep2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1933:8: warning: variable 'count' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1934:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1934:7: warning: variable 'nbvert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1935:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1935:7: warning: variable 'nbvert2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1937:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1942:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1942:14: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:1946:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1947:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1972:6: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/ai/Paths.cpp:1972:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1974:6: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/ai/Paths.cpp:1974:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1976:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1978:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1980:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1985:13: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1989:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1990:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1992:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:2036:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:2041:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:2041:14: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:2045:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:2046:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:2052:11: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:2054:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:2064:46: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.cpp:2065:51: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:2065:63: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:2066:19: warning: no header providing "GFLAG_NO_PHYS_IO_COL" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.h:65: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:71:8: warning: accessing fields in struct 'ARX_PATHWAY' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/ai/Paths.h:78:6: warning: enum 'PathFlag' 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:86:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:86:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:86:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/ai/Paths.h:86:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/ai/Paths.h:88:8: warning: accessing fields in struct 'ARX_PATH' is inefficient due to padding; only needs 196 bytes but is using 200 bytes [altera-struct-pack-align] +Arx/src/ai/Paths.h:88:8: warning: accessing fields in struct 'ARX_PATH' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/ai/Paths.h:96:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:99:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:115: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/ai/Paths.h:125:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:125:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:125:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/ai/Paths.h:125:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/ai/Paths.h:127:8: warning: accessing fields in struct 'ARX_USE_PATH' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/ai/Paths.h:127:8: warning: constructor does not initialize these fields: path, _starttime, _curtime, lastWP [cppcoreguidelines-pro-type-member-init] +Arx/src/ai/Paths.h:133:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:136:8: warning: accessing fields in struct 'MASTER_CAMERA_STRUCT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/ai/Paths.h:137:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:146:6: warning: enum 'PathMod' 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:154:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:154:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:154:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/ai/Paths.h:154:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/ai/Paths.h:156:29: warning: variable 'MasterCamera' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.h:157:21: warning: variable 'USE_CINEMATICS_PATH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.h:158:20: warning: variable 'ARXpaths' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.h:158:20: warning: variable 'ARXpaths' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.h:165:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:165:13: warning: variable 'USE_CINEMATICS_CAMERA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.h:166:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:166:13: warning: variable 'nbARXpaths' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.h:169:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:169:38: warning: parameter name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:169:48: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:169:57: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:169:66: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:177:34: warning: parameter name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:178:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:180:6: warning: enum 'ThrownObjectFlag' 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:187:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:187:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:187:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/ai/Paths.h:187:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/ai/Paths.h:189:8: warning: accessing fields in struct 'ARX_THROWN_OBJECT' is inefficient due to padding; only needs 112 bytes but is using 120 bytes [altera-struct-pack-align] +Arx/src/ai/Paths.h:189:8: warning: accessing fields in struct 'ARX_THROWN_OBJECT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/ai/Paths.h:189:8: warning: constructor does not initialize these fields: quat, velocity, damages, obj, source, creation_time, poisonous, pRuban [cppcoreguidelines-pro-type-member-init] +Arx/src/ai/Paths.h:199:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:200:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/Paths.h:207:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.h:207:26: warning: variable 'Thrown' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.h:208:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:208:13: warning: variable 'Thrown_Count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/ai/Paths.h:210:7: warning: constructor does not initialize these fields: key, duration, currduration, iNumThrow, nbrubandef [cppcoreguidelines-pro-type-member-init] +Arx/src/ai/Paths.h:214:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/ai/Paths.h:219:9: warning: accessing fields in struct 'T_RUBAN' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/ai/Paths.h:219:9: warning: constructor does not initialize these fields: actif, next [cppcoreguidelines-pro-type-member-init] +Arx/src/ai/Paths.h:224:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.h:226:9: warning: accessing fields in struct 'T_RUBAN_DEF' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/ai/Paths.h:236:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/ai/Paths.h:238:19: warning: redundant void argument list in function declaration [modernize-redundant-void-arg] +Arx/src/ai/Paths.h:239:22: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:240:53: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:240:62: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:240:71: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:240:80: warning: parameter name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:240:90: warning: parameter name 'g2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:240:100: warning: parameter name 'b2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:244:58: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:244:67: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:244:76: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:244:85: warning: parameter name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:244:95: warning: parameter name 'g2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:244:105: warning: parameter name 'b2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:245:7: warning: function 'CRuban::Create' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/ai/Paths.h:251:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:252:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:252:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:254:31: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/Paths.h:255:46: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/ai/Paths.h:255:96: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:255:129: warning: use nullptr [modernize-use-nullptr] +Arx/src/ai/Paths.h:257:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.h:257:83: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:101:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:107:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:107:6: warning: variable 'MAX_LLIGHTS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:109:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:109:21: warning: variable 'TCAM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:110:24: warning: redundant 'QuakeFx' declaration [readability-redundant-declaration] +Arx/src/animation/Animation.cpp:110:24: warning: variable 'QuakeFx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:111:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:111:13: warning: variable 'INTER_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:112:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:112:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:113:14: warning: variable 'ulBKGColor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:114:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:114:13: warning: variable 'ZMAPMODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:116:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:116:13: warning: initialization of 'animations' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/animation/Animation.cpp:116:13: warning: variable 'animations' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:118:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:118:16: warning: initialization of 'LATERDRAWHALO' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/animation/Animation.cpp:118:16: warning: variable 'LATERDRAWHALO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:119:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:119:15: warning: variable 'llights' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:120:14: warning: variable 'BIGQUAT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:120:14: warning: variable 'BIGQUAT' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:121:15: warning: variable 'BIGMAT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:121:15: warning: variable 'BIGMAT' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:122:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:122:7: warning: variable 'dists' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:123:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:123:7: warning: variable 'values' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:124:7: warning: variable 'vdist' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:125:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:125:6: warning: variable 'MUST_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:126:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:126:6: warning: variable 'FORCE_NO_HIDE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:127:24: warning: variable 'grps' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:127:24: warning: variable 'grps' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:128:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:128:6: warning: variable 'TRAP_DETECT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:129:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:129:6: warning: variable 'TRAP_SECRET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:130:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:130:6: warning: variable 'USEINTERNORM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:131:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:131:6: warning: variable 'HALOCUR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:133:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:133:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:135:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:135:23: warning: initialization of 'tTexturedVertexTab2' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/animation/Animation.cpp:135:23: warning: variable 'tTexturedVertexTab2' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:135:23: warning: variable 'tTexturedVertexTab2' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:137:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:137:13: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:138:49: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:138:53: warning: 2 adjacent parameters of 'EERIE_ANIM_Get_Scale_Invisibility' of similar type ('float &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/animation/Animation.cpp:144:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:147:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:147:4: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:151:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/Animation.cpp:151:22: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/Animation.cpp:152:24: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/Animation.cpp:152:24: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/Animation.cpp:154:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:155:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:171:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Animation.cpp:171:36: warning: parameter name 'ah' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:171:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:173:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:175:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/animation/Animation.cpp:175:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:177:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:179:8: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:179:25: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/Animation.cpp:182:9: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/animation/Animation.cpp:184:8: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Animation.cpp:186:4: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:186:10: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:188:13: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:188:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:188:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:195:26: warning: parameter name 'au' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:198:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:204:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:215:30: warning: initializer for member 'path' is redundant [readability-redundant-member-init] +Arx/src/animation/Animation.cpp:217:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:219:2: warning: 'locks' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Animation.cpp:224:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/animation/Animation.cpp:226:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:228:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:230:9: warning: multilevel pointer conversion from 'EERIE_ANIM **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/animation/Animation.cpp:230:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:239:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:245:22: warning: function 'EERIE_ANIMMANAGER_GetHandle' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:247:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/animation/Animation.cpp:253:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:256:13: warning: function 'EERIE_ANIMMANAGER_AddAltAnim' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:256:56: warning: parameter name 'ah' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:262:9: warning: variable 'FileSize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:275:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:275:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/Animation.cpp:275:29: warning: 'ah->anims' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/animation/Animation.cpp:275:29: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/Animation.cpp:275:37: warning: multilevel pointer conversion from 'EERIE_ANIM **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/animation/Animation.cpp:299:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/animation/Animation.cpp:305:10: warning: variable 'FileSize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:308:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:311:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:311:25: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/Animation.cpp:311:40: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/animation/Animation.cpp:318:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:328:28: warning: use std::to_string instead of boost::lexical_cast [boost-use-to-string] +Arx/src/animation/Animation.cpp:334:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:339:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:339:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:341:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:342:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:350:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:352:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:352:4: warning: variable 'totsize' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:354:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/animation/Animation.cpp:354:72: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/animation/Animation.cpp:365:50: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:365:64: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:375:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:375:3: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:390:6: warning: function 'PrepareAnim' has cognitive complexity of 112 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/Animation.cpp:390:55: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/Animation.cpp:391:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:393:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:393:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/Animation.cpp:393:7: warning: variable 'tcf' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:393:11: warning: variable 'tnf' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:394:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:394:7: warning: variable 'fr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:394:7: warning: variable name 'fr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:395:8: warning: variable 'pour' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:396:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:396:7: warning: variable 'tim' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:399:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:402:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:404:29: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:404:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:406:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:408:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:409:17: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:414:7: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:416:18: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:427:6: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:429:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:429:4: warning: variable 'lost' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:429:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:429:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:431:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:433:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:433:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:433:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:433:14: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:436:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:445:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:446:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:451:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:456:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/animation/Animation.cpp:460:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:464:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:464:4: warning: variable 'lost' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:464:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:464:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:466:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:471:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:472:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:476:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:481:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/animation/Animation.cpp:485:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:485:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:491:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:491:16: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:491:17: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/Animation.cpp:496:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:499:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:500:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:500:7: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:500:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/Animation.cpp:501:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:507:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:509:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:509:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:510:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:510:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:512:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:519:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/Animation.cpp:519:9: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/Animation.cpp:519:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:519:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:519:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:528:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:528:16: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:528:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:530:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:535:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:548:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:548:17: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:550:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:554:79: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:567:10: warning: variable 'DESTROYED_DURING_RENDERING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:567:10: warning: variable 'DESTROYED_DURING_RENDERING' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:567:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:571:24: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:573:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/Animation.cpp:574:33: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:582:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:582:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:584:3: warning: variable 'tim' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:584:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:586:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:587:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:587:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:587:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/Animation.cpp:589:22: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:593:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:593:4: warning: variable 'tt' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:593:9: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:593:14: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:594:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:599:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:599:17: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/animation/Animation.cpp:601:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:601:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:605:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:606:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:606:26: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:610:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:616:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:624:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:626:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:629:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:629:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:631:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:632:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:636:34: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:639:18: warning: initialization of 'TexSpecialColor' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/animation/Animation.cpp:639:18: warning: variable 'TexSpecialColor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:646:30: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/animation/Animation.cpp:647:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:647:27: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/Animation.cpp:647:45: warning: 'pTex->pVertexListCull' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/animation/Animation.cpp:647:45: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/Animation.cpp:660:43: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/animation/Animation.cpp:661:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:661:40: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/Animation.cpp:661:58: warning: 'pTex->pVertexListCull_TNormalTrans' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/animation/Animation.cpp:661:58: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/Animation.cpp:670:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:683:40: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/animation/Animation.cpp:684:37: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:684:37: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/Animation.cpp:684:56: warning: 'pTex->pVertexListCull_TAdditive' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/animation/Animation.cpp:684:56: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/Animation.cpp:693:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:706:44: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/animation/Animation.cpp:707:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:707:41: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/Animation.cpp:707:59: warning: 'pTex->pVertexListCull_TSubstractive' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/animation/Animation.cpp:707:59: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/Animation.cpp:716:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:729:46: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/animation/Animation.cpp:730:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:730:43: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/Animation.cpp:730:61: warning: 'pTex->pVertexListCull_TMultiplicative' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/animation/Animation.cpp:730:61: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/Animation.cpp:739:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:747:13: warning: function 'PopOneTriangleList' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:767:3: warning: variable 'biasResetVal' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:773:13: warning: function 'PopOneTriangleListTransparency' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:835:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:839:5: warning: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] +Arx/src/animation/Animation.cpp:845:35: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:902:7: warning: variable 'INVISIBILITY_OVERRIDE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:905:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:905:66: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:911:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:936:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:936:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:940:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:940:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:951:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:951:13: warning: variable 'FORCE_FRONT_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.cpp:953:6: warning: function 'DrawEERIEInter' has cognitive complexity of 354 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/Animation.cpp:954:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:960:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:970:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:970:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/Animation.cpp:970:8: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:970:8: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:970:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:970:12: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:971:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:972:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:976:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:976:9: warning: variable name 'ok' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:978:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:980:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:982:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/animation/Animation.cpp:982:28: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/Animation.cpp:982:28: warning: redundant explicit casting to the same type 'FAST_BKG_DATA *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/Animation.cpp:990:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:994:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:998:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/Animation.cpp:999:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:1000:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1000:7: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1000:7: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1002:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1002:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/Animation.cpp:1002:7: warning: variable 'lfr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1002:12: warning: variable 'lfg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1002:17: warning: variable 'lfb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1006:8: warning: variable 'invisibility' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1007:8: warning: variable 'scale' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1011:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1015:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1017:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1019:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1022:22: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Animation.cpp:1023:22: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Animation.cpp:1025:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1027:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1030:22: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Animation.cpp:1031:22: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Animation.cpp:1033:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1035:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1038:22: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Animation.cpp:1039:22: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Animation.cpp:1059:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1059:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1065:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1118:36: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1119:39: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1120:3: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/animation/Animation.cpp:1123:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1133:8: warning: variable 'ddist' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1135:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1135:7: warning: variable 'need_halo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1138:29: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1140:3: warning: variable 'mdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1145:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1146:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1152:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1161:22: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1167:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:1167:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1171:21: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1171:33: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1172:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1173:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:1178:22: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1180:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1180:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1186:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:1186:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1188:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:1188:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1194:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1194:37: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1200:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:1200:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1202:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:1202:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1221:22: warning: no header providing "SFX_TYPE_YLSIDE_DEATH" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1223:18: warning: no header providing "SHOW_FLAG_TELEPORTING" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1225:5: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1225:19: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1226:39: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1228:5: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:1228:25: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1228:26: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1228:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1229:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1229:22: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1234:5: warning: variable 'elapsed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1234:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1234:38: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1239:7: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1244:7: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1264:22: warning: slicing object from type 'Color4' to 'Color3' discards 4 bytes of state [cppcoreguidelines-slicing] +Arx/src/animation/Animation.cpp:1265:21: warning: variable name 'sp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1268:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1283:27: warning: no header providing "SFX_TYPE_INCINERATE" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1287:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1316:8: warning: variable 'prec' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1320:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1320:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:1326:3: warning: variable 'nrm' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1338:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1341:20: warning: variable 'vert_list' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1342:22: warning: variable 'pTex' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1344:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1348:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1351:30: warning: no header providing "IO_ANGULAR" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1351:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1352:57: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1359:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1361:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1449:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1454:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1468:5: warning: variable 'to' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1468:9: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1470:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1472:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1472:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/Animation.cpp:1472:11: warning: variable 'lfr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1472:15: warning: variable 'lfb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1473:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/Animation.cpp:1473:12: warning: variable 'fr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1473:12: warning: variable name 'fr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1473:15: warning: variable 'fb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1473:15: warning: variable name 'fb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1474:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1474:6: warning: variable 'lr' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1474:11: warning: variable name 'lr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1475:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/animation/Animation.cpp:1475:6: warning: variable 'ffr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1475:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1477:12: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1479:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:1479:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1481:6: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:1481:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1488:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1489:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1494:12: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1495:12: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1496:27: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/Animation.cpp:1503:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1505:5: warning: different indentation for 'if' and corresponding 'else' [readability-misleading-indentation] +Arx/src/animation/Animation.cpp:1507:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1521:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1523:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1523:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1523:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1524:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1524:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1524:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1525:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1525:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1525:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1532:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1533:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1533:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1535:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1536:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1536:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1540:2: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/animation/Animation.cpp:1544:24: warning: no header providing "IO_ZMAP" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1545:28: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1557:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/Animation.cpp:1557:22: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Animation.cpp:1558:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/Animation.cpp:1558:22: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Animation.cpp:1560:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.cpp:1564:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1564:13: warning: loop variable name 'o' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1572:16: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/Animation.cpp:1572:23: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Animation.cpp:1578:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1584:10: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1585:10: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1586:10: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1592:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1592:10: warning: variable 'first' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1593:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1593:10: warning: variable 'second' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1594:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1594:10: warning: variable 'third' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1635:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/Animation.cpp:1638:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1638:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1642:6: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/Animation.cpp:1642:6: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/Animation.cpp:1643:6: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/Animation.cpp:1643:6: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/Animation.cpp:1644:6: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/Animation.cpp:1644:6: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/Animation.cpp:1645:6: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/Animation.cpp:1645:6: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/Animation.cpp:1647:6: warning: variable 'siz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1647:53: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Animation.cpp:1653:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1661:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1677:27: warning: no header providing "HALO_NEGATIVE" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1677:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1679:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1694:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1694:16: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Animation.cpp:1695:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1695:16: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Animation.cpp:1696:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1696:16: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Animation.cpp:1697:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1697:16: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Animation.cpp:1703:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1703:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1714:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1715:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1722:33: warning: parameter name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1724:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1724:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1726:2: warning: variable 'threshold' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1727:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1732:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:1732:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1734:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1736:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1743:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/animation/Animation.cpp:1745:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1766:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1767:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1776:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1776:35: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1778:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1779:65: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1782:7: warning: multilevel pointer conversion from 'EERIE_ANIM **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/animation/Animation.cpp:1782:51: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1791:28: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Animation.cpp:1795:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1798:6: warning: function 'EERIE_ANIMMANAGER_ReloadAll' has cognitive complexity of 32 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/Animation.cpp:1800:25: warning: loop variable name 'e' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/animation/Animation.cpp:1803:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/animation/Animation.cpp:1803:26: warning: no header providing "MAX_ANIMS" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:1805:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1808:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/animation/Animation.cpp:1810:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1811:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.cpp:1818:4: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:1819:28: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Animation.h:65:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.h:65:13: warning: variable 'MAX_LLIGHTS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.h:68:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.h:68:13: warning: variable 'HALOCUR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.h:69:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.h:69:23: warning: variable 'LATERDRAWHALO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.h:70:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Animation.h:70:22: warning: variable 'llights' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Animation.h:72:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.h:72:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.h:76:33: warning: parameter name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.h:87:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.h:87:66: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.h:90:92: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/Animation.h:90:121: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.h:92:89: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.h:92:120: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Animation.h:94:79: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Animation.h:94:110: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:46:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/animation/AnimationRender.cpp:90:17: warning: variable 'grps' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:90:17: warning: variable 'grps' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:90:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:91:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:91:13: warning: variable 'max_grps' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:91:13: warning: variable 'max_grps' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:92:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:92:13: warning: variable 'FORCE_NO_HIDE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:93:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:93:13: warning: variable 'USEINTERNORM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:94:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:94:13: warning: variable 'INTER_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:96:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:96:14: warning: variable 'dists' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:97:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:97:13: warning: variable 'BH_MODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:98:12: warning: variable 'iHighLight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:100:25: warning: variable 'TexSpecialColor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:102:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:102:13: warning: variable 'TSU_TEST_NB' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:103:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:103:13: warning: variable 'TSU_TEST_NB_LIGHT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:111:20: warning: function 'Cedric_ResetBoundingBox' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:111:53: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:120:14: warning: variable 'INVISIBILITY_OVERRIDE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:121:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:121:13: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:122:13: warning: function 'Cedric_GetScale' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:122:13: warning: function 'Cedric_GetScale' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/AnimationRender.cpp:122:29: warning: 2 adjacent parameters of 'Cedric_GetScale' of similar type ('float &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/animation/AnimationRender.cpp:122:75: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:128:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:132:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:132:4: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:138:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:138:22: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/AnimationRender.cpp:138:76: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:138:76: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/AnimationRender.cpp:140:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:141:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:155:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:166:13: warning: function 'Cedric_GetTime' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:166:51: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:173:37: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:180:19: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/animation/AnimationRender.cpp:189:13: warning: function 'Cedric_AnimCalcTranslation' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:189:13: warning: function 'Cedric_AnimCalcTranslation' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/AnimationRender.cpp:189:49: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:198:19: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:200:16: warning: variable 'eanim' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:211:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:213:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:217:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:230:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:231:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:249:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:251:31: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:251:38: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/AnimationRender.cpp:251:51: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:251:58: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/AnimationRender.cpp:262:20: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:265:30: warning: no header providing "GFLAG_ELEVATOR" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:276:13: warning: function 'Cedric_AnimateObject' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:276:13: warning: function 'Cedric_AnimateObject' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/AnimationRender.cpp:276:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:278:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:278:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:278:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:278:12: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:278:12: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:281:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:283:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:283:3: warning: uninitialized record type: 't' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:283:3: warning: uninitialized record type: 'temp' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:283:15: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:303:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:315:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:316:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:319:7: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:323:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:329:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:355:13: warning: function 'Cedric_ConcatenateTM' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:355:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:357:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:357:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:359:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:364:3: warning: uninitialized record type: 'qt2' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:390:5: warning: uninitialized record type: 'mat' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:392:11: warning: variable name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:405:5: warning: variable 'vt1' of type 'Anglef' (aka 'Angle') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:422:29: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:423:19: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:424:29: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:427:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:429:6: warning: variable 'v' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:429:6: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:431:16: warning: variable 'inVert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:432:17: warning: variable 'outVert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:435:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:437:3: warning: uninitialized record type: 'matrix' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:440:3: warning: variable 'vector' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:490:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:496:28: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:498:32: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:505:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:510:17: warning: variable 'DESTROYED_DURING_RENDERING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:510:17: warning: variable 'DESTROYED_DURING_RENDERING' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:511:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:511:6: warning: variable 'special_color_flag' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:512:1: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:512:9: warning: initialization of 'special_color' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/animation/AnimationRender.cpp:512:9: warning: variable 'special_color' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:513:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:513:13: warning: variable 'TRAP_DETECT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:514:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:514:13: warning: variable 'TRAP_SECRET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:515:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:515:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:517:14: warning: variable 'GLOBAL_LIGHT_FACTOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:520:13: warning: function 'Cedric_ApplyLighting' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:520:13: warning: function 'Cedric_ApplyLighting' has cognitive complexity of 266 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/AnimationRender.cpp:520:83: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:523:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:523:9: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:523:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:523:12: warning: variable 'v' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:523:12: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:523:15: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:523:15: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:524:9: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:525:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:543:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/AnimationRender.cpp:543:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:547:22: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:547:35: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:549:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:551:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/AnimationRender.cpp:551:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:554:22: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:556:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:556:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:562:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/AnimationRender.cpp:562:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:564:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/AnimationRender.cpp:564:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:570:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:570:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:575:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:576:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:604:21: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:612:22: warning: no header providing "SFX_TYPE_YLSIDE_DEATH" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:614:20: warning: no header providing "SHOW_FLAG_TELEPORTING" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:617:5: warning: variable 'fTime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:617:19: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:618:39: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:620:5: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/animation/AnimationRender.cpp:620:25: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:620:26: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:620:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:621:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:621:22: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:628:5: warning: variable 'elapsed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:628:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:628:38: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:634:7: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:642:7: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:657:22: warning: slicing object from type 'Color4' to 'Color3' discards 4 bytes of state [cppcoreguidelines-slicing] +Arx/src/animation/AnimationRender.cpp:658:21: warning: variable name 'sp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:661:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:676:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:676:8: warning: variable 'nn' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:676:13: warning: variable name 'nn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:693:27: warning: no header providing "SFX_TYPE_INCINERATE" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:697:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:699:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:708:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:710:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:732:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:750:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:756:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:764:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:778:13: warning: variable 'posVert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:779:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:779:13: warning: variable 'r' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:779:13: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:779:16: warning: variable 'g' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:779:16: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:779:19: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:779:19: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:780:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:780:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:780:10: warning: variable 'ir' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:780:10: warning: variable name 'ir' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:780:14: warning: variable 'ig' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:780:14: warning: variable name 'ig' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:780:18: warning: variable 'ib' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:780:18: warning: variable name 'ib' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:814:13: warning: variable 'cosangle' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:815:7: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:818:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:822:8: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:822:14: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:824:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:826:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:834:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:861:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:862:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:863:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:865:67: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:875:4: warning: uninitialized record type: 'qt1' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:877:4: warning: uninitialized record type: 'matrix' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:886:19: warning: variable 'inVert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:888:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:888:13: warning: variable 'r' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:888:13: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:888:16: warning: variable 'g' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:888:16: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:888:19: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:888:19: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:889:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:889:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:889:10: warning: variable 'ir' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:889:10: warning: variable name 'ir' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:889:14: warning: variable 'ig' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:889:14: warning: variable name 'ig' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:889:18: warning: variable 'ib' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:889:18: warning: variable name 'ib' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:891:15: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:891:15: warning: do not use C-style cast to downcast from a base to a derived class [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/AnimationRender.cpp:914:13: warning: variable name 'tl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:916:7: warning: variable 'dista' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:930:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:934:10: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:934:16: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:936:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:938:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:948:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:983:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:984:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:985:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:987:67: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:996:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:997:18: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/AnimationRender.cpp:997:55: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/AnimationRender.cpp:998:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/AnimationRender.cpp:999:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/AnimationRender.cpp:999:54: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/AnimationRender.cpp:1002:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1004:3: warning: uninitialized record type: 'qt1' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:1009:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1009:13: warning: loop variable name 'v' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1011:18: warning: variable 'inVert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1013:14: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1013:14: warning: do not use C-style cast to downcast from a base to a derived class [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/AnimationRender.cpp:1093:8: warning: variable 'fTransp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1103:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/animation/AnimationRender.cpp:1221:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1221:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1221:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1221:58: warning: parameter name 'tw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1324:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:1342:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1342:6: warning: variable 'FORCE_FRONT_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:1345:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1345:13: warning: variable 'IN_BOOK_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:1348:13: warning: function 'Cedric_RenderObject' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1348:13: warning: function 'Cedric_RenderObject' has cognitive complexity of 222 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/AnimationRender.cpp:1348:82: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1355:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1355:18: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1356:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1356:18: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1357:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1357:18: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1358:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1358:18: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1361:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1365:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1365:7: warning: variable 'need_halo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1369:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:1370:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:1371:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:1372:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:1377:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1389:27: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1389:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1398:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1407:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1411:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1422:4: warning: variable 'mdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1429:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1431:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1439:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1449:21: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1449:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:1452:17: warning: variable 'eface' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1453:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1453:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:1457:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1461:4: warning: variable 'nrm' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1473:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1476:23: warning: variable 'pTex' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1478:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1482:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1513:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1513:13: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1542:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1544:21: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:1545:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1545:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1545:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1545:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1545:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1546:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1546:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1546:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1546:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1546:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1547:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1547:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1547:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1547:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1547:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1552:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1584:31: warning: no header providing "IO_ZMAP" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1586:31: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:1593:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1593:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:1593:10: warning: variable 'lfr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1593:15: warning: variable 'lfg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1593:20: warning: variable 'lfb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1594:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:1594:11: warning: variable 'ffr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1594:16: warning: variable 'ffg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1594:21: warning: variable 'ffb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1596:5: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:1599:5: warning: undefined behavior, destination object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1599:5: warning: undefined behavior, source object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1602:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1602:10: warning: variable 'max_c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1604:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1606:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1609:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1611:6: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/animation/AnimationRender.cpp:1611:6: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/animation/AnimationRender.cpp:1619:10: warning: undefined behavior, destination object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1619:10: warning: undefined behavior, source object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1622:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1626:9: warning: undefined behavior, destination object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1626:9: warning: undefined behavior, source object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1636:9: warning: undefined behavior, destination object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1636:9: warning: undefined behavior, source object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1639:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1647:9: warning: undefined behavior, destination object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1647:9: warning: undefined behavior, source object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1650:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1658:9: warning: undefined behavior, destination object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1658:9: warning: undefined behavior, source object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1661:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1668:23: warning: variable 'workon' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1671:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1671:11: warning: variable 'o' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1671:11: warning: variable name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1675:7: warning: variable 'tttz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1676:29: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1676:29: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/AnimationRender.cpp:1679:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1680:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1687:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:1688:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:1689:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:1690:21: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:1696:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1696:12: warning: variable 'first' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1697:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1697:12: warning: variable 'second' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1698:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1698:12: warning: variable 'third' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1740:8: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:1743:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1743:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1747:8: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1747:8: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1748:8: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1748:8: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1749:8: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1749:8: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1750:8: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1750:8: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1752:47: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/AnimationRender.cpp:1754:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1761:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1770:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1778:14: warning: variable 'valll' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1783:8: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/AnimationRender.cpp:1783:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1800:28: warning: no header providing "HALO_NEGATIVE" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1800:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1802:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1808:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1808:15: warning: loop variable name 'o' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1821:22: warning: variable 'tv2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1825:5: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1825:5: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/animation/AnimationRender.cpp:1834:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1836:3: warning: uninitialized record type: 'tquat' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:1838:3: warning: uninitialized record type: 'q2' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:1838:14: warning: variable name 'q2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1849:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1852:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1861:48: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1863:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1871:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1873:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1873:4: warning: variable 'i' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1873:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1877:5: warning: uninitialized record type: 'quat1' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:1888:13: warning: function 'Cedric_IO_Visible' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1888:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1889:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1893:83: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1896:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1896:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:1896:8: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1896:8: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1896:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1896:12: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1897:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:1898:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:1902:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1902:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1903:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1905:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/animation/AnimationRender.cpp:1905:28: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1905:28: warning: redundant explicit casting to the same type 'FAST_BKG_DATA *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/AnimationRender.cpp:1907:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1918:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1918:13: warning: variable 'MUST_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:1919:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:1919:13: warning: redundant 'EXTERNALVIEW' declaration [readability-redundant-declaration] +Arx/src/animation/AnimationRender.cpp:1919:13: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:1922:6: warning: function 'Cedric_AnimateDrawEntity' has cognitive complexity of 71 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/AnimationRender.cpp:1926:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:1930:12: warning: variable 'invisibility' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1931:12: warning: variable 'scale' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1932:11: warning: variable 'timm' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1934:17: warning: variable 'obj' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:1951:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:1951:10: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/AnimationRender.cpp:1951:27: warning: 'grps' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/animation/AnimationRender.cpp:1951:27: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/AnimationRender.cpp:1975:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:1985:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2001:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2001:20: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2002:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2002:20: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2003:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2003:20: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2004:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2004:20: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2009:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2016:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/animation/AnimationRender.cpp:2016:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2016:21: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/AnimationRender.cpp:2017:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/animation/AnimationRender.cpp:2017:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2017:26: warning: redundant explicit casting to the same type 'EERIE_3DOBJ *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/AnimationRender.cpp:2041:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2047:52: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:2047:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2056:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2059:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2059:11: warning: variable name 'll' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2062:6: warning: uninitialized record type: 'quat' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:2067:6: warning: uninitialized record type: 'matrix' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:2073:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2085:6: warning: function 'MakeCLight' has cognitive complexity of 60 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/AnimationRender.cpp:2085:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2095:8: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2097:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2099:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2102:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2104:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2112:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2120:29: warning: no header providing "IO_ANGULAR" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:2120:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2123:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2124:2: warning: uninitialized record type: 'qInvert' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:2126:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:2132:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:2147:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2149:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2164:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:2164:10: warning: variable 'r' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2164:10: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2164:13: warning: variable 'g' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2164:13: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2164:16: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2164:16: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2165:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2165:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:2165:9: warning: variable 'ir' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2165:9: warning: variable name 'ir' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2165:13: warning: variable 'ig' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2165:13: warning: variable name 'ig' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2165:17: warning: variable 'ib' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2165:17: warning: variable name 'ib' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2180:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2180:14: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2186:12: warning: variable 'cosangle' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2201:7: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2204:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2208:8: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2208:14: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2210:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2212:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2221:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2227:10: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2228:10: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2229:10: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2242:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2243:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2244:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2245:38: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:2249:6: warning: function 'MakeCLight2' has cognitive complexity of 53 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/AnimationRender.cpp:2249:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2249:141: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2249:146: warning: parameter name 'ii' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2252:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2253:2: warning: uninitialized record type: 'qInvert' [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/AnimationRender.cpp:2255:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:2261:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/AnimationRender.cpp:2275:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2277:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2286:8: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2288:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2290:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2293:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2293:11: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2302:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2302:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2307:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/animation/AnimationRender.cpp:2307:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2309:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:2309:9: warning: variable 'r' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2309:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2309:12: warning: variable 'g' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2309:12: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2309:15: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2309:15: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2310:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2310:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:2310:8: warning: variable 'ir' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2310:8: warning: variable name 'ir' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2310:12: warning: variable 'ig' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2310:12: warning: variable name 'ig' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2310:16: warning: variable 'ib' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2310:16: warning: variable name 'ib' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2325:12: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2331:11: warning: variable 'cosangle' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2332:5: warning: variable 'oolength' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2345:6: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2348:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2352:7: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2352:13: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2354:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2356:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2365:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2371:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2372:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2373:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2383:20: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2384:20: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2385:20: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2386:42: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:2391:6: warning: function 'ApplyDynLight' has cognitive complexity of 46 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/AnimationRender.cpp:2391:32: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2393:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2393:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:2393:7: warning: variable 'nbvert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2393:15: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2393:15: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2395:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2396:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2400:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2407:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2407:7: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2407:7: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2409:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2410:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2411:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2415:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2415:3: warning: variable 'c' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2415:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2416:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2417:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2418:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2423:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2442:5: warning: variable 'v' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2442:11: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2449:11: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2453:6: warning: variable 'divd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2454:12: warning: variable 'nvalue' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2456:12: warning: variable name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2460:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2461:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2481:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2486:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2486:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:2486:7: warning: variable 'lepr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2486:13: warning: variable 'lepg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2486:19: warning: variable 'lepb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2490:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2491:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2492:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2493:22: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:2501:45: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2501:72: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2501:96: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2501:120: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2501:144: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2503:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2503:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:2503:7: warning: variable 'nbvert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2503:15: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2503:15: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2505:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2506:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2523:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2523:7: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2523:7: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2524:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2525:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2526:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2530:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2530:3: warning: variable 'c' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2530:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2531:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2531:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2531:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2532:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2532:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2532:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2533:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2533:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2533:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2538:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2542:10: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2546:11: warning: variable 'nvalue' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2572:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2578:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2578:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:2578:7: warning: variable 'lepr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2578:13: warning: variable 'lepg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2578:19: warning: variable 'lepb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2580:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2581:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2582:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2583:47: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:2587:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2588:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2589:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2590:47: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:2595:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2596:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2597:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2598:47: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:2605:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2606:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2607:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2608:48: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:2615:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2615:20: warning: variable 'tilelights' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/AnimationRender.cpp:2618:47: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2618:51: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2618:57: warning: parameter name '_x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2618:61: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2618:67: warning: parameter name '_y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2618:94: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2618:118: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2618:142: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2618:166: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2624:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2624:2: warning: variable 'nbvert' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2644:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2644:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:2644:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2644:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2644:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2644:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2645:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2646:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2647:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/AnimationRender.cpp:2651:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2651:3: warning: variable 'c' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:2651:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2652:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2652:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2652:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2653:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2653:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2653:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2654:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2654:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2654:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2659:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2664:10: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.cpp:2668:11: warning: variable 'nvalue' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2696:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2702:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2702:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/AnimationRender.cpp:2702:7: warning: variable 'lepr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2702:13: warning: variable 'lepg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2702:19: warning: variable 'lepb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2704:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2705:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2706:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2707:47: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:2711:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2712:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2713:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2714:47: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:2719:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2720:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2721:21: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2722:47: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.cpp:2729:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2730:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2731:22: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:2732:48: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/animation/AnimationRender.h:57:109: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.h:59:40: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/animation/AnimationRender.h:61:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.h:62:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/AnimationRender.h:62:141: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.h:62:146: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:47:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/src/animation/Cinematic.cpp:61:1: warning: included header Texture.h is not used directly [misc-include-cleaner] +Arx/src/animation/Cinematic.cpp:67:9: warning: macro 'WIDTHS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/animation/Cinematic.cpp:68:9: warning: macro 'HEIGHTS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/animation/Cinematic.cpp:70:9: warning: function-like macro 'ADJUSTX' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/animation/Cinematic.cpp:70:92: warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/animation/Cinematic.cpp:71:9: warning: function-like macro 'ADJUSTY' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/animation/Cinematic.cpp:71:95: warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/animation/Cinematic.cpp:75:14: warning: initialization of 'Camera' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/animation/Cinematic.cpp:75:14: warning: variable 'Camera' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:76:12: warning: variable 'LargeurRender' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Cinematic.cpp:76:12: warning: variable 'LargeurRender' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:76:27: warning: variable 'HauteurRender' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Cinematic.cpp:76:27: warning: variable 'HauteurRender' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:78:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Cinematic.cpp:78:16: warning: initialization of 'AllTLVertex' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/animation/Cinematic.cpp:78:16: warning: variable 'AllTLVertex' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:80:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Cinematic.cpp:80:14: warning: variable 'DreamTable' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:82:7: warning: initialization of 'KeyTemp' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/animation/Cinematic.cpp:82:7: warning: variable 'KeyTemp' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:84:13: warning: variable 'FlashBlancEnCours' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Cinematic.cpp:84:13: warning: variable 'FlashBlancEnCours' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:85:14: warning: variable 'OldSpeedFlashBlanc' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Cinematic.cpp:85:14: warning: variable 'OldSpeedFlashBlanc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:86:12: warning: variable 'OldColorFlashBlanc' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Cinematic.cpp:86:12: warning: variable 'OldColorFlashBlanc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:88:14: warning: variable 'FlashAlpha' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:89:14: warning: variable 'SpecialFadeDx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:90:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Cinematic.cpp:90:13: warning: variable 'DANAESIZX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:91:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Cinematic.cpp:91:13: warning: variable 'DANAESIZY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:93:1: warning: constructor does not initialize these fields: angz, angzsuiv, a, fxsuiv, force, color, colord, colorflash, speed, colorchoose, colorchoosed, colorflashchoose, angzgrille, angzgrillesuiv, speedtrack, flTime [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/Cinematic.cpp:93:26: warning: parameter name '_w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:93:34: warning: parameter name '_h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:98:2: warning: 'numbitmap' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.cpp:99:2: warning: 'numbitmapsuiv' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.cpp:100:2: warning: 'fx' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.cpp:101:2: warning: 'changekey' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.cpp:102:2: warning: 'idsound' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.cpp:103:2: warning: 'key' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.cpp:103:8: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/animation/Cinematic.cpp:103:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Cinematic.cpp:104:2: warning: 'projectload' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.cpp:106:2: warning: 'speedchoose' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.cpp:108:2: warning: 'm_flIntensityRND' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.cpp:116:18: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/animation/Cinematic.cpp:116:31: warning: 6 adjacent parameters of 'FillKeyTemp' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/animation/Cinematic.cpp:116:37: warning: parameter name 'az' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:116:78: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Cinematic.cpp:116:84: warning: parameter name 'ti' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:116:111: warning: 4 adjacent parameters of 'FillKeyTemp' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/animation/Cinematic.cpp:116:149: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Cinematic.cpp:116:205: warning: 2 adjacent parameters of 'FillKeyTemp' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/animation/Cinematic.cpp:166:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Cinematic.cpp:188:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Cinematic.cpp:195:100: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Cinematic.cpp:197:102: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Cinematic.cpp:211:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/animation/Cinematic.cpp:211:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/animation/Cinematic.cpp:211:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/animation/Cinematic.cpp:220:17: warning: method 'InitDeviceObjects' can be made static [readability-convert-member-functions-to-static] +Arx/src/animation/Cinematic.cpp:233:17: warning: method 'DeleteDeviceObjects' can be made static [readability-convert-member-functions-to-static] +Arx/src/animation/Cinematic.cpp:253:14: warning: variable 'LightRND' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Cinematic.cpp:253:14: warning: variable 'LightRND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:255:47: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:255:50: warning: 2 adjacent parameters of 'CalculLight' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/animation/Cinematic.cpp:255:56: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:257:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/animation/Cinematic.cpp:257:8: warning: variable name 'ra' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:257:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:257:20: warning: call to 'sqrt' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Cinematic.cpp:260:10: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Cinematic.cpp:262:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/animation/Cinematic.cpp:273:9: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:274:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:275:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:276:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:277:10: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Cinematic.cpp:281:14: warning: initialization of 'LocalPos' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/animation/Cinematic.cpp:281:14: warning: variable 'LocalPos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Cinematic.cpp:281:14: warning: variable 'LocalPos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:282:14: warning: variable 'LocalSin' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Cinematic.cpp:282:14: warning: variable 'LocalSin' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:282:24: warning: variable 'LocalCos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Cinematic.cpp:282:24: warning: variable 'LocalCos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Cinematic.cpp:290:6: warning: function 'DrawGrille' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/Cinematic.cpp:290:41: warning: 2 adjacent parameters of 'DrawGrille' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/animation/Cinematic.cpp:290:54: warning: parameter name 'fx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:292:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:293:10: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:297:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:297:20: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Cinematic.cpp:298:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:298:20: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/Cinematic.cpp:309:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:329:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:377:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/animation/Cinematic.cpp:381:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Cinematic.cpp:383:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Cinematic.cpp:397:17: warning: function 'Render' has cognitive complexity of 74 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/Cinematic.cpp:399:20: warning: variable 'tb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Cinematic.cpp:399:20: warning: variable name 'tb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:401:18: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Cinematic.cpp:402:18: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Cinematic.cpp:454:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Cinematic.cpp:456:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Cinematic.cpp:474:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:478:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Cinematic.cpp:480:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Cinematic.cpp:480:26: warning: narrowing conversion from constant value 4278190080 (0xFF000000) of type 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Cinematic.cpp:484:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/Cinematic.cpp:484:27: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.cpp:484:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Cinematic.cpp:490:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:491:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:494:4: warning: variable 'flIntensityRNDToReach' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Cinematic.cpp:496:54: 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/animation/Cinematic.cpp:500:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/Cinematic.cpp:500:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Cinematic.cpp:505:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Cinematic.cpp:510:4: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/animation/Cinematic.cpp:519:5: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/animation/Cinematic.cpp:527:12: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/animation/Cinematic.cpp:531:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Cinematic.cpp:537:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:538:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:541:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/Cinematic.cpp:541:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Cinematic.cpp:546:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Cinematic.cpp:578:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:578:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Cinematic.cpp:580:4: warning: switch has 3 consecutive identical branches [bugprone-branch-clone] +Arx/src/animation/Cinematic.h:55:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/animation/Cinematic.h:55:9: warning: macro 'FX_FADEIN' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/Cinematic.h:55:9: warning: macro 'FX_FADEIN' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/animation/Cinematic.h:56:9: warning: macro 'FX_FADEOUT' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/Cinematic.h:56:9: warning: macro 'FX_FADEOUT' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/animation/Cinematic.h:57:9: warning: macro 'FX_BLUR' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/Cinematic.h:57:9: warning: macro 'FX_BLUR' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/animation/Cinematic.h:59:9: warning: macro 'FX_DREAM' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/Cinematic.h:61:9: warning: macro 'FX_FLASH' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/Cinematic.h:62:9: warning: macro 'FX_APPEAR' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/Cinematic.h:63:9: warning: macro 'FX_APPEAR2' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/Cinematic.h:65:9: warning: macro 'FX_LIGHT' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/Cinematic.h:85:2: warning: constructor does not initialize these fields: prev [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/Cinematic.h:86:3: warning: 'pos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.h:87:3: warning: 'fallin' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.h:88:3: warning: 'fallout' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.h:90:3: warning: 'intensity' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.h:91:3: warning: 'intensiternd' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.h:92:3: warning: 'next' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.h:92:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Cinematic.h:97: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/animation/Cinematic.h:97:7: warning: class 'Cinematic' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/animation/Cinematic.h:112:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Cinematic.h:113:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Cinematic.h:114:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Cinematic.h:136:15: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/animation/Cinematic.h:141:7: warning: function 'Cinematic::Render' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/animation/Cinematic.h:148:54: warning: parameter name 'fx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.h:149:6: warning: function 'FillKeyTemp' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/animation/Cinematic.h:149:37: warning: parameter name 'az' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.h:149:78: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Cinematic.h:149:84: warning: parameter name 'ti' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Cinematic.h:149:149: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/CinematicKeyframer.cpp:53:9: warning: macro 'C_MIN_F32' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/animation/CinematicKeyframer.cpp:54:9: warning: function-like macro 'C_NEQUAL_F32' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/animation/CinematicKeyframer.cpp:54:35: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/animation/CinematicKeyframer.cpp:54:38: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/animation/CinematicKeyframer.cpp:58:12: warning: using decl 'memcpy' is unused [misc-unused-using-decls] +Arx/src/animation/CinematicKeyframer.cpp:62:18: warning: variable 'CKTrack' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/CinematicKeyframer.cpp:62:18: warning: variable 'CKTrack' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/CinematicKeyframer.cpp:65:21: warning: parameter name 'sf' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:65:25: warning: 2 adjacent parameters of 'AllocTrack' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/animation/CinematicKeyframer.cpp:65:29: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:67:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:69:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:69:12: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/CinematicKeyframer.cpp:69:30: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/animation/CinematicKeyframer.cpp:71:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:78:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/CinematicKeyframer.cpp:91:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/CinematicKeyframer.cpp:96:16: warning: function 'SearchAndMoveKey' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/CinematicKeyframer.cpp:96:37: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:98:7: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:98:7: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:99:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:99:10: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:106:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:116:11: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:116:28: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:122:23: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:124:7: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:124:7: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:125:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:125:10: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:127:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:127:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/CinematicKeyframer.cpp:144:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/CinematicKeyframer.cpp:150:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:150:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:150:10: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:150:14: warning: variable 'klightprev' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:150:27: warning: variable 'klightnext' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:150:40: warning: variable 'klightprev2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:150:54: warning: variable 'klightnext2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:151:7: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:218:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:236:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:243:24: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/animation/CinematicKeyframer.cpp:245:10: warning: variable 'kk' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:245:10: warning: variable name 'kk' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:246:7: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:246:7: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:261:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:261:10: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:262:8: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:264:89: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:271:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:271:23: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/CinematicKeyframer.cpp:271:32: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/animation/CinematicKeyframer.cpp:275:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:275:19: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/CinematicKeyframer.cpp:275:28: warning: 'CKTrack->key' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/animation/CinematicKeyframer.cpp:275:28: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/CinematicKeyframer.cpp:284:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:310:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:312:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:314:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:320:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:326:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:328:2: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/CinematicKeyframer.cpp:328:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:330:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/CinematicKeyframer.cpp:346:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:346:10: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:347:8: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:349:89: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:356:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:356:23: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/CinematicKeyframer.cpp:356:32: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/animation/CinematicKeyframer.cpp:360:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:360:19: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/animation/CinematicKeyframer.cpp:360:28: warning: 'CKTrack->key' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/animation/CinematicKeyframer.cpp:360:28: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/CinematicKeyframer.cpp:388:20: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:390:7: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:390:7: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:391:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:391:10: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:393:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:393:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/CinematicKeyframer.cpp:410:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/CinematicKeyframer.cpp:413:35: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:413:44: warning: parameter name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:415:8: warning: variable 'da' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:415:8: warning: variable name 'da' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:419:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/animation/CinematicKeyframer.cpp:421:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:422:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:428:6: warning: function 'GereTrack' has cognitive complexity of 34 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/CinematicKeyframer.cpp:428:28: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:430:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:430:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:430:10: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:430:14: warning: variable 'ksuiv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:431:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:431:8: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:431:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:431:11: warning: variable 'unmoinsa' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:432:7: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:433:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:433:10: warning: variable 'kprec' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:433:18: warning: variable 'ksuivsuiv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:434:8: warning: variable 't1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:8: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:434:12: warning: variable 't2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:12: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:434:16: warning: variable 't3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:16: warning: variable name 't3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:434:20: warning: variable 'f0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:20: warning: variable name 'f0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:434:24: warning: variable 'f1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:24: warning: variable name 'f1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:434:28: warning: variable 'f2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:28: warning: variable name 'f2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:434:32: warning: variable 'f3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:32: warning: variable name 'f3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:434:36: warning: variable 'p0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:36: warning: variable name 'p0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:434:40: warning: variable 'p1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:40: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:434:44: warning: variable 'temp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:435:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:435:10: warning: variable 'lightprec' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:435:22: warning: variable 'lightnext' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:437:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:439:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:441:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:444:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:445:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:445:49: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:446:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:477:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:477:62: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:479:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/CinematicKeyframer.cpp:479:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:516:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/animation/CinematicKeyframer.cpp:540:5: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/animation/CinematicKeyframer.cpp:549:5: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/animation/CinematicKeyframer.cpp:606:5: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/animation/CinematicKeyframer.cpp:615:5: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/animation/CinematicKeyframer.cpp:638:25: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:638:25: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/CinematicKeyframer.cpp:638:58: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:638:102: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:638:102: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/animation/CinematicKeyframer.cpp:640:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:642:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:643:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/CinematicKeyframer.cpp:650:6: warning: function 'GereTrackNoPlay' has cognitive complexity of 35 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/animation/CinematicKeyframer.cpp:650:34: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:652:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:652:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:652:10: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:652:14: warning: variable 'ksuiv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:653:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:653:8: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:653:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:653:11: warning: variable 'unmoinsa' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:654:7: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:655:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:655:10: warning: variable 'kprec' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:655:18: warning: variable 'ksuivsuiv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:656:8: warning: variable 't1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:8: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:656:12: warning: variable 't2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:12: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:656:16: warning: variable 't3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:16: warning: variable name 't3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:656:20: warning: variable 'f0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:20: warning: variable name 'f0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:656:24: warning: variable 'f1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:24: warning: variable name 'f1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:656:28: warning: variable 'f2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:28: warning: variable name 'f2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:656:32: warning: variable 'f3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:32: warning: variable name 'f3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:656:36: warning: variable 'p0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:36: warning: variable name 'p0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:656:40: warning: variable 'p1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:40: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:656:44: warning: variable 'temp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:657:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:657:10: warning: variable 'lightprec' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:657:22: warning: variable 'lightnext' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:659:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:661:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:663:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:667:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:668:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:668:49: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:669:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:700:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:700:62: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:702:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/CinematicKeyframer.cpp:702:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:739:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:741:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/animation/CinematicKeyframer.cpp:766:5: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/animation/CinematicKeyframer.cpp:775:5: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/animation/CinematicKeyframer.cpp:831:5: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/animation/CinematicKeyframer.cpp:840:5: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/animation/CinematicKeyframer.cpp:866:28: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:868:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:874:21: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/animation/CinematicKeyframer.cpp:876:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:878:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:883:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:885:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:886:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:886:10: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:886:29: warning: variable 'ksuiv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:887:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.cpp:892:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:899:19: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/animation/CinematicKeyframer.cpp:901:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:906:17: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/animation/CinematicKeyframer.cpp:908:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:913:19: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/animation/CinematicKeyframer.cpp:915:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:922:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:924:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.cpp:924:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/CinematicKeyframer.h:50:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/animation/CinematicKeyframer.h:50:9: warning: macro 'INTERP_NO' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/CinematicKeyframer.h:50:23: warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/animation/CinematicKeyframer.h:51:9: warning: macro 'INTERP_BEZIER' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/CinematicKeyframer.h:51:9: warning: macro 'INTERP_BEZIER' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/animation/CinematicKeyframer.h:52:9: warning: macro 'INTERP_LINEAR' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/animation/CinematicKeyframer.h:52:9: warning: macro 'INTERP_LINEAR' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/animation/CinematicKeyframer.h:54:8: warning: accessing fields in struct 'C_KEY' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/animation/CinematicKeyframer.h:54:8: warning: constructor does not initialize these fields: frame, numbitmap, fx, typeinterp, force, angz, color, colord, colorf, speed, angzgrille, speedtrack, idsound [cppcoreguidelines-pro-type-member-init] +Arx/src/animation/CinematicKeyframer.h:59:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/CinematicKeyframer.h:75:8: warning: accessing fields in struct 'CinematicTrack' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/animation/CinematicKeyframer.h:86:21: warning: parameter name 'sf' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.h:86:29: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.h:89:28: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.h:91:28: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.h:96:34: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.h:99:20: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/CinematicKeyframer.h:100:23: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Intro.cpp:68:12: warning: using decl 'min' is unused [misc-unused-using-decls] +Arx/src/animation/Intro.cpp:69:12: warning: using decl 'max' is unused [misc-unused-using-decls] +Arx/src/animation/Intro.cpp:71:14: warning: variable 'PROGRESS_BAR_TOTAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:72:14: warning: variable 'PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:73:14: warning: variable 'OLD_PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:75:27: warning: variable 'FISHTANK_img' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Intro.cpp:75:27: warning: variable 'FISHTANK_img' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:75:27: warning: variable 'FISHTANK_img' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:75:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:76:27: warning: variable 'ARKANE_img' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Intro.cpp:76:27: warning: variable 'ARKANE_img' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:76:27: warning: variable 'ARKANE_img' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:76:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:83:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:86:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:90:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:94:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:99:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:104:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:107:13: warning: function 'DrawCenteredImage' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Intro.cpp:107:50: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Intro.cpp:108:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Intro.cpp:108:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Intro.cpp:109:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Intro.cpp:109:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Intro.cpp:110:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Intro.cpp:111:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Intro.cpp:117:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:145:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Intro.cpp:145:13: warning: variable 'lastloadednum' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Intro.cpp:145:13: warning: variable 'lastloadednum' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:146:27: warning: variable 'tc' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Intro.cpp:146:27: warning: variable 'tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:146:27: warning: variable 'tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:146:27: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Intro.cpp:146:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:147:27: warning: variable 'pbar' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Intro.cpp:147:27: warning: variable 'pbar' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:147:27: warning: variable 'pbar' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:147:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:148:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Intro.cpp:148:13: warning: variable 'nopbar' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Intro.cpp:148:13: warning: variable 'nopbar' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:149:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Intro.cpp:149:13: warning: variable 'lastnum' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Intro.cpp:149:13: warning: variable 'lastnum' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/animation/Intro.cpp:151:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Intro.cpp:155:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:171:9: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/animation/Intro.cpp:183:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Intro.cpp:184:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Intro.cpp:205:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/animation/Intro.cpp:207:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Intro.cpp:208:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/animation/Intro.cpp:208:9: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Intro.cpp:210:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/animation/Intro.cpp:214:3: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Intro.cpp:219:4: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/animation/Intro.cpp:221:21: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Intro.cpp:221:51: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Intro.cpp:228:4: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Intro.cpp:228:10: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Intro.cpp:228:15: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Intro.cpp:229:4: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Intro.cpp:229:10: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/animation/Intro.cpp:229:15: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Intro.cpp:229:30: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/Intro.cpp:230:4: warning: variable 'px2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Intro.cpp:231:4: warning: variable 'py2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:69:1: warning: included header Configure.h is not used directly [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:71:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:83:14: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:83:18: warning: 'AMBIANCE_FILE_SIGNATURE' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/audio/Ambiance.cpp:84:18: warning: 'AMBIANCE_FILE_VERSION_1001' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/audio/Ambiance.cpp:85:18: warning: 'AMBIANCE_FILE_VERSION_1002' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/audio/Ambiance.cpp:86:18: warning: 'AMBIANCE_FILE_VERSION_1003' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/audio/Ambiance.cpp:87:18: warning: 'AMBIANCE_FILE_VERSION' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/audio/Ambiance.cpp:89:8: warning: accessing fields in struct 'KeySetting' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/audio/Ambiance.cpp:92: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:99:8: warning: use default member initializer for 'min' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:99:13: warning: use default member initializer for 'max' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:100:8: warning: use default member initializer for 'from' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:100:14: warning: use default member initializer for 'to' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:100:18: warning: use default member initializer for 'cur' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:101:11: warning: use default member initializer for 'interval' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:102:6: warning: use default member initializer for 'tupdate' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:105:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Ambiance.cpp:110:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/audio/Ambiance.cpp:110:3: warning: no header providing "f32" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:110:7: warning: variable '_min' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:110:13: warning: variable '_max' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:111:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/audio/Ambiance.cpp:111:7: warning: variable '_interval' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:111:18: warning: variable '_flags' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:142:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/Ambiance.cpp:144:15: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:159:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/Ambiance.cpp:159:34: warning: narrowing conversion from 'unsigned int' to 'float' [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:167:8: warning: accessing fields in struct 'TrackKey' is inefficient due to padding; only needs 228 bytes but is using 232 bytes [altera-struct-pack-align] +Arx/src/audio/Ambiance.cpp:167:8: warning: accessing fields in struct 'TrackKey' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/audio/Ambiance.cpp:169:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:169:9: warning: use default member initializer for 'start' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:170:9: warning: use default member initializer for 'n_start' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:171:9: warning: use default member initializer for 'loop' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:172:11: warning: use default member initializer for 'delay_min' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:172:22: warning: use default member initializer for 'delay_max' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:173:11: warning: use default member initializer for 'delay' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:185:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/audio/Ambiance.cpp:185:7: warning: variable '_start' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:185:15: warning: variable '_loop' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:185:22: warning: variable '_delay_min' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:185:34: warning: variable '_delay_max' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:185:46: warning: variable '_flags' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:221:6: warning: enum 'aalAmbianceFlag' 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:229:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Ambiance.cpp:229:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Ambiance.cpp:229:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/audio/Ambiance.cpp:229:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/audio/Ambiance.cpp:231:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/Ambiance.cpp:233:18: warning: accessing fields in struct 'Track' is inefficient due to padding; only needs 96 bytes but is using 112 bytes [altera-struct-pack-align] +Arx/src/audio/Ambiance.cpp:233:18: warning: accessing fields in struct 'Track' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/audio/Ambiance.cpp:233:18: warning: class 'Track' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/Ambiance.cpp:235: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:245:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/Ambiance.cpp:246:14: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:250:4: warning: no header providing "audio::SampleId" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:250:4: warning: variable 'sid' of type 'SampleId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:251:4: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:263:2: warning: no header providing "audio::SourceId" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:271:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/audio/Ambiance.cpp:271:15: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:276:9: warning: use default member initializer for 'loopc' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:277:9: warning: use default member initializer for 'queued' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.cpp:280:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Ambiance.cpp:288:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/Ambiance.cpp:298:2: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:302:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Ambiance.cpp:302:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Ambiance.cpp:302:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/audio/Ambiance.cpp:302:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/audio/Ambiance.cpp:309:3: warning: no header providing "audio::Channel" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:312:19: warning: no header providing "audio::FLAG_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:312:33: warning: no header providing "audio::FLAG_PITCH" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:312:46: warning: no header providing "audio::FLAG_RELATIVE" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:323:21: warning: no header providing "audio::FLAG_POSITION" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:328:47: warning: no header providing "audio::FLAG_REVERBERATION" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:330:21: warning: no header providing "audio::FLAG_PAN" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:340:32: warning: no header providing "audio::UNIT_BYTES" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:348:4: warning: variable 'toqueue' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:384:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:421:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:454:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:454:26: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Ambiance.cpp:460:24: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:477:30: warning: 2 adjacent parameters of 'update' of similar type ('size_t') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/audio/Ambiance.cpp:491:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/audio/Ambiance.cpp:501:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:510:40: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:514:52: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:515:52: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:516:52: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:522:36: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:527:17: warning: function 'loadString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/Ambiance.cpp:531:17: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:532:7: warning: variable 'c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:532:7: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Ambiance.cpp:533:39: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:534:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/Ambiance.cpp:546:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:549:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:550:29: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/audio/Ambiance.cpp:555:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/audio/Ambiance.cpp:561:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:567:6: warning: variable 'iflags' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:568:6: warning: variable 'key_c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:599:1: warning: constructor does not initialize these fields: fade_time, fade_interval, fade_max [cppcoreguidelines-pro-type-member-init] +Arx/src/audio/Ambiance.cpp:601:31: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:601:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Ambiance.cpp:602:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Ambiance.cpp:612:10: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:615:2: warning: variable 'file' of type 'boost::scoped_ptr' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:621:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/audio/Ambiance.cpp:621:6: warning: variable 'magic' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:621:13: warning: variable 'version' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:628:10: warning: no header providing "audio::AAL_ERROR_FORMAT" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:632:6: warning: variable 'nbtracks' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:636:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:638:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:658:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:676:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:676:2: warning: variable 'track' of type 'TrackList::iterator' (aka '__normal_iterator>>') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:710:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/Ambiance.cpp:711:5: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:714:20: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/audio/Ambiance.cpp:715:15: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/audio/Ambiance.cpp:720:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:724:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:748:10: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:765:5: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:774:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:788:10: warning: no header providing "audio::AAL_ERROR" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:792:9: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:794:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:811:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.cpp:822:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:823:9: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:834:2: warning: variable 'interval' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:835:10: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:840:5: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:841:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:859:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/audio/Ambiance.h:57: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:57:7: warning: class 'Ambiance' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/Ambiance.h:66:2: warning: function 'setUserData' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Ambiance.h:67:2: warning: function 'getUserData' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Ambiance.h:67:2: warning: function 'getUserData' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Ambiance.h:69:2: warning: function 'getChannel' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Ambiance.h:70:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Ambiance.h:74:2: warning: function 'isPaused' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Ambiance.h:74:2: warning: function 'isPaused' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Ambiance.h:75:2: warning: function 'isPlaying' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Ambiance.h:75:2: warning: function 'isPlaying' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Ambiance.h:76:2: warning: function 'isIdle' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Ambiance.h:76:2: warning: function 'isIdle' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Ambiance.h:77:2: warning: function 'isLooped' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Ambiance.h:77:2: warning: function 'isLooped' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Ambiance.h:86:11: warning: function 'audio::Ambiance::muteTrack' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Ambiance.h:89:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/audio/Ambiance.h:93: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/Ambiance.h:99:7: 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/audio/Ambiance.h:105:9: warning: use default member initializer for 'status' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.h:106:7: warning: use default member initializer for 'loop' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.h:107:7: warning: use default member initializer for 'fade' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.h:111:6: warning: use default member initializer for 'start' [modernize-use-default-member-init] +Arx/src/audio/Ambiance.h:111:13: warning: use default member initializer for 'time' [modernize-use-default-member-init] +Arx/src/audio/Audio.cpp:68:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:73:15: warning: 'mutex' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/audio/Audio.cpp:73:15: warning: variable 'mutex' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/Audio.cpp:73:15: warning: variable 'mutex' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/Audio.cpp:73:23: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:73:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Audio.cpp:76:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:83:23: warning: no header providing "audio::DEFAULT_STREAMLIMIT" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:85:2: warning: variable 'autoBackend' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:86:19: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:89:3: warning: variable 'first' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:97:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/audio/Audio.cpp:139:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:155:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Audio.cpp:161:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Audio.cpp:172:9: warning: function-like macro 'AAL_ENTRY_V' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/audio/Audio.cpp:178:25: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:180:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:189:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:198:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:207:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:216:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:223:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:228:31: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/audio/Audio.cpp:239:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Audio.cpp:242:38: warning: no header providing "audio::FLAG_AUTOFREE" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:243:17: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Audio.cpp:250:29: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Audio.cpp:252:19: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Audio.cpp:261:1: warning: no header providing "audio::MixerId" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:263:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:263:14: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:265:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/audio/Audio.cpp:267:2: warning: variable 'id' of type 'MixerId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:267:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Audio.cpp:275:1: warning: no header providing "audio::SampleId" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:277:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:279:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/audio/Audio.cpp:282:29: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/audio/Audio.cpp:291:1: warning: no header providing "audio::AmbianceId" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:293:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:295:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/audio/Audio.cpp:297:31: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/audio/Audio.cpp:305:1: warning: no header providing "audio::EnvId" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:307:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:309:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/audio/Audio.cpp:311:26: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/audio/Audio.cpp:323:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:325:2: warning: variable 's_id' of type 'SampleId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:327:10: warning: no header providing "audio::AAL_ERROR_HANDLE" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:337:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:346:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:349:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Audio.cpp:349:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Audio.cpp:350:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'AmbianceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Audio.cpp:359:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:362:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Audio.cpp:362:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Audio.cpp:363:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'EnvId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +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:376:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Audio.cpp:379:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Audio.cpp:380:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'AmbianceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +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:402:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:411:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:418:36: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:420:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:425:66: warning: parameter name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Audio.cpp:427: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:449:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +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:477:12: warning: no header providing "audio::DEFAULT_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:479:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:494:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:507:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:520:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:533:26: warning: 2 adjacent parameters of 'setSampleVolume' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/audio/Audio.cpp:533:26: warning: no header providing "audio::SourceId" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:535:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:545:25: warning: 2 adjacent parameters of 'setSamplePitch' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +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:559:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:575:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:577:2: warning: variable 's_id' of type 'SampleId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:587:63: warning: no header providing "audio::TimeUnit" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:591:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:593:2: warning: variable 's_id' of type 'SampleId' (aka 'int') 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:613:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:622:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:624:2: warning: variable 's_id' of type 'SampleId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:634:51: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/audio/Audio.cpp:635:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Audio.cpp:636:29: warning: no header providing "audio::FLAG_RESTART" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:638:29: warning: no header providing "audio::FLAG_ENQUEUE" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:651:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Audio.cpp:658:11: warning: no header providing "audio::AAL_ERROR_SYSTEM" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:664:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:679:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +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:712:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:727:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:744:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:757:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:772:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:778:40: warning: no header providing "audio::FLAG_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:789:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:802:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:815:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.h:71:10: warning: function 'audio::setStreamLimit' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:85:10: warning: function 'audio::deleteAmbiance' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:102:66: warning: parameter name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Audio.h:103:10: warning: function 'audio::setListenerEnvironment' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:107:10: warning: function 'audio::setMixerVolume' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:108:10: warning: function 'audio::setMixerParent' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:110:10: warning: function 'audio::getMixerVolume' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:112:10: warning: function 'audio::mixerStop' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:113:10: warning: function 'audio::mixerPause' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:114:10: warning: function 'audio::mixerResume' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:134:10: warning: function 'audio::muteAmbianceTrack' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:136:10: warning: function 'audio::setAmbianceUserData' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:137:10: warning: function 'audio::setAmbianceVolume' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:139:10: warning: function 'audio::getAmbianceName' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:140:10: warning: function 'audio::getAmbianceUserData' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:141:10: warning: function 'audio::getAmbianceVolume' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:142:6: warning: function 'audio::isAmbianceLooped' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:145:10: warning: function 'audio::ambiancePlay' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/Audio.h:146:10: warning: function 'audio::ambianceStop' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/AudioBackend.h:35:7: warning: class 'Backend' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/AudioBackend.h:39:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/audio/AudioBackend.h:74:77: warning: parameter name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioBackend.h:79:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/audio/AudioBackend.h:82:55: warning: parameter name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioBackend.h:84:9: warning: function 'getSampleId' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioBackend.h:85:9: warning: function 'clearSource' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioBackend.h:85:65: warning: narrowing conversion from 'unsigned int' to signed type 'SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/AudioEnvironment.cpp:54:7: warning: no header providing "audio::DEFAULT_ENVIRONMENT_SIZE" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:55:12: warning: no header providing "audio::DEFAULT_ENVIRONMENT_DIFFUSION" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:56:13: warning: no header providing "audio::DEFAULT_ENVIRONMENT_ABSORPTION" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:57:17: warning: no header providing "audio::DEFAULT_ENVIRONMENT_REFLECTION_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:58:16: warning: no header providing "audio::DEFAULT_ENVIRONMENT_REFLECTION_DELAY" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:59:16: warning: no header providing "audio::DEFAULT_ENVIRONMENT_REVERBERATION_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:60:15: warning: no header providing "audio::DEFAULT_ENVIRONMENT_REVERBERATION_DELAY" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:61:15: warning: no header providing "audio::DEFAULT_ENVIRONMENT_REVERBERATION_DECAY" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:62:18: warning: no header providing "audio::DEFAULT_ENVIRONMENT_REVERBERATION_HFDECAY" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:65:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:69:10: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:87:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:56:11: warning: variable 'backend' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:56:11: warning: variable 'backend' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:56:21: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:56:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/AudioGlobal.cpp:59:11: warning: initialization of 'sample_path' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/audio/AudioGlobal.cpp:59:11: warning: variable 'sample_path' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:60:11: warning: initialization of 'ambiance_path' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/audio/AudioGlobal.cpp:60:11: warning: variable 'ambiance_path' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:61:11: warning: initialization of 'environment_path' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/audio/AudioGlobal.cpp:61:11: warning: variable 'environment_path' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:62:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:62:8: warning: variable 'stream_limit_bytes' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:62:29: warning: no header providing "audio::DEFAULT_STREAMLIMIT" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:63:8: warning: variable 'session_time' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:66:1: warning: no header providing "audio::ResourceList" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:66:21: warning: initialization of '_mixer' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/audio/AudioGlobal.cpp:66:21: warning: variable '_mixer' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:67:22: warning: initialization of '_sample' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/audio/AudioGlobal.cpp:67:22: warning: variable '_sample' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:68:24: warning: initialization of '_amb' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/audio/AudioGlobal.cpp:68:24: warning: variable '_amb' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:69:27: warning: initialization of '_env' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/audio/AudioGlobal.cpp:69:27: warning: variable '_env' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.cpp:71:28: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioGlobal.cpp:71:37: warning: no header providing "audio::PCMFormat" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:71:58: warning: no header providing "audio::TimeUnit" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:73:8: warning: no header providing "audio::UNIT_MS" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:74:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/AudioGlobal.cpp:74:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/AudioGlobal.cpp:74:40: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/audio/AudioGlobal.cpp:74:60: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/audio/AudioGlobal.cpp:74:79: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/audio/AudioGlobal.cpp:75:8: warning: no header providing "audio::UNIT_SAMPLES" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:82:28: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioGlobal.cpp:85:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/AudioGlobal.cpp:85:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/AudioGlobal.cpp:85:40: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/audio/AudioGlobal.h:64:20: warning: initialization of 'FLAG_ANY_3D_FX' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/audio/AudioGlobal.h:68:18: warning: variable 'backend' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:68:18: warning: variable 'backend' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:71:18: warning: variable 'sample_path' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:72:18: warning: variable 'ambiance_path' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:73:18: warning: variable 'environment_path' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:74:15: warning: variable 'stream_limit_bytes' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:75:15: warning: variable 'session_time' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:78:28: warning: variable '_mixer' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:79:29: warning: variable '_sample' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:80:31: warning: variable '_amb' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:81:34: warning: variable '_env' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/AudioGlobal.h:84:28: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioGlobal.h:87:28: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioGlobal.h:90:9: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/audio/AudioGlobal.h:90:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/AudioGlobal.h:90:23: warning: call to 'log10' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/audio/AudioGlobal.h:90:39: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/audio/AudioGlobal.h:94:26: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioResource.cpp:52:25: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/AudioResource.cpp:52:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/AudioResource.cpp:65:2: warning: namespace 'audio' ends with an unrecognized comment [llvm-namespace-comment] +Arx/src/audio/AudioResource.h:62:7: warning: class 'ResourceHandle' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/AudioResource.h:67:3: warning: 'reference_count_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/audio/AudioResource.h:69:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/audio/AudioResource.h:71:2: warning: function 'reference' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioResource.h:74:2: warning: function 'dereference' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioResource.h:78:2: warning: function 'isReferenced' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioResource.h:78:13: warning: method 'isReferenced' can be made const [readability-make-member-function-const] +Arx/src/audio/AudioResource.h:89:7: warning: class 'ResourceList' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/AudioResource.h:95:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/audio/AudioResource.h:100:2: warning: function 'isValid' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioResource.h:100:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/AudioResource.h:101:2: warning: function 'operator[]' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioResource.h:102:2: warning: function 'size' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioResource.h:107:2: warning: function 'begin' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioResource.h:108:2: warning: function 'end' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioResource.h:109:34: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioResource.h:113:9: warning: use default member initializer for '_size' [modernize-use-default-member-init] +Arx/src/audio/AudioResource.h:119:57: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/AudioResource.h:129:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioResource.h:133:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/AudioResource.h:137:15: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/audio/AudioResource.h:137:28: warning: multilevel pointer conversion from 'audio::Ambiance **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:137:28: warning: multilevel pointer conversion from 'audio::Environment **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:137:28: warning: multilevel pointer conversion from 'audio::Mixer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:137:28: warning: multilevel pointer conversion from 'audio::OpenALSource **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:137:28: warning: multilevel pointer conversion from 'audio::Sample **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:137:56: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/audio/AudioResource.h:142:9: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/audio/AudioResource.h:144:14: warning: multilevel pointer conversion from 'audio::Ambiance **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:144:14: warning: multilevel pointer conversion from 'audio::Environment **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:144:14: warning: multilevel pointer conversion from 'audio::Mixer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:144:14: warning: multilevel pointer conversion from 'audio::OpenALSource **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:144:14: warning: multilevel pointer conversion from 'audio::Sample **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:144:39: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/audio/AudioResource.h:147:9: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/AudioResource.h:153:5: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/AudioResource.h:158:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/AudioResource.h:172:9: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/audio/AudioResource.h:172:15: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/audio/AudioResource.h:172:28: warning: multilevel pointer conversion from 'audio::Ambiance **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:172:28: warning: multilevel pointer conversion from 'audio::Mixer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:172:28: warning: multilevel pointer conversion from 'audio::OpenALSource **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:172:28: warning: multilevel pointer conversion from 'audio::Sample **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:172:57: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/audio/AudioResource.h:182:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/AudioResource.h:187:12: warning: multilevel pointer conversion from 'audio::Ambiance **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:187:12: warning: multilevel pointer conversion from 'audio::Environment **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:187:12: warning: multilevel pointer conversion from 'audio::Mixer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:187:12: warning: multilevel pointer conversion from 'audio::OpenALSource **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:187:12: warning: multilevel pointer conversion from 'audio::Sample **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/audio/AudioResource.h:187:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/AudioResource.h:191:76: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioResource.h:192:2: warning: variable 'idx' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/AudioSource.cpp:29:39: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:37:47: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:37:60: warning: no header providing "audio::TimeUnit" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:39:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/AudioSource.cpp:41:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioSource.cpp:50: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:50:47: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:54:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:57:10: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:60:2: warning: variable 'ret' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/AudioSource.cpp:86:5: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/audio/AudioSource.cpp:94:34: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioSource.cpp:96:23: warning: no header providing "audio::FLAG_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:97:10: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:105:27: warning: no header providing "audio::MixerId" is directly included [misc-include-cleaner] +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/AudioSource.h:37:7: warning: class 'Source' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/AudioSource.h:37:7: warning: destructor of 'Source' is protected and virtual [cppcoreguidelines-virtual-class-destructor] +Arx/src/audio/AudioSource.h:41:8: warning: class 'Callback' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/AudioSource.h:45:11: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/audio/AudioSource.h:54:7: 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/audio/AudioSource.h:89:2: warning: function 'getTime' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/AudioSource.h:105:2: warning: function 'getId' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioSource.h:105:2: warning: function 'getId' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/AudioSource.h:106:2: warning: function 'getSample' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioSource.h:106:2: warning: function 'getSample' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/AudioSource.h:107:2: warning: function 'getChannel' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioSource.h:107:2: warning: function 'getChannel' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/AudioSource.h:108:2: warning: function 'getStatus' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioSource.h:108:2: warning: function 'getStatus' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/AudioSource.h:109:2: warning: function 'isPlaying' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioSource.h:109:2: warning: function 'isPlaying' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/AudioSource.h:110:2: warning: function 'isIdle' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioSource.h:110:2: warning: function 'isIdle' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/AudioSource.h:124:11: warning: member variable 'id' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/audio/AudioSource.h:126:10: warning: member variable 'channel' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/audio/AudioSource.h:128:11: warning: member variable 'sample' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/audio/AudioSource.h:129:9: warning: member variable 'status' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/audio/AudioSource.h:129:9: warning: use default member initializer for 'status' [modernize-use-default-member-init] +Arx/src/audio/AudioSource.h:131:9: warning: member variable 'time' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/audio/AudioSource.h:131:9: warning: use default member initializer for 'time' [modernize-use-default-member-init] +Arx/src/audio/AudioSource.h:133:2: warning: function 'reset' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/AudioSource.h:145:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/audio/AudioSource.h:147:9: warning: use default member initializer for 'callback_i' [modernize-use-default-member-init] +Arx/src/audio/AudioTypes.h:69: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:85:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioTypes.h:85:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/AudioTypes.h:85:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/audio/AudioTypes.h:85:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/audio/AudioTypes.h:88:6: warning: enum 'TimeUnit' 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:95: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:107:8: warning: accessing fields in struct 'PCMFormat' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/audio/AudioTypes.h:114:8: warning: accessing fields in struct 'SourceCone' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/audio/AudioTypes.h:121:8: warning: accessing fields in struct 'SourceFalloff' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/audio/AudioTypes.h:128:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/audio/AudioTypes.h:129:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/audio/AudioTypes.h:130:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/audio/AudioTypes.h:131:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/audio/AudioTypes.h:132:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/audio/AudioTypes.h:135:8: warning: accessing fields in struct 'Channel' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/audio/AudioTypes.h:135:8: warning: constructor does not initialize these fields: mixer, volume, pitch, pan, cone, falloff [cppcoreguidelines-pro-type-member-init] +Arx/src/audio/Mixer.cpp:46:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/Mixer.cpp:58:9: warning: no header providing "audio::DEFAULT_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/Mixer.cpp:59:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Mixer.cpp:66:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:66:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:67:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:77:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:79:47: warning: no header providing "audio::FLAG_AUTOFREE" is directly included [misc-include-cleaner] +Arx/src/audio/Mixer.cpp:80:17: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:88:31: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/audio/Mixer.cpp:98:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/Mixer.cpp:98:33: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/Mixer.cpp:100:2: warning: variable 'vol' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Mixer.cpp:102:10: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/Mixer.cpp:113:2: warning: variable 'vol' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Mixer.cpp:119:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/Mixer.cpp:120:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:120:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:121:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:125:31: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/audio/Mixer.cpp:143:11: warning: no header providing "audio::AAL_ERROR" is directly included [misc-include-cleaner] +Arx/src/audio/Mixer.cpp:161:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/Mixer.cpp:162:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:177:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/Mixer.cpp:178:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:178:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:179:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:183:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/Mixer.cpp:184:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:184:29: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:185:9: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:189:31: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/audio/Mixer.cpp:206:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/Mixer.cpp:207:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:207:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:208:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:212:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/Mixer.cpp:213:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:213:29: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:214:9: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/Mixer.cpp:218:31: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +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/Mixer.h:51:7: warning: class 'Mixer' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/Mixer.h:61:2: warning: function 'getVolume' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Mixer.h:61:2: warning: function 'getVolume' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Mixer.h:62:2: warning: function 'isPaused' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Mixer.h:62:2: warning: function 'isPaused' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Mixer.h:63:2: warning: function 'getFinalVolume' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Mixer.h:63:2: warning: function 'getFinalVolume' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Mixer.h:74:7: warning: use default member initializer for 'paused' [modernize-use-default-member-init] +Arx/src/audio/Sample.cpp:53:1: warning: constructor does not initialize these fields: format [cppcoreguidelines-pro-type-member-init] +Arx/src/audio/Sample.cpp:53:43: warning: initializer for base class 'ResourceHandle' is redundant [readability-redundant-member-init] +Arx/src/audio/Sample.cpp:53:43: warning: no header providing "audio::ResourceHandle" is directly included [misc-include-cleaner] +Arx/src/audio/Sample.cpp:59:31: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/audio/Sample.cpp:69:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/Sample.cpp:72:10: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/Sample.cpp:77:10: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/Sample.cpp:84:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +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/Sample.h:55:7: warning: class 'Sample' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/Sample.h:60:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/Sample.h:65:2: warning: function 'getName' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Sample.h:65:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Sample.h:66:2: warning: function 'getLength' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Sample.h:66:2: warning: function 'getLength' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Sample.h:67:2: warning: function 'getFormat' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/Sample.h:67:2: warning: function 'getFormat' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/audio/Sample.h:73:9: warning: use default member initializer for 'length' [modernize-use-default-member-init] +Arx/src/audio/Stream.cpp:58:10: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/Stream.cpp:58:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Stream.cpp:68:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Stream.cpp:78:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/Stream.h:57:7: warning: class 'Stream' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/Stream.h:61:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/audio/codec/ADPCM.cpp:55:14: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/audio/codec/ADPCM.cpp:55:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/audio/codec/ADPCM.cpp:61:9: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:61:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/ADPCM.cpp:61:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/ADPCM.cpp:62:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/ADPCM.cpp:62:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/ADPCM.cpp:63:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/ADPCM.cpp:63:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/ADPCM.cpp:63:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/ADPCM.cpp:63:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/ADPCM.cpp:64:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/ADPCM.cpp:65:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/ADPCM.cpp:75:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:75:11: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/ADPCM.cpp:75:12: warning: no header providing "s8" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:85:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:85:11: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/ADPCM.cpp:95:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:95:2: warning: variable 'nb' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:95:9: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/codec/ADPCM.cpp:98:14: warning: no header providing "s16" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:107:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:107:23: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:125:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:140:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/codec/ADPCM.cpp:142:27: 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:149:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:157:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/audio/codec/ADPCM.cpp:158:10: warning: variable 'nRead' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/codec/ADPCM.cpp:159: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:159:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:160:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:175:35: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/codec/ADPCM.cpp:178:2: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:178:2: warning: variable 'old_delta' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:179:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:181:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/audio/codec/ADPCM.cpp:191:2: warning: variable 'predict' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:191:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:191:44: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:205:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:215:5: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:215:5: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/ADPCM.cpp:215:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:215:30: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/ADPCM.cpp:223:27: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/codec/ADPCM.cpp:226:7: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:232:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:232:6: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/ADPCM.cpp:239:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:243:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:246:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:246:6: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/ADPCM.cpp:284:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:284:43: warning: 'signed char' to 'size_t' (aka 'unsigned long') conversion in array subscript; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/audio/codec/ADPCM.cpp:285:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:285:43: warning: 'signed char' to 'size_t' (aka 'unsigned long') conversion in array subscript; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/audio/codec/ADPCM.cpp:286:4: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:286:4: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/ADPCM.h:58:7: warning: class 'CodecADPCM' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/codec/ADPCM.h:58:7: warning: class 'CodecADPCM' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/codec/ADPCM.h:63:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/ADPCM.h:65:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/ADPCM.h:66:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/ADPCM.h:67:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/ADPCM.h:69:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/ADPCM.h:71:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/ADPCM.h:75:7: warning: function 'audio::CodecADPCM::getSample' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/codec/ADPCM.h:80:6: warning: use default member initializer for 'padding' [modernize-use-default-member-init] +Arx/src/audio/codec/ADPCM.h:81:6: warning: use default member initializer for 'shift' [modernize-use-default-member-init] +Arx/src/audio/codec/ADPCM.h:82:6: warning: use default member initializer for 'sample_i' [modernize-use-default-member-init] +Arx/src/audio/codec/ADPCM.h:90:6: warning: use default member initializer for 'nybble_c' [modernize-use-default-member-init] +Arx/src/audio/codec/ADPCM.h:90:16: warning: use default member initializer for 'nybble_i' [modernize-use-default-member-init] +Arx/src/audio/codec/ADPCM.h:91:5: warning: use default member initializer for 'nybble' [modernize-use-default-member-init] +Arx/src/audio/codec/ADPCM.h:92:7: warning: use default member initializer for 'odd' [modernize-use-default-member-init] +Arx/src/audio/codec/ADPCM.h:93:5: warning: use default member initializer for 'cache_c' [modernize-use-default-member-init] +Arx/src/audio/codec/ADPCM.h:93:14: warning: use default member initializer for 'cache_i' [modernize-use-default-member-init] +Arx/src/audio/codec/ADPCM.h:95:9: warning: use default member initializer for 'cursor' [modernize-use-default-member-init] +Arx/src/audio/codec/Codec.h:55:7: warning: class 'Codec' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/codec/Codec.h:59:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/audio/codec/RAW.cpp:51:31: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/codec/RAW.cpp:51:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/RAW.cpp:54:11: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/audio/codec/RAW.cpp:57:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/codec/RAW.cpp:59:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/codec/RAW.cpp:66:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/codec/RAW.cpp:68:27: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/codec/RAW.cpp:69:10: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/codec/RAW.h:56:7: warning: class 'CodecRAW' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/codec/RAW.h:56:7: warning: class 'CodecRAW' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/codec/RAW.h:61:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/RAW.h:63:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/RAW.h:64:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/RAW.h:65:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/RAW.h:67:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/RAW.h:69:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/RAW.h:74:9: warning: use default member initializer for 'cursor' [modernize-use-default-member-init] +Arx/src/audio/codec/WAV.cpp:62:11: warning: function '(anonymous namespace)::ChunkFile::ChunkFile' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/codec/WAV.cpp:64:18: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/audio/codec/WAV.cpp:65:18: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/audio/codec/WAV.cpp:66:24: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/audio/codec/WAV.cpp:68:25: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/audio/codec/WAV.cpp:69:2: warning: function 'size' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/audio/codec/WAV.cpp:69:16: warning: method 'size' can be made const [readability-make-member-function-const] +Arx/src/audio/codec/WAV.cpp:75:9: warning: use default member initializer for 'offset' [modernize-use-default-member-init] +Arx/src/audio/codec/WAV.cpp:97:25: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/codec/WAV.cpp:108:35: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/codec/WAV.cpp:110:22: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/codec/WAV.cpp:112:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/audio/codec/WAV.cpp:112:5: warning: variable name 'cc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/codec/WAV.cpp:114:7: warning: variable '_offset' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/codec/WAV.cpp:122:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/codec/WAV.cpp:130:36: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/codec/WAV.cpp:132:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/audio/codec/WAV.cpp:132:5: warning: variable name 'cc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/codec/WAV.cpp:137:5: warning: function 'memcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare] +Arx/src/audio/codec/WAV.cpp:159:9: warning: function-like macro 'AS_FORMAT_PCM' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/audio/codec/WAV.cpp:159:41: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/audio/codec/WAV.cpp:162:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/WAV.cpp:162:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/WAV.cpp:162:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/codec/WAV.cpp:171:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:174:10: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:179:11: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/audio/codec/WAV.cpp:181:10: warning: no header providing "audio::AAL_ERROR_MEMORY" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:188:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:189:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:190:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:191:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:192:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:193:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:194:10: warning: no header providing "audio::AAL_ERROR_FORMAT" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:198:5: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:201:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:205:16: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/audio/codec/WAV.cpp:205:53: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:210:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/WAV.cpp:210:13: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:210:50: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:218:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:240:5: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:243:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:250:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/WAV.cpp:254:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:266:27: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/codec/WAV.cpp:277:31: warning: no header providing "audio::PCMFormat" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:279:22: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:280:21: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:282: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:282:10: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:284:22: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/codec/WAV.cpp:310:2: warning: variable 'count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/WAV.cpp:312:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/WAV.h:58: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/WAV.h:58:7: warning: class 'StreamWAV' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/codec/WAV.h:63:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/WAV.h:65:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/WAV.h:66:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/WAV.h:68:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/WAV.h:69:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/WAV.h:70:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/WAV.h:71:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/WAV.h:73:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/codec/WAV.h:80:9: warning: use default member initializer for 'size' [modernize-use-default-member-init] +Arx/src/audio/codec/WAV.h:80:15: warning: use default member initializer for 'outsize' [modernize-use-default-member-init] +Arx/src/audio/codec/WAV.h:81:9: warning: use default member initializer for 'offset' [modernize-use-default-member-init] +Arx/src/audio/codec/WAV.h:82:9: warning: use default member initializer for 'cursor' [modernize-use-default-member-init] +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/codec/WAVFormat.h:32:8: warning: accessing fields in struct 'WaveHeader' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/audio/codec/WAVFormat.h:42:8: warning: accessing fields in struct 'ADPCMCoefficientPair' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 4 bytes [altera-struct-pack-align] +Arx/src/audio/codec/WAVFormat.h:47:8: warning: accessing fields in struct 'ADPCMHeader' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/audio/codec/WAVFormat.h:51:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/audio/openal/OpenALBackend.cpp:22:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/openal/OpenALBackend.cpp:44:1: warning: constructor does not initialize these fields: alGenEffects, alDeleteEffects, alEffectf, effect [cppcoreguidelines-pro-type-member-init] +Arx/src/audio/openal/OpenALBackend.cpp:44:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:44:56: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:58:3: warning: no header providing "alcDestroyContext" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:60:3: warning: no header providing "ALenum" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:60:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:60:18: warning: no header providing "alcGetError" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:61:15: warning: no header providing "AL_NO_ERROR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:67:6: warning: no header providing "alcCloseDevice" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:67:32: warning: no header providing "ALC_FALSE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:73:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:76:10: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:80:2: warning: no header providing "alGetError" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:83:11: warning: no header providing "alcOpenDevice" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:83:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:85:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:85:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:87:10: warning: no header providing "audio::AAL_ERROR_SYSTEM" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:90:12: warning: no header providing "alcCreateContext" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:90:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:92:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:96:2: warning: no header providing "alcMakeContextCurrent" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:99:28: warning: no header providing "alcIsExtensionPresent" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:104:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/openal/OpenALBackend.cpp:104:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/openal/OpenALBackend.cpp:104:19: warning: no header providing "LPALGENEFFECTS" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:104:34: warning: no header providing "alGetProcAddress" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:105:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/openal/OpenALBackend.cpp:105:21: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/openal/OpenALBackend.cpp:105:22: warning: no header providing "LPALDELETEEFFECTS" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:106:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/openal/OpenALBackend.cpp:106:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/openal/OpenALBackend.cpp:106:16: warning: no header providing "LPALEFFECTF" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:113:2: warning: no header providing "alDistanceModel" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:113:18: warning: no header providing "AL_INVERSE_DISTANCE_CLAMPED" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:115:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:117:8: warning: no header providing "ALchar" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:117:28: warning: no header providing "alGetString" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:117:40: warning: no header providing "AL_RENDERER" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:118:39: warning: no header providing "AL_VERSION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:119:15: warning: variable 'efx_ver' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALBackend.cpp:137:47: warning: no header providing "AL_VENDOR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:140:44: warning: no header providing "AL_EXTENSIONS" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:141:54: warning: no header providing "ALC_EXTENSIONS" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:143:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:153:38: warning: no header providing "audio::SampleId" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:153:63: warning: no header providing "audio::Channel" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:155:2: warning: variable 's_id' of type 'SampleId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:158:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:163:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:164:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/openal/OpenALBackend.cpp:165:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALBackend.cpp:165:28: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALBackend.cpp:166:11: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/audio/openal/OpenALBackend.cpp:166:34: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALBackend.cpp:171:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/audio/openal/OpenALBackend.cpp:173:2: warning: variable 'index' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:174:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/openal/OpenALBackend.cpp:174:22: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:176:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:179:2: warning: no header providing "audio::SourceId" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:179:2: warning: variable 'id' of type 'SourceId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:179:11: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALBackend.cpp:179:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALBackend.cpp:181:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALBackend.cpp:182:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:192:2: warning: variable 'index' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:193:22: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALBackend.cpp:194:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:197:28: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALBackend.cpp:199:2: warning: variable 'sample' of type 'SampleId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:201:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALBackend.cpp:212:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/openal/OpenALBackend.cpp:213:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALBackend.cpp:214:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALBackend.cpp:221:51: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:224:10: warning: no header providing "audio::AAL_ERROR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:227:2: warning: no header providing "alListener3f" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:227:15: warning: no header providing "AL_POSITION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:228:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:233:83: warning: parameter name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALBackend.cpp:239:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/audio/openal/OpenALBackend.cpp:239:2: warning: no header providing "ALfloat" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:240:2: warning: no header providing "alListenerfv" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:240:15: warning: no header providing "AL_ORIENTATION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:241:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:247:9: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/audio/openal/OpenALBackend.cpp:247:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/openal/OpenALBackend.cpp:251:9: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/audio/openal/OpenALBackend.cpp:251:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/openal/OpenALBackend.cpp:254:70: warning: parameter name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALBackend.cpp:256:9: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/audio/openal/OpenALBackend.cpp:256:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/openal/OpenALBackend.cpp:256:41: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/audio/openal/OpenALBackend.cpp:256:41: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/audio/openal/OpenALBackend.cpp:256:42: warning: no header providing "audio::ResourceList" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:263:3: warning: no header providing "alListenerf" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:263:15: warning: no header providing "AL_METERS_PER_UNIT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:264:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:270:2: warning: variable 'speedOfSoundInUnits' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:276:2: warning: no header providing "alSpeedOfSound" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:277:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:299:2: warning: variable 'rolloff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:301:19: warning: no header providing "AL_REVERB_ROOM_ROLLOFF_FACTOR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:312:12: warning: no header providing "AL_REVERB_DIFFUSION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:313:12: warning: no header providing "AL_REVERB_AIR_ABSORPTION_GAINHF" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:314:12: warning: no header providing "AL_REVERB_LATE_REVERB_GAIN" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:315:12: warning: no header providing "AL_REVERB_LATE_REVERB_DELAY" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:316:12: warning: no header providing "AL_REVERB_DECAY_TIME" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:317:12: warning: no header providing "AL_REVERB_DECAY_HFRATIO" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:318:12: warning: no header providing "AL_REVERB_REFLECTIONS_GAIN" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:319:12: warning: no header providing "AL_REVERB_REFLECTIONS_DELAY" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:319:80: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/audio/openal/OpenALBackend.cpp:327:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.h:40: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/OpenALBackend.h:40:7: warning: class 'OpenALBackend' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/openal/OpenALBackend.h:45:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:47:11: warning: function 'audio::OpenALBackend::init' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/openal/OpenALBackend.h:49:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:51:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:53:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:55:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:57:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:58:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:60:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:61:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:61:69: warning: parameter name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALBackend.h:63:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:64:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:66:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:67:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:68:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALBackend.h:68:47: warning: parameter name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALBackend.h:79:7: warning: use default member initializer for 'hasEFX' [modernize-use-default-member-init] +Arx/src/audio/openal/OpenALBackend.h:84:7: warning: use default member initializer for 'effectEnabled' [modernize-use-default-member-init] +Arx/src/audio/openal/OpenALBackend.h:91:8: warning: use default member initializer for 'rolloffFactor' [modernize-use-default-member-init] +Arx/src/audio/openal/OpenALSource.cpp:43:9: warning: function-like macro 'LogAL' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/audio/openal/OpenALSource.cpp:43:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/audio/openal/OpenALSource.cpp:44:9: warning: function-like macro 'TraceAL' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/audio/openal/OpenALSource.cpp:44:41: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/audio/openal/OpenALSource.cpp:46:8: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:46:15: warning: variable 'nbsources' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALSource.cpp:46:15: warning: variable 'nbsources' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/openal/OpenALSource.cpp:47:15: warning: variable 'nbbuffers' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALSource.cpp:47:15: warning: variable 'nbbuffers' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/openal/OpenALSource.cpp:52:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:54:2: warning: no header providing "ALint" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:54:8: warning: variable 'val' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:55:2: warning: no header providing "alGetSourcei" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:55:23: warning: no header providing "AL_SOURCE_STATE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:56:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:58:12: warning: no header providing "AL_STOPPED" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:60:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/audio/openal/OpenALSource.cpp:60:19: warning: no header providing "AL_INITIAL" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:60:40: warning: no header providing "AL_PAUSED" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:61:3: warning: no header providing "alSourcePlay" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:62:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:63:10: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:64:19: warning: no header providing "AL_PLAYING" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:68:10: warning: no header providing "audio::AAL_ERROR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:75:2: warning: no header providing "alSourcePause" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:76:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:78:8: warning: variable 'val' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:80: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: no header providing "audio::Source" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:92:53: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:92:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALSource.cpp:95:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALSource.cpp:96:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/openal/OpenALSource.cpp:101:15: warning: function '~OpenALSource' has cognitive complexity of 48 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/audio/openal/OpenALSource.cpp:105:5: warning: no header providing "alIsSource" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:107:3: warning: no header providing "alSourceStop" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:108:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:110:3: warning: no header providing "alDeleteSources" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:112:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:120:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/openal/OpenALSource.cpp:121:21: warning: no header providing "alIsBuffer" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:123:5: warning: no header providing "alDeleteBuffers" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:125:5: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:134:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALSource.cpp:138:5: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:149:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALSource.cpp:158:24: warning: function 'init' has cognitive complexity of 33 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/audio/openal/OpenALSource.cpp:158:29: warning: no header providing "audio::SourceId" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:166:21: warning: no header providing "audio::FLAG_PAN" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:185:2: warning: no header providing "alGenSources" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:187:2: warning: no header providing "alSourcei" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:187:20: warning: no header providing "AL_LOOPING" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:187:32: warning: no header providing "AL_FALSE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:188:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:198:11: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:200:3: warning: no header providing "alGenBuffers" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:202:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:205:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:214:23: warning: no header providing "audio::FLAG_POSITION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:214:58: warning: no header providing "audio::FLAG_RELATIVE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:215:21: warning: no header providing "AL_SOURCE_RELATIVE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:215:41: warning: no header providing "AL_TRUE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:216:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:263:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:266:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:271:3: warning: no header providing "alSourceQueueBuffers" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:272:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:285:15: warning: function 'stereoToMono' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALSource.cpp:285:15: warning: function 'stereoToMono' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALSource.cpp:285:15: warning: function 'stereoToMono' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALSource.cpp:289:2: warning: variable 'nbsamples' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:299:24: warning: function 'fillBuffer' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/audio/openal/OpenALSource.cpp:299:42: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALSource.cpp:303:2: warning: variable 'left' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:303:31: warning: redundant cast to the same type [google-readability-casting] +Arx/src/audio/openal/OpenALSource.cpp:303:31: 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/audio/openal/OpenALSource.cpp:312:10: warning: no header providing "audio::AAL_ERROR_MEMORY" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:315:9: warning: variable 'read' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:319:10: warning: no header providing "audio::AAL_ERROR_SYSTEM" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:327:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/audio/openal/OpenALSource.cpp:342:20: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALSource.cpp:348:2: warning: no header providing "ALenum" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:348:9: warning: variable 'alformat' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:350:33: warning: no header providing "AL_FORMAT_MONO8" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:350:51: warning: no header providing "AL_FORMAT_MONO16" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:352:33: warning: no header providing "AL_FORMAT_STEREO8" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:352:53: warning: no header providing "AL_FORMAT_STEREO16" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:360:2: warning: no header providing "alBufferData" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:360:43: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'ALsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALSource.cpp:360:51: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'ALsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +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:371:46: warning: no header providing "audio::FLAG_VOLUME" is directly included [misc-include-cleaner] +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:5: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +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:20: 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:389:39: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALSource.cpp:391:46: warning: no header providing "audio::FLAG_PITCH" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:397:20: 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:403:37: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALSource.cpp:409:2: warning: variable 'oldPan' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:421:42: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:433:2: warning: no header providing "alSource3f" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:433:21: warning: no header providing "AL_POSITION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:434:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:441:46: warning: no header providing "audio::FLAG_VELOCITY" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:451:21: warning: no header providing "AL_VELOCITY" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:452:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:459:46: warning: no header providing "audio::FLAG_DIRECTION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:465:21: warning: no header providing "AL_DIRECTION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:466:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:471:38: warning: no header providing "audio::SourceCone" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:473:46: warning: no header providing "audio::FLAG_CONE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:481:20: warning: no header providing "AL_CONE_INNER_ANGLE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:482:20: warning: no header providing "AL_CONE_OUTER_ANGLE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:483:20: warning: no header providing "AL_CONE_OUTER_GAIN" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:484:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:489:41: warning: no header providing "audio::SourceFalloff" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:491:46: warning: no header providing "audio::FLAG_FALLOFF" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:497:20: warning: no header providing "AL_MAX_DISTANCE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:498:20: warning: no header providing "AL_REFERENCE_DISTANCE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:499:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:504:24: warning: function 'play' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/audio/openal/OpenALSource.cpp:506:15: warning: no header providing "audio::Source::Playing" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:515:21: warning: no header providing "AL_SEC_OFFSET" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:516:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:522:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/openal/OpenALSource.cpp:525:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/openal/OpenALSource.cpp:529:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:533:9: warning: variable 'queuedBuffers' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:534:24: warning: no header providing "AL_BUFFERS_QUEUED" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:535:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:536:3: warning: variable 'nbuffers' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:540:4: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:550:15: warning: no header providing "audio::Source::Idle" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:557:2: warning: no header providing "alSourceRewind" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:558:20: warning: no header providing "AL_BUFFER" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:559:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:562:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/audio/openal/OpenALSource.cpp:567:5: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:580:33: warning: no header providing "audio::Source::Paused" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:618:2: warning: no header providing "ALfloat" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:618:10: warning: variable 'max' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:619:2: warning: no header providing "alGetSourcef" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:620:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:626:3: warning: no header providing "alGetListener3f" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:627:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:630:2: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:630:8: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALSource.cpp:643:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/audio/openal/OpenALSource.cpp:660:24: warning: function 'updateBuffers' has cognitive complexity of 94 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/audio/openal/OpenALSource.cpp:665:8: warning: variable 'sourceState' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:667:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:670:8: warning: variable 'nbuffersProcessed' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:671:23: warning: no header providing "AL_BUFFERS_PROCESSED" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:672:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:675:2: warning: variable 'maxbuffers' of type 'ALint' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:675:21: warning: narrowing conversion from 'unsigned long' to signed type 'ALint' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/openal/OpenALSource.cpp:675:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/openal/OpenALSource.cpp:681:2: warning: variable 'oldLoadCount' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:685:12: warning: loop variable name 'c' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALSource.cpp:687:3: warning: no header providing "ALuint" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:687:10: warning: variable 'buffer' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:688:3: warning: no header providing "alSourceUnqueueBuffers" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:689:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:691:10: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALSource.cpp:711:5: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:717:5: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:722:4: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:733:9: warning: variable 'buffersQueued' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:735:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:748:4: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:758:8: warning: variable 'newRead' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:759:23: warning: no header providing "AL_BYTE_OFFSET" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:760:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:777:9: warning: variable 'newSourceState' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:779:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:796:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/openal/OpenALSource.cpp:796:39: 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:801:20: warning: no header providing "AL_ROLLOFF_FACTOR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:802:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.h:36: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:36:7: warning: class 'OpenALSource' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/openal/OpenALSource.h:41:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:43:25: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALSource.h:45:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:46:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:48:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:49:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:50:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:51:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:52:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:54:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:54:11: warning: function 'audio::OpenALSource::play' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/audio/openal/OpenALSource.h:55:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:56:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:57:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:59:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:65:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:67:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/audio/openal/OpenALSource.h:84:29: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/audio/openal/OpenALSource.h:93:7: warning: use default member initializer for 'tooFar' [modernize-use-default-member-init] +Arx/src/audio/openal/OpenALSource.h:100:7: warning: use default member initializer for 'streaming' [modernize-use-default-member-init] +Arx/src/audio/openal/OpenALSource.h:101:11: warning: use default member initializer for 'loadCount' [modernize-use-default-member-init] +Arx/src/audio/openal/OpenALSource.h:102:9: warning: use default member initializer for 'written' [modernize-use-default-member-init] +Arx/src/audio/openal/OpenALSource.h:105:9: warning: use default member initializer for 'read' [modernize-use-default-member-init] +Arx/src/audio/openal/OpenALSource.h:107:9: warning: use default member initializer for 'source' [modernize-use-default-member-init] +Arx/src/audio/openal/OpenALSource.h:109:2: warning: enum '(unnamed enum at Arx/src/audio/openal/OpenALSource.h:109: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/OpenALSource.h:111:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/audio/openal/OpenALSource.h:112:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +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/audio/openal/OpenALUtils.h:33:9: warning: function-like macro 'AL_CHECK_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/audio/openal/OpenALUtils.h:39:9: warning: function-like macro 'AL_CHECK_ERROR_N' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/core/Application.cpp:51:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/core/Application.cpp:54:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/core/Application.cpp:57:1: warning: included header foreach.hpp is not used directly [misc-include-cleaner] +Arx/src/core/Application.cpp:76:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/Application.cpp:79:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Application.cpp:79:6: warning: variable 'EERIEMouseButton' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.cpp:80:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Application.cpp:80:6: warning: variable 'EERIEMouseGrab' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.cpp:82:15: warning: variable 'mainApp' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.cpp:82:15: warning: variable 'mainApp' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.cpp:82:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Application.cpp:83:7: warning: variable 'FPS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.cpp:84:11: warning: initialization of 'ModeLight' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Application.cpp:84:11: warning: variable 'ModeLight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.cpp:84:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Application.cpp:85:15: warning: initialization of 'ViewMode' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Application.cpp:85:15: warning: variable 'ViewMode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.cpp:85:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Application.cpp:87:12: warning: variable 'iCurrZBias' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Application.cpp:87:12: warning: variable 'iCurrZBias' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.cpp:93:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Application.cpp:94:2: warning: 'm_bReady' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/Application.cpp:95:2: warning: 'm_RunLoop' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/Application.cpp:98:14: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/core/Application.cpp:104:7: warning: variable 'init' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Application.cpp:136:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Application.cpp:143:13: warning: function 'migrateFilenames' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Application.cpp:145:2: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Application.cpp:146:2: warning: variable 'lowercase' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Application.cpp:152:3: warning: variable 'dst' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/Application.cpp:172:13: warning: function 'migrateFilenames' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Application.cpp:176:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Application.cpp:181:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/core/Application.cpp:188:3: warning: variable 'file' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Application.cpp:204:2: warning: variable 'configFile' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/Application.cpp:216:3: warning: variable 'oldConfigFile' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/Application.cpp:230:3: warning: variable 'file' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/Application.cpp:267:32: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/Application.cpp:270:42: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/core/Application.cpp:287:25: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/Application.cpp:297:9: warning: variable 'tmp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Application.cpp:300:3: warning: variable 'fTime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Application.cpp:308:22: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Application.cpp:310:16: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/Application.cpp:323:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Application.h:58:6: warning: enum 'ViewModeFlag' 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/Application.h:66:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Application.h:66:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Application.h:66:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/core/Application.h:66:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/core/Application.h:68:6: warning: enum 'LightModeFlag' 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/Application.h:77:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Application.h:77:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Application.h:77:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/core/Application.h:77:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/core/Application.h:79:8: warning: accessing fields in struct 'PROJECT' is inefficient due to padding; only needs 36 bytes but is using 40 bytes [altera-struct-pack-align] +Arx/src/core/Application.h:79:8: warning: accessing fields in struct 'PROJECT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/core/Application.h:83:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Application.h:83:7: warning: use default member initializer for 'improve' [modernize-use-default-member-init] +Arx/src/core/Application.h:84:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Application.h:84:7: warning: use default member initializer for 'telekinesis' [modernize-use-default-member-init] +Arx/src/core/Application.h:85:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Application.h:85:7: warning: use default member initializer for 'demo' [modernize-use-default-member-init] +Arx/src/core/Application.h:90:16: warning: variable 'Project' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.h:91:14: warning: variable 'FPS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.h:92:18: warning: variable 'ModeLight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.h:94:22: warning: variable 'ViewMode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.h:96:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Application.h:96:13: warning: variable 'EERIEMouseButton' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.h:96:31: warning: variable 'EERIEMouseGrab' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.h:98: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/Application.h:98:7: warning: class 'Application' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/core/Application.h:102:17: warning: member variable 'm_MainWindow' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Application.h:141:29: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/core/Application.h:142:35: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/core/Application.h:153:7: warning: member variable 'm_RunLoop' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Application.h:154:7: warning: member variable 'm_bReady' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Application.h:157:22: warning: variable 'mainApp' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.h:157:22: warning: variable 'mainApp' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Application.h:160:6: warning: function 'SetZBias' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/core/ArxGame.cpp:46:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/core/ArxGame.cpp:137:13: warning: variable 'showFPS' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:137:13: warning: variable 'showFPS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:139:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:141:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:141:13: warning: redundant 'PLAY_LOADED_CINEMATIC' declaration [readability-redundant-declaration] +Arx/src/core/ArxGame.cpp:141:13: warning: variable 'PLAY_LOADED_CINEMATIC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:142:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:142:13: warning: variable 'START_NEW_QUEST' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:143:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:143:13: warning: variable 'CHANGE_LEVEL_ICON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:144:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:144:13: warning: variable 'REFUSE_GAME_RETURN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:145:13: warning: variable 'PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:146:13: warning: variable 'TRUE_PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:147:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:147:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:148:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:148:13: warning: variable 'PLAYER_PARALYSED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:149:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:149:13: warning: variable 'STOP_KEYBOARD_INPUT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:150:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:150:13: warning: variable 'USEINTERNORM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:151:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:151:13: warning: variable 'cur_mr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:152:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:152:13: warning: variable 'cur_rf' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:153:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:153:13: warning: variable 'STRIKE_TIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:154:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:154:13: warning: variable 'DeadTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:155:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:155:13: warning: variable 'TRANSPOLYSPOS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:156:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:156:13: warning: variable 'FORCE_FRONT_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:157:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:157:13: warning: variable 'LAST_ROOM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:158:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:158:13: warning: variable 'LAST_PORTALS_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:159:12: warning: variable 'iTimeToDrawD7' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:160:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:160:13: warning: variable 'LaunchDemo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:162:8: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/core/ArxGame.cpp:162:14: warning: variable 'uw_mode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:164:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:164:13: warning: variable 'CURRENT_BASE_FOCAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:165:14: warning: variable 'BOW_FOCAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:167:14: warning: variable 'GLOBAL_SLOWDOWN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:168:14: warning: variable 'sp_max_start' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:169:14: warning: variable 'LAST_FADEVALUE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:171:14: warning: variable 'PROGRESS_BAR_TOTAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:172:14: warning: variable 'PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:173:14: warning: variable 'OLD_PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:175:13: warning: variable 'bOLD_CLIPP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:177:13: warning: redundant 'DANAE_KillCinematic' declaration [readability-redundant-declaration] +Arx/src/core/ArxGame.cpp:180:19: warning: variable 'ControlCinematique' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:180:19: warning: variable 'ControlCinematique' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:181:21: warning: variable 'eyeballobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:181:21: warning: variable 'eyeballobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:182:22: warning: variable 'arrowobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:182:22: warning: variable 'arrowobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:183:27: warning: variable 'Movable' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:183:27: warning: variable 'Movable' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:184:27: warning: variable 'tflare' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:184:27: warning: variable 'tflare' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:185:17: warning: redundant 'FlyingOverIO' declaration [readability-redundant-declaration] +Arx/src/core/ArxGame.cpp:185:17: warning: variable 'FlyingOverIO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:185:17: warning: variable 'FlyingOverIO' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:186:26: warning: variable 'eMouseState' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:187:14: warning: variable 'LastValidPlayerPos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:188:14: warning: variable 'ulBKGColor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:189:21: warning: variable 'conversationcamera' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:190:26: warning: variable 'pParticleManager' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:190:26: warning: variable 'pParticleManager' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:191:47: warning: variable 'pDynamicVertexBuffer_TLVERTEX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:191:47: warning: variable 'pDynamicVertexBuffer_TLVERTEX' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:192:44: warning: variable 'pDynamicVertexBuffer' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:192:44: warning: variable 'pDynamicVertexBuffer' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:193:21: warning: variable 'pMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:193:21: warning: variable 'pMenu' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:195:20: warning: variable 'ProjectionMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:197:20: warning: variable 'ChangeLevel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:197:20: warning: variable 'ChangeLevel' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:197:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:198:20: warning: variable 'Movable' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:198:20: warning: variable 'Movable' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:198:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:200:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:200:6: warning: variable 'WILL_QUICKLOAD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:201:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:201:6: warning: variable 'WILL_QUICKSAVE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:202:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:202:6: warning: variable 'NEED_SPECIAL_RENDEREND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:203:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:203:6: warning: variable 'BOOKBUTTON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:204:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:204:6: warning: variable 'LASTBOOKBUTTON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:205:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:205:6: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:206:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:206:6: warning: variable 'ARX_CONVERSATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:207:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:207:6: warning: variable 'ARX_CONVERSATION_MODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:208:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:208:6: warning: variable 'ARX_CONVERSATION_LASTIS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:209:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:209:13: warning: variable 'LAST_CONVERSATION' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:209:13: warning: variable 'LAST_CONVERSATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:210:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:210:6: warning: variable 'SHOW_INGAME_MINIMAP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:211:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:211:6: warning: variable 'NEED_TEST_TEXT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:212:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:212:22: warning: variable 'FRAMETICKS' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:212:22: warning: variable 'FRAMETICKS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:214:7: warning: variable 'PLAYER_ARMS_FOCAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:215:7: warning: variable 'currentbeta' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:217:15: warning: variable 'ARX_FLARES_Block' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:219:7: warning: initialization of 'LASTCAMPOS' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/ArxGame.cpp:219:7: warning: variable 'LASTCAMPOS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:220:8: warning: initialization of 'LASTCAMANGLE' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/ArxGame.cpp:220:8: warning: variable 'LASTCAMANGLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:221:10: warning: variable 'CAMERACONTROLLER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:221:10: warning: variable 'CAMERACONTROLLER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:221:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:222:9: warning: variable 'lastCAMERACONTROLLER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:222:9: warning: variable 'lastCAMERACONTROLLER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:222:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:227:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/core/ArxGame.cpp:232:14: warning: no header providing "Application" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:258:3: warning: no header providing "RenderWindow" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:264:51: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/core/ArxGame.cpp:265:51: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/core/ArxGame.cpp:272:57: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/core/ArxGame.cpp:273:57: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/core/ArxGame.cpp:287:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:307:46: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:314:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:321:50: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/core/ArxGame.cpp:322:50: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/core/ArxGame.cpp:323:56: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/core/ArxGame.cpp:324:56: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/core/ArxGame.cpp:326:2: warning: variable 'size' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:329:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:333:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:335:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:342:21: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:351:2: warning: variable 'autoFramework' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:354:3: warning: variable 'first' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:394:2: warning: variable 'init' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:405:2: warning: variable 'init' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:415:2: warning: variable 'init' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:428:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/ArxGame.cpp:428:21: warning: variable 'default_paks' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:428:21: warning: variable 'default_paks' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:429:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:431:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:432:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:436:15: warning: function 'AddPaks' has cognitive complexity of 71 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/ArxGame.cpp:436:15: warning: method 'AddPaks' can be made static [readability-convert-member-functions-to-static] +Arx/src/core/ArxGame.cpp:443:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:459:3: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:459:13: warning: calling 'system' uses a command processor [cert-env33-c] +Arx/src/core/ArxGame.cpp:459:13: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/core/ArxGame.cpp:459:13: warning: no header providing "system" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:524:15: warning: method 'Create' can be made static [readability-convert-member-functions-to-static] +Arx/src/core/ArxGame.cpp:529:38: warning: no header providing "Window" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:529:46: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/core/ArxGame.cpp:538:47: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/core/ArxGame.cpp:571:45: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/core/ArxGame.cpp:646:30: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:646:37: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:672:23: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:672:34: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:672:54: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:678:44: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:678:50: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:678:70: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:678:76: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:691:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:691:2: warning: variable 'old' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:788:15: warning: function 'Render' exceeds recommended size/complexity thresholds [readability-function-size] +Arx/src/core/ArxGame.cpp:788:15: warning: function 'Render' has cognitive complexity of 377 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/ArxGame.cpp:799:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:837:3: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/core/ArxGame.cpp:848:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:862:22: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:862:36: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:866:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:870:10: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:891:16: warning: no header providing "EERIEMouseButton" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:899:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:901:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:908:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:912:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:916:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:918:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:919:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:927:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:933:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:943:3: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/core/ArxGame.cpp:960:3: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/core/ArxGame.cpp:969:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:976:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:983:3: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/core/ArxGame.cpp:994:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:995:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/core/ArxGame.cpp:997:3: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/core/ArxGame.cpp:1004:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1004:32: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/core/ArxGame.cpp:1019:31: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1037:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/ArxGame.cpp:1039:38: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1041:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1041:4: warning: variable 'lMulResult' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1041:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1042:22: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1043:19: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1044:22: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1057:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1057:3: warning: variable 'old' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1059:9: warning: variable 'speedfactor' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/ArxGame.cpp:1062:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1064:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1066:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/core/ArxGame.cpp:1066:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1068:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1068:3: warning: variable 'tFrameDiff' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1068:21: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1072:4: warning: variable 'restore' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1074:29: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1081:16: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1081:63: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1083:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1083:19: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/ArxGame.cpp:1085:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1088:5: warning: variable 'iCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1088:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1092:67: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1094:96: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1094:102: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1097:5: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/core/ArxGame.cpp:1097:51: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1097:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1100:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1107:4: warning: variable 'restore' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1109:29: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1115:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:1117:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1121:66: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1124:95: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1124:101: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1127:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1127:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1136:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/ArxGame.cpp:1136:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1138:13: warning: variable 'useanim' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/ArxGame.cpp:1140:17: warning: variable 'alist' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/ArxGame.cpp:1143:7: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1144:33: warning: no header providing "ANIM_MISSILE_STRIKE_PART_1" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1145:33: warning: no header providing "ANIM_MISSILE_STRIKE_PART_2" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1146:33: warning: no header providing "ANIM_MISSILE_STRIKE_CYCLE" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1150:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/core/ArxGame.cpp:1150:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1158:2: warning: different indentation for 'if' and corresponding 'else' [readability-misleading-indentation] +Arx/src/core/ArxGame.cpp:1160:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1160:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1161:9: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1163:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1163:13: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1165:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/ArxGame.cpp:1165:29: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1165:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:1167:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/ArxGame.cpp:1167:29: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1167:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:1168:16: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1172:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1186:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1186:4: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1186:9: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1193:5: warning: variable 'len' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1195:6: warning: variable 'div' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1215:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1216:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1221:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1224:34: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1232:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1232:3: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/core/ArxGame.cpp:1232:3: warning: variable 'is' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1232:8: warning: variable name 'is' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1234:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1260:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/core/ArxGame.cpp:1267:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1267:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1268:28: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/ArxGame.cpp:1268:35: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1270:28: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/ArxGame.cpp:1270:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1278:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1279:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1281:28: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1281:70: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1285:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1304:71: warning: no header providing "ANIM_WAIT" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1311:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1312:3: warning: no header providing "ARX_SCRIPT_Timer_Check" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1317:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1322:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1330:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1331:16: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/ArxGame.cpp:1331:46: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1331:76: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:1333:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/core/ArxGame.cpp:1333:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1335:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/core/ArxGame.cpp:1335:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1337:4: warning: variable 'itime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1341:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/core/ArxGame.cpp:1341:11: warning: variable 'alpha' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/ArxGame.cpp:1341:17: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/ArxGame.cpp:1341:22: warning: variable 'distance' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/ArxGame.cpp:1341:31: warning: variable '_dist' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/ArxGame.cpp:1358:7: warning: variable 'targetpos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1359:33: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1360:33: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1361:33: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1377:22: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1379:8: warning: variable 'vect' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1394:8: warning: variable 'tfrom' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1395:8: warning: variable 'tto' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1437:8: warning: variable 'vect3' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1470:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1471:3: warning: variable 'mdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1471:17: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1472:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/ArxGame.cpp:1472:23: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/core/ArxGame.cpp:1474:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/core/ArxGame.cpp:1474:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1478:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1478:3: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1478:8: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1479:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1479:3: warning: variable 'id2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1514:83: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1514:89: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1515:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1517:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1524:4: warning: variable 'targetpos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1524:46: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/core/ArxGame.cpp:1526:4: warning: variable 'delta_angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1529:8: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1529:32: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1529:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1532:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1532:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1533:40: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/ArxGame.cpp:1533:47: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1535:40: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/ArxGame.cpp:1535:47: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1547:60: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1549:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/core/ArxGame.cpp:1553:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1553:3: warning: variable 'pouet2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1555:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1555:3: warning: variable 'pouet' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1571:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1577:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1597:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1610:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1618:28: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1618:42: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1623:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1623:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1624:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1624:31: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/ArxGame.cpp:1626:3: warning: variable 'up' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1626:9: warning: variable name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:1648:3: warning: variable 'restore' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1650:28: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1655:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1658:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/core/ArxGame.cpp:1658:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1677:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1697:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1741:28: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1742:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:1742:18: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1765:6: warning: no header providing "Project" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1765:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1774:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/core/ArxGame.cpp:1774:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1776:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1790:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:1790:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:1790:74: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:1817:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1839:28: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1840:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:1840:18: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1877:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1877:4: warning: variable 'SHOWLEVEL' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1879:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1880:32: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1912:6: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:1912:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1922:6: warning: no header providing "ViewMode" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1922:17: warning: no header providing "VIEWMODE_INFOTEXT" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1927:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/ArxGame.cpp:1928:4: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/core/ArxGame.cpp:1928:4: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/core/ArxGame.cpp:1930:6: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/ArxGame.cpp:1933:6: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/ArxGame.cpp:1936:6: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/ArxGame.cpp:1939:6: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/ArxGame.cpp:1982:3: warning: no header providing "CalcFPS" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:2001:3: warning: no header providing "ARX_SCRIPT_AllowInterScriptExec" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:2002:3: warning: no header providing "ARX_SCRIPT_EventStackExecute" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:2007:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:2015:15: warning: function 'GoFor2DFX' has cognitive complexity of 53 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/ArxGame.cpp:2015:15: warning: method 'GoFor2DFX' can be made static [readability-convert-member-functions-to-static] +Arx/src/core/ArxGame.cpp:2017:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/core/ArxGame.cpp:2017:17: warning: variable name 'lv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:2019:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:2021:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:2023:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:2034:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:2037:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/ArxGame.cpp:2040:3: warning: variable 'temp_increase' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:2046:19: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:2048:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:2048:5: warning: variable 'lPosx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:2048:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:2048:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:2048:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/ArxGame.cpp:2049:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:2049:5: warning: variable 'lPosz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:2049:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/ArxGame.cpp:2049:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:2049:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/ArxGame.cpp:2068:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:2074:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:2075:18: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/ArxGame.cpp:2078:7: warning: variable 'vector' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:2083:7: warning: variable 'fZFar' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:2086:18: warning: variable name 'tp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:2086:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:2090:38: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/core/ArxGame.cpp:2091:38: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/core/ArxGame.cpp:2115:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:2116:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:2133:19: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:2135:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:2144:13: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:2151:13: warning: variable 'siz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/ArxGame.cpp:2153:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:2155:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:2172:15: warning: method 'InitDeviceObjects' can be made static [readability-convert-member-functions-to-static] +Arx/src/core/ArxGame.cpp:2191:2: warning: variable 'fogEnd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:2192:2: warning: variable 'fogStart' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:2197:2: warning: no header providing "SetZBias" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:2203:33: warning: variable name 'vb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.cpp:2237:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:2247:48: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/core/ArxGame.cpp:2258:72: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:2259:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/ArxGame.cpp:2263:14: warning: use nullptr [modernize-use-nullptr] +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:55:7: warning: class 'ArxGame' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/core/ArxGame.h:59:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:60:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:61:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:62:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:66:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/core/ArxGame.h:67:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/core/ArxGame.h:74:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/core/ArxGame.h:81:10: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:84:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:87:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/core/ArxGame.h:88:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:96:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:96:30: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.h:96:37: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.h:97:15: warning: function 'ArxGame::OutputTextGrid' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/core/ArxGame.h:97:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:97:36: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.h:97:45: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/ArxGame.h:101:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:102:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:103:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:104:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:105:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:106:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/core/ArxGame.h:108:7: warning: use default member initializer for 'wasResized' [modernize-use-default-member-init] +Arx/src/core/ArxGame.h:110:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/core/ArxGame.h:110:36: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/core/ArxGame.h:111:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/core/ArxGame.h:111:40: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/core/ArxGame.h:115:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/core/Config.cpp:22:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/core/Config.cpp:39:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:47:9: warning: macro 'ARX_DEFAULT_WIDTH' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/core/Config.cpp:48:9: warning: macro 'ARX_DEFAULT_HEIGHT' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/core/Config.cpp:52:2: warning: initialization of 'resolution' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:53:2: warning: initialization of 'audioBackend' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:54:2: warning: initialization of 'windowFramework' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:55:2: warning: initialization of 'windowSize' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:57:2: warning: initialization of 'inputBackend' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:58:2: warning: initialization of 'debugLevels' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:58:2: warning: redundant string initialization [readability-redundant-string-init] +Arx/src/core/Config.cpp:86:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Config.cpp:86:11: warning: initialization of 'actions' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:86:11: warning: variable 'actions' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Config.cpp:135:2: warning: initialization of 'Language' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:136:2: warning: initialization of 'Video' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:137:2: warning: initialization of 'Window' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:138:2: warning: initialization of 'Audio' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:139:2: warning: initialization of 'Input' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:140:2: warning: initialization of 'Key' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:141:2: warning: initialization of 'Misc' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:142:1: warning: namespace 'Section' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/core/Config.cpp:147:14: warning: initialization of 'language' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:151:2: warning: initialization of 'resolution' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:152:2: warning: initialization of 'bpp' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:153:2: warning: initialization of 'fullscreen' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:154:2: warning: initialization of 'levelOfDetail' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:155:2: warning: initialization of 'fogDistance' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:156:2: warning: initialization of 'showCrosshair' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:157:2: warning: initialization of 'antialiasing' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:158:2: warning: initialization of 'vsync' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:162:2: warning: initialization of 'windowSize' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:163:2: warning: initialization of 'windowFramework' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:167:2: warning: initialization of 'volume' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:168:2: warning: initialization of 'sfxVolume' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:169:2: warning: initialization of 'speechVolume' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:170:2: warning: initialization of 'ambianceVolume' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:171:2: warning: initialization of 'eax' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:172:2: warning: initialization of 'audioBackend' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:176:2: warning: initialization of 'invertMouse' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:177:2: warning: initialization of 'autoReadyWeapon' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:178:2: warning: initialization of 'mouseLookToggle' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:179:2: warning: initialization of 'mouseSensitivity' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:180:2: warning: initialization of 'autoDescription' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:181:2: warning: initialization of 'linkMouseLookToUse' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:182:2: warning: initialization of 'inputBackend' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:185:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Config.cpp:185:14: warning: initialization of 'actions' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:231:2: warning: initialization of 'forceToggle' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:232:2: warning: initialization of 'migration' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:233:2: warning: initialization of 'quicksaveSlots' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:234:2: warning: initialization of 'debugLevels' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:241:2: warning: function 'getActionKey' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/core/Config.cpp:249:29: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:251:7: warning: function '(anonymous namespace)::ConfigWriter::writeActionKey' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/core/Config.cpp:257:2: warning: variable 'v1' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:257:9: warning: variable name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Config.cpp:260:2: warning: variable 'v2' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:260:9: warning: variable name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Config.cpp:269:17: warning: variable name 'k0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Config.cpp:271:3: warning: no header providing "InputKeyId" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:271:3: warning: variable 'id' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:271:14: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Config.cpp:279:17: warning: variable name 'k1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Config.cpp:281:3: warning: variable 'id' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:281:14: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Config.cpp:296:8: warning: initialization of 'config' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Config.cpp:296:8: warning: variable 'config' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Config.cpp:309:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.cpp:318:2: warning: variable 'otherIndex' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:332:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.cpp:336:7: warning: variable 'k' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:369:25: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:413:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.cpp:426:14: warning: function 'parseResolution' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Config.cpp:432:7: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Config.cpp:437:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/core/Config.cpp:438:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/core/Config.cpp:447:2: warning: variable 'loaded' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:459:2: warning: variable 'resolution' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:468:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Config.cpp:474:2: warning: variable 'windowSize' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:479:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Config.cpp:480:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Config.cpp:481:23: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Config.cpp:482:25: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Config.cpp:497:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.cpp:502:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.h:33: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:90:8: warning: accessing fields in struct 'ActionKey' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:92:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/core/Config.h:97:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Config.h:106:14: warning: member variable 'language' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Config.h:109:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:109:2)' is inefficient due to padding; only needs 24 bytes but is using 28 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:109:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:109: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:109:2: warning: constructor does not initialize these fields: bpp, fullscreen, levelOfDetail, fogDistance, showCrosshair, antialiasing, vsync [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Config.h:120:4: warning: member variable 'video' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Config.h:123:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:123: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/Config.h:129:4: warning: member variable 'window' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Config.h:132:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:132:2)' is inefficient due to padding; only needs 49 bytes but is using 56 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:132:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:132: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/Config.h:132:2: warning: constructor does not initialize these fields: volume, sfxVolume, speechVolume, ambianceVolume, eax [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Config.h:143:4: warning: member variable 'audio' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Config.h:146:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:146:2)' is inefficient due to padding; only needs 41 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:146:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:146: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/Config.h:146:2: warning: constructor does not initialize these fields: invertMouse, autoReadyWeapon, mouseLookToggle, autoDescription, mouseSensitivity, linkMouseLookToUse [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Config.h:157:4: warning: member variable 'input' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Config.h:160:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Config.h:160:12: warning: member variable 'actions' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Config.h:162: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:168:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:168:2)' is inefficient due to padding; only needs 41 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:168:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:168: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/Config.h:168:2: warning: constructor does not initialize these fields: forceToggle, migration, quicksaveSlots [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Config.h:178:4: warning: member variable 'misc' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Config.h:180:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/core/Config.h:200:15: warning: variable 'config' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:56:1: warning: included header version.hpp is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:94:1: warning: included header Font.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:123:1: warning: included header Rectangle.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:151:12: warning: using decl 'min' is unused [misc-unused-using-decls] +Arx/src/core/Core.cpp:152:12: warning: using decl 'max' is unused [misc-unused-using-decls] +Arx/src/core/Core.cpp:153:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:156:7: warning: initialization of 'savegame_thumbnail' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:156:7: warning: variable 'savegame_thumbnail' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:158:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/core/Core.cpp:158:9: warning: macro 'MAX_EXPLO' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/core/Core.cpp:158:9: warning: macro 'MAX_EXPLO' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/core/Core.cpp:160:13: warning: function 'initializeGame' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:161:13: warning: function 'shutdownGame' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:163:21: warning: redundant 'pTextManage' declaration [readability-redundant-declaration] +Arx/src/core/Core.cpp:163:21: warning: variable 'pTextManage' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:163:21: warning: variable 'pTextManage' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:164:14: warning: variable 'FORCE_TIME_RESTORE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:165:21: warning: variable 'pMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:165:21: warning: variable 'pMenu' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:166:17: warning: variable 'CURRENT_TORCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:166:17: warning: variable 'CURRENT_TORCH' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:167:22: warning: variable 'fogobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:167:22: warning: variable 'fogobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:168:14: warning: variable 'InventoryX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:169:14: warning: variable 'PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:170:14: warning: variable 'PROGRESS_BAR_TOTAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:171:14: warning: variable 'vdist' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:172:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:172:14: warning: variable 'FistParticles' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:173:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:173:14: warning: variable 'INTER_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:174:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:174:14: warning: variable 'DONT_WANT_PLAYER_INZONE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:175:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:175:14: warning: redundant 'TOTPDL' declaration [readability-redundant-declaration] +Arx/src/core/Core.cpp:175:14: warning: variable 'TOTPDL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:176:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:176:14: warning: variable 'COLLIDED_CLIMB_POLY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:177:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:177:13: warning: variable 'LastSelectedIONum' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:178:14: warning: variable 'ARXTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:179:14: warning: variable 'ARXOldTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:180:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:180:14: warning: variable 'REFUSE_GAME_RETURN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:181:14: warning: variable 'PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:182:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:182:14: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:183:13: warning: variable 'bFadeInOut' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:184:14: warning: variable 'bFade' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:185:14: warning: variable 'OLD_PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:190:22: warning: variable 'ssol' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:190:22: warning: variable 'ssol' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:191:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:191:13: warning: variable 'ssol_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:192:22: warning: variable 'slight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:192:22: warning: variable 'slight' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:193:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:193:13: warning: variable 'slight_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:194:22: warning: variable 'srune' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:194:22: warning: variable 'srune' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:195:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:195:13: warning: variable 'srune_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:196:22: warning: variable 'smotte' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:196:22: warning: variable 'smotte' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:197:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:197:13: warning: variable 'smotte_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:198:22: warning: variable 'stite' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:198:22: warning: variable 'stite' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:199:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:199:13: warning: variable 'stite_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:200:22: warning: variable 'smissile' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:200:22: warning: variable 'smissile' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:201:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:201:13: warning: variable 'smissile_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:202:22: warning: variable 'spapi' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:202:22: warning: variable 'spapi' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:203:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:203:13: warning: variable 'spapi_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:204:22: warning: variable 'svoodoo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:204:22: warning: variable 'svoodoo' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:205:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:205:13: warning: variable 'svoodoo_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:209:9: warning: initialization of 'Project' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:209:9: warning: variable 'Project' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:212:1: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:212:7: warning: initialization of 'PUSH_PLAYER_FORCE' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:212:7: warning: variable 'PUSH_PLAYER_FORCE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:213:14: warning: variable 'ControlCinematique' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:213:14: warning: variable 'ControlCinematique' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:213:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:214:18: warning: variable 'pParticleManager' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:214:18: warning: variable 'pParticleManager' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:214:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:215:27: warning: variable 'ombrignon' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:215:27: warning: variable 'ombrignon' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:215:27: warning: variable 'ombrignon' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:215:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:216:28: warning: variable 'Flying_Eye' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:216:28: warning: variable 'Flying_Eye' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:216:28: warning: variable 'Flying_Eye' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:216:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:217:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:217:20: warning: variable 'scursor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:218:20: warning: variable 'pTCCrossHair' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:218:20: warning: variable 'pTCCrossHair' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:219:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:219:20: warning: variable 'iconequip' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:220:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:220:20: warning: variable 'GoldCoinsTC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:221:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:221:20: warning: variable 'explo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:222:20: warning: variable 'blood_splat' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:222:20: warning: variable 'blood_splat' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:222:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:224:20: warning: variable 'tflare' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:224:20: warning: variable 'tflare' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:224:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:225:27: warning: variable 'npc_fight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:225:27: warning: variable 'npc_fight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:225:27: warning: variable 'npc_fight' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:225:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:226:27: warning: variable 'npc_follow' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:226:27: warning: variable 'npc_follow' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:226:27: warning: variable 'npc_follow' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:226:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:227:27: warning: variable 'npc_stop' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:227:27: warning: variable 'npc_stop' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:227:27: warning: variable 'npc_stop' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:227:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:228:20: warning: variable 'sphere_particle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:228:20: warning: variable 'sphere_particle' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:228:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:229:20: warning: variable 'inventory_font' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:229:20: warning: variable 'inventory_font' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:229:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:230:20: warning: variable 'enviro' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:230:20: warning: variable 'enviro' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:230:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:231:20: warning: variable 'specular' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:231:20: warning: variable 'specular' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:231:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:232:20: warning: variable 'lightsource_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:232:20: warning: variable 'lightsource_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:232:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:233:20: warning: variable 'stealth_gauge_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:233:20: warning: variable 'stealth_gauge_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:233:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:234:20: warning: variable 'arx_logo_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:234:20: warning: variable 'arx_logo_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:234:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:235:20: warning: variable 'TC_fire2' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:235:20: warning: variable 'TC_fire2' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:235:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:236:20: warning: variable 'TC_fire' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:236:20: warning: variable 'TC_fire' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:236:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:237:20: warning: variable 'TC_smoke' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:237:20: warning: variable 'TC_smoke' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:237:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:238:27: warning: variable 'Z_map' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:238:27: warning: variable 'Z_map' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:238:27: warning: variable 'Z_map' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:238:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:239:20: warning: variable 'Boom' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:239:20: warning: variable 'Boom' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:239:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:241:20: warning: variable 'mecanism_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:241:20: warning: variable 'mecanism_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:241:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:242:20: warning: variable 'arrow_left_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:242:20: warning: variable 'arrow_left_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:242:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:245:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:245:13: warning: variable 'NEED_ANCHORS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:246:22: warning: variable 'mse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:246:22: warning: variable 'mse' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:246:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:247:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:247:6: warning: variable 'ADDED_IO_NOT_SAVED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:250:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:250:12: warning: variable 'spellicons' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:251:6: warning: variable 'bGToggleCombatModeWithKey' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:253:1: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:253:7: warning: initialization of 'DANAEMouse' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:253:7: warning: variable 'DANAEMouse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:254:7: warning: initialization of 'moveto' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:254:7: warning: variable 'moveto' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:255:7: warning: initialization of 'Mscenepos' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:255:7: warning: variable 'Mscenepos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:256:7: warning: initialization of 'lastteleport' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:256:7: warning: variable 'lastteleport' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:257:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:257:15: warning: variable 'GoldCoinsObj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:258:15: warning: variable 'arrowobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:258:15: warning: variable 'arrowobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:258:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:259:15: warning: variable 'cameraobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:259:15: warning: variable 'cameraobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:259:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:260:15: warning: variable 'markerobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:260:15: warning: variable 'markerobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:260:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:261:15: warning: variable 'nodeobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:261:15: warning: variable 'nodeobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:261:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:262:15: warning: variable 'eyeballobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:262:15: warning: variable 'eyeballobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:262:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:263:15: warning: variable 'cabal' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:263:15: warning: variable 'cabal' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:263:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:264:8: warning: no header providing "EERIE_BACKGROUND" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:264:25: warning: initialization of 'DefaultBkg' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:264:25: warning: variable 'DefaultBkg' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:264:25: warning: variable 'DefaultBkg' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:265:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:265:14: warning: initialization of 'TCAM' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:265:14: warning: variable 'TCAM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:266:14: warning: initialization of 'subj' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:266:14: warning: variable 'subj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:266:19: warning: initialization of 'mapcam' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:266:19: warning: variable 'mapcam' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:266:26: warning: initialization of 'bookcam' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:266:26: warning: variable 'bookcam' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:266:34: warning: initialization of 'raycam' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:266:34: warning: variable 'raycam' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:266:41: warning: initialization of 'conversationcamera' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:266:41: warning: variable 'conversationcamera' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:268:8: warning: variable 'WILLADDSPEECH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:270:7: warning: initialization of 'STARTDRAG' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:270:7: warning: variable 'STARTDRAG' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:271:10: warning: variable 'COMBINE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:271:10: warning: variable 'COMBINE' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:271:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:273:17: warning: variable 'QuakeFx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:274:8: warning: initialization of 'LAST_FAILED_SEQUENCE' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:274:8: warning: variable 'LAST_FAILED_SEQUENCE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:276:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:276:6: warning: variable 'TELEPORT_TO_LEVEL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:277:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:277:6: warning: variable 'TELEPORT_TO_POSITION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:278:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:278:6: warning: variable 'TELEPORT_TO_ANGLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:280:13: warning: variable 'WILL_LAUNCH_CINE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:281:11: warning: initialization of 'LastLoadedScene' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:281:11: warning: variable 'LastLoadedScene' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:282:20: warning: variable 'LAST_LAUNCHED_CINE' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:282:20: warning: variable 'LAST_LAUNCHED_CINE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:283:7: warning: variable 'BASE_FOCAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:284:7: warning: variable 'STRIKE_AIMTIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:285:7: warning: variable 'SLID_VALUE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:286:7: warning: variable 'framedelay' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:288:14: warning: variable 'LASTfps2' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:288:14: warning: variable 'LASTfps2' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:289:14: warning: variable 'fps2' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:289:14: warning: variable 'fps2' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:290:14: warning: variable 'fps2min' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:290:14: warning: variable 'fps2min' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:291:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:291:13: warning: variable 'LASTfpscount' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:291:13: warning: variable 'LASTfpscount' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:293:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:293:6: warning: variable 'LOAD_N_DONT_ERASE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:294:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:294:6: warning: variable 'NO_TIME_INIT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:295:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:295:6: warning: variable 'DANAESIZX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:296:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:296:6: warning: variable 'DANAESIZY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:297:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:297:6: warning: variable 'DANAECENTERX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:298:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:298:6: warning: variable 'DANAECENTERY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:299:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:299:6: warning: variable 'CurrFightPos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:300:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:300:6: warning: variable 'NO_PLAYER_POSITION_RESET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:301:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:301:6: warning: variable 'CURRENT_BASE_FOCAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:302:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:302:6: warning: variable 'CINE_PRELOAD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:303:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:303:6: warning: variable 'PLAY_LOADED_CINEMATIC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:304:7: warning: variable 'BOW_FOCAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:305:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:305:6: warning: variable 'PlayerWeaponBlocked' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:306:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:306:6: warning: variable 'SHOW_TORCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:307:7: warning: variable 'FrameDiff' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:308:7: warning: variable 'GLOBAL_LIGHT_FACTOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:310:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:310:6: warning: variable 'USE_LIGHT_OPTIM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:311:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:311:6: warning: variable 'STRIKE_TIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:312:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:312:6: warning: variable 'STOP_KEYBOARD_INPUT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:313:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:313:6: warning: variable 'REQUEST_SPEECH_SKIP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:314:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:314:6: warning: variable 'CURRENTLEVEL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:315:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:315:6: warning: variable 'DONT_ERASE_PLAYER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:316:14: warning: variable 'LastFrameTicks' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:316:14: warning: variable 'LastFrameTicks' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:317:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:317:6: warning: variable 'SPLASH_THINGS_STAGE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:318:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:318:6: warning: variable 'STARTED_A_GAME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:319:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:319:6: warning: variable 'FASTmse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:325:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:325:6: warning: variable 'LOADEDD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:332:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:332:6: warning: variable 'CHANGE_LEVEL_ICON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:334:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:334:6: warning: variable 'ARX_MOUSE_OVER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:338:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:338:6: warning: variable 'LaunchDemo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:339:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:339:6: warning: variable 'FirstFrame' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:340:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:340:15: warning: variable 'WILLADDSPEECHTIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:341:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:341:15: warning: variable 'AimTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:342:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:342:22: warning: variable 'SPLASH_START' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:342:22: warning: variable 'SPLASH_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:344:1: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:344:9: warning: initialization of 'FADECOLOR' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:344:9: warning: variable 'FADECOLOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:346:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:346:6: warning: variable 'START_NEW_QUEST' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:347:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:347:13: warning: variable 'LAST_WEAPON_TYPE' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:347:13: warning: variable 'LAST_WEAPON_TYPE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:348:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:348:6: warning: variable 'FADEDURATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:349:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:349:6: warning: variable 'FADEDIR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:350:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:350:15: warning: variable 'FADESTART' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:352:7: warning: variable 'Original_framedelay' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:354:7: warning: variable 'PULSATE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:355:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:355:6: warning: variable 'EXITING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:357:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:357:6: warning: variable 'USE_PORTALS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:359:7: warning: initialization of 'ePos' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:359:7: warning: variable 'ePos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:360:23: warning: redundant 'ACTIVECAM' declaration [readability-redundant-declaration] +Arx/src/core/Core.cpp:360:23: warning: variable 'ACTIVECAM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:360:23: warning: variable 'ACTIVECAM' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:362:17: warning: variable 'Kam' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:362:17: warning: variable 'Kam' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:367:6: warning: redundant 'ShowFPS' declaration [readability-redundant-declaration] +Arx/src/core/Core.cpp:368:6: warning: redundant 'ManageNONCombatModeAnimations' declaration [readability-redundant-declaration] +Arx/src/core/Core.cpp:393:13: warning: function 'AdjustUI' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:404:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:405:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:431: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/Core.cpp:484:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:490:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/core/Core.cpp:490:2: warning: undefined behavior, destination object type 'EERIE_BACKGROUND' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:491:2: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:492:2: warning: no header providing "InitBkg" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:492:20: warning: no header providing "MAX_BKGX" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:492:29: warning: no header providing "MAX_BKGZ" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:492:38: warning: no header providing "BKG_SIZX" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:492:47: warning: no header providing "BKG_SIZZ" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:495:33: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/core/Core.cpp:496:32: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/core/Core.cpp:497:32: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/core/Core.cpp:499:26: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/core/Core.cpp:508:14: warning: no header providing "CAM_SUBJVIEW" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:511:2: warning: no header providing "SetActiveCamera" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:512:2: warning: no header providing "SetCameraDepth" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:513:2: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/core/Core.cpp:513:2: warning: undefined behavior, destination object type 'EERIE_CAMERA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:513:2: warning: undefined behavior, source object type 'EERIE_CAMERA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:514:2: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/core/Core.cpp:514:2: warning: undefined behavior, destination object type 'EERIE_CAMERA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:514:2: warning: undefined behavior, source object type 'EERIE_CAMERA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:515:2: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/core/Core.cpp:515:2: warning: undefined behavior, destination object type 'EERIE_CAMERA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:515:2: warning: undefined behavior, source object type 'EERIE_CAMERA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:534:16: warning: no header providing "CAM_TOPVIEW" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:539:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/core/Core.cpp:540:3: warning: undefined behavior, destination object type 'EERIE_CAMERA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:540:3: warning: undefined behavior, source object type 'EERIE_CAMERA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:555:7: warning: no header providing "FastSceneLoad" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:565:3: warning: no header providing "EERIEPOLY_Compute_PolyIn" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:571:13: warning: function 'initializeGame' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:595:9: warning: multilevel pointer conversion from 'TextureContainer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/core/Core.cpp:599:9: warning: multilevel pointer conversion from 'TextureContainer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/core/Core.cpp:611:13: warning: loop variable name 't' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/core/Core.cpp:612:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:613:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:619:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/core/Core.cpp:619:2: warning: undefined behavior, destination object type 'EERIE_BACKGROUND' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:641:17: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/core/Core.cpp:645:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/core/Core.cpp:645:2: warning: undefined behavior, destination object type 'ARXCHARACTER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:658:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/core/Core.cpp:658:2: warning: undefined behavior, destination object type 'PROJECT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/core/Core.cpp:668:39: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:670:40: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:671:37: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:672:40: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:673:42: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:701:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:701:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:727:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:741:10: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:741:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:743:10: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/core/Core.cpp:743:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:743:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:745:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:746:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:748:10: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/core/Core.cpp:748:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:748:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:751:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:754:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:754:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:760:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:762:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:764:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:769:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/core/Core.cpp:772:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:772:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:775:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:781:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:781:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:781:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:783:15: warning: variable 'current' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:1380:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:1381:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:1440:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:1441:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:1453:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/core/Core.cpp:1454:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1458:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1464:13: warning: function 'PlayerLaunchArrow_Test' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:1464:36: warning: 2 adjacent parameters of 'PlayerLaunchArrow_Test' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/core/Core.cpp:1467:2: warning: variable 'dvect' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1468:2: warning: uninitialized record type: 'mat' [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Core.cpp:1469:2: warning: uninitialized record type: 'quat' [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Core.cpp:1472:2: warning: variable 'anglea' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1473:2: warning: variable 'angleb' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1474:10: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:1474:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:1475:10: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:1476:10: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:1476:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:1487:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/core/Core.cpp:1487:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1489:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/core/Core.cpp:1489:8: warning: variable name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1489:11: warning: variable name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1490:8: warning: variable name 'vv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1491:2: warning: variable 'aa' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1491:8: warning: variable name 'aa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1492:2: warning: variable 'ab' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1492:8: warning: variable name 'ab' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1498:2: warning: uninitialized record type: 'tmat' [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Core.cpp:1502:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/core/Core.cpp:1502:2: warning: variable 'wd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1502:8: warning: variable name 'wd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1502:11: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:1502:11: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/core/Core.cpp:1503:21: warning: no header providing "IO_EQUIPITEM_ELEMENT_Damages" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1505:2: warning: variable 'weapon_damages' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1507:2: warning: variable 'damages' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1510:3: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:1510:3: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/core/Core.cpp:1523:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1523:13: warning: variable 'sp_max' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:1528:2: warning: variable 'dvect' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1529:2: warning: uninitialized record type: 'mat' [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Core.cpp:1530:2: warning: uninitialized record type: 'quat' [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Core.cpp:1531:8: warning: variable 'anglea' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:1532:8: warning: variable 'angleb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:1533:8: warning: variable 'velocity' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:1535:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1549:10: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:1549:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:1550:10: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:1551:10: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:1551:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:1565:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/core/Core.cpp:1565:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1567:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/core/Core.cpp:1567:8: warning: variable name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1567:11: warning: variable name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1568:8: warning: variable name 'vv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1569:2: warning: variable 'aa' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1569:8: warning: variable name 'aa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1570:2: warning: variable 'ab' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1570:8: warning: variable name 'ab' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1576:2: warning: uninitialized record type: 'tmat' [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Core.cpp:1580:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/core/Core.cpp:1580:2: warning: variable 'wd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1580:8: warning: variable name 'wd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1580:11: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:1580:11: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/core/Core.cpp:1583:2: warning: variable 'weapon_damages' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1585:2: warning: variable 'damages' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1588:3: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:1588:3: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/core/Core.cpp:1623:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:1623:22: warning: variable 'LAST_JUMP_ENDTIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:1628:6: warning: function 'SetEditMode' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/Core.cpp:1628:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1628:23: warning: parameter name 'ed' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1636:25: warning: loop variable name 'e' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1637:23: warning: no header providing "SHOW_FLAG_HIDDEN" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1637:54: warning: no header providing "SHOW_FLAG_KILLED" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1638:14: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1644:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1657:3: warning: no header providing "EERIE_ANIMMANAGER_PurgeUnused" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1667:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1668:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1669:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1670:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1671:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1672:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1673:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1674:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1679:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1681:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1682:49: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1683:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1686:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1687:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1688:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1689:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1690:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1691:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1692:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1695:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1710:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/core/Core.cpp:1719:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1719:6: warning: variable 'NO_GMOD_RESET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:1723:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1728:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1737:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1750:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1766:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1767:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1774:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1789:7: warning: initialization of 'LastValidPlayerPos' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:1789:7: warning: variable 'LastValidPlayerPos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:1790:7: warning: initialization of 'WILL_RESTORE_PLAYER_POSITION' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Core.cpp:1790:7: warning: variable 'WILL_RESTORE_PLAYER_POSITION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:1791:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1791:6: warning: variable 'WILL_RESTORE_PLAYER_POSITION_FLAG' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:1793:6: warning: function 'FirstFrameHandling' has cognitive complexity of 32 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/Core.cpp:1813:20: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/core/Core.cpp:1820:65: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1820:89: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1821:65: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1821:89: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1822:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/core/Core.cpp:1822:9: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1822:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1822:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1822:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1823:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/core/Core.cpp:1823:9: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1823:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1823:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1823:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1826:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1826:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1826:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1826:62: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1827:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1827:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1827:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1827:62: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:1839:3: warning: no header providing "EERIERemovePrecalcLights" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1844:3: warning: no header providing "SceneAddMultiScnToBackground" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1852:7: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1858:21: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/core/Core.cpp:1876:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1876:43: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/Core.cpp:1898:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1915:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1924:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1927:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:1937:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1954:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1954:2: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1954:7: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1956:27: warning: no header providing "IO_FORCEDRAW" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1960:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1969:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/core/Core.cpp:1970:45: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1982:9: warning: no header providing "CheckInPolyPrecis" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1996:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:1998:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2001:2: warning: no header providing "ANIM_HANDLE" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:2010:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2015:4: warning: no header providing "AcquireLastAnim" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:2016:4: warning: no header providing "ANIM_Set" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:2036:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2041:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2041:6: warning: function 'Player_Arrow_Count' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/Core.cpp:2043:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2049:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:2053:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2065:10: warning: function 'Player_Arrow_Count_Decrease' has cognitive complexity of 37 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/Core.cpp:2067:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:2067:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2077:17: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/core/Core.cpp:2092:7: warning: variable 'GLOBAL_SLOWDOWN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:2097:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2097:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2100:21: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2100:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2102:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2103:18: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:2103:18: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/core/Core.cpp:2103:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2105:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/core/Core.cpp:2105:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2107:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2113:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:2119:17: warning: variable 'str' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:2120:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2120:2: warning: variable 'equiped' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:2132:6: warning: function 'ManageCombatModeAnimations' has cognitive complexity of 292 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/Core.cpp:2135:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:2137:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2142:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2142:7: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:2142:7: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:2143:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2143:2: warning: variable 'weapontype' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:2155:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/core/Core.cpp:2155:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/core/Core.cpp:2179:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2179:17: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2203:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2203:18: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2206:16: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2207:13: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2213:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2213:8: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:2213:13: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:2221:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2223:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2223:15: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:2225:46: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2229:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2233:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2244:103: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2254:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2254:8: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:2254:13: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:2262:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2264:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2264:15: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:2266:46: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2270:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2274:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2285:103: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2318:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2318:17: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2335:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2336:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2354:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2354:18: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2359:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2359:89: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2387:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2387:17: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2404:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2405:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2428:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2428:90: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2458:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2458:17: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2476:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2477:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2500:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2500:90: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2511:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2513:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2516:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/core/Core.cpp:2516:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2522:15: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2522:16: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2538:84: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2547:15: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2547:16: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2560:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:2560:20: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/core/Core.cpp:2571:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2574:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2580:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2592:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/core/Core.cpp:2592:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2611:6: warning: function 'ManageCombatModeAnimationsEND' has cognitive complexity of 102 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/Core.cpp:2613:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:2629:5: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2630:13: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2630:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2634:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2634:3: warning: variable 'weapontype' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:2645:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2648:3: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/core/Core.cpp:2648:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/core/Core.cpp:2664:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2667:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2667:17: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2693:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2696:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2696:18: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2710:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2728:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2731:7: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/core/Core.cpp:2731:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2731:18: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2763:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2766:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:2766:18: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:2800:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2837:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2843:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2863:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2868:7: warning: variable 'LAST_FADEVALUE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:2871:2: warning: variable 'tim' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:2871:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2873:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2875:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2877:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2879:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/core/Core.cpp:2879:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2891:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2891:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2891:72: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2894:2: warning: variable 'col' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:2895:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2895:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2896:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2896:30: warning: narrowing conversion from 'float' to 'unsigned char' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2896:49: warning: narrowing conversion from 'float' to 'unsigned char' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2896:68: warning: narrowing conversion from 'float' to 'unsigned char' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2901:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2901:13: warning: variable 'cur_mr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:2902:27: warning: variable 'Mr_tc' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:2902:27: warning: variable 'Mr_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:2902:27: warning: variable 'Mr_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:2902:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2910:20: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:2910:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2910:70: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2923:3: warning: variable 'mod' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:2924:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2924:44: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2928:7: warning: variable 'MagicSightFader' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:2931:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2938:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/core/Core.cpp:2938:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2942:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2949:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2949:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2954:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2954:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2954:75: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2957:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/core/Core.cpp:2957:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:2970:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/core/Core.cpp:2970:8: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:2970:8: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:2970:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:2970:12: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:2974:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:2980:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:2981:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2981:30: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/core/Core.cpp:2981:36: warning: no header providing "BBOXMIN" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:2982:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2982:30: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/core/Core.cpp:2983:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2983:30: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/core/Core.cpp:2983:36: warning: no header providing "BBOXMAX" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:2984:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:2984:30: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/core/Core.cpp:3000:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/core/Core.cpp:3009:17: warning: 4 adjacent parameters of 'AddQuakeFX' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/core/Core.cpp:3009:61: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:3015:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:3015:22: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:3020:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3021:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3021:39: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/Core.cpp:3021:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/Core.cpp:3027:38: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:3029:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:3029:21: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:3033:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3034:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3034:39: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/Core.cpp:3034:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/Core.cpp:3039:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/core/Core.cpp:3039:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3041:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/core/Core.cpp:3041:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3048:3: warning: variable 'tim' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3048:13: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:3048:13: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/core/Core.cpp:3048:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:3050:14: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:3056:3: warning: variable 'itmod' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3056:24: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/core/Core.cpp:3057:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/core/Core.cpp:3057:3: warning: variable 'periodicity' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3057:21: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/core/Core.cpp:3059:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3060:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3060:39: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/Core.cpp:3060:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/core/Core.cpp:3062:3: warning: variable 'truepower' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3063:3: warning: variable 'halfpower' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3077:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:3078:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3093:6: warning: function 'DANAE_ManageSplashThings' has cognitive complexity of 33 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/Core.cpp:3130:4: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:3130:4: warning: variable 'tim' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3131:4: warning: variable 'pos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3131:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:3131:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:3159:4: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:3159:4: warning: variable 'tim' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3160:4: warning: variable 'pos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3160:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:3160:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:3176:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:3179:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3217:2: warning: variable 'cinematic' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3247:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:3249:2: warning: variable 'FrameTicks' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3300:20: warning: reference variable 'button' extends the lifetime of a just-constructed temporary object 'const ActionKey', consider changing reference to value [readability-reference-to-constructed-temporary] +Arx/src/core/Core.cpp:3336:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:3336:12: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/core/Core.cpp:3337:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:3337:12: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/core/Core.cpp:3339:7: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/core/Core.cpp:3348:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:3352:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3355:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3358:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3362:14: warning: variable 'CURRENT_PLAYER_COLOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:3364:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:3364:6: warning: variable 'TSU_TEST_NB' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:3365:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:3365:6: warning: variable 'TSU_TEST_NB_LIGHT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.cpp:3369:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:3369:2: warning: variable 'uGAT' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3369:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/core/Core.cpp:3369:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.cpp:3370:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:3370:2: warning: variable 'GAT' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3370:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Core.cpp:3370:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:3371:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:3372:2: warning: variable 'fpss2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3375:2: warning: variable 'fps2v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3376:2: warning: variable 'fps2vmin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3387:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3387:87: warning: no header providing "EERIEDrawnPolys" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:3391:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:3394:15: warning: no header providing "GetTruePolyY" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:3394:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3397:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3399:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3403:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3405:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3407:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.cpp:3409:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3409:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3410:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3413:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3421:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3426:5: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:3433:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3436:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3501:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:3501:2: warning: variable 'zap' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:3501:11: warning: no header providing "IsAnyPolyThere" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:3502:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3505:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3514:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.cpp:3515:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/Core.cpp:3515:28: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:3515:28: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/core/Core.cpp:3530:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3532:49: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3533:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3538:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3539:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3540:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3541:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3542:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3543:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3544:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3547:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3565:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3577:46: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3588:2: warning: no header providing "ClearBackground" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:3595:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:3596:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3598:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.cpp:3603:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Core.h:66:16: warning: variable 'FADECOLOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:67:27: warning: variable 'TC_fire2' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:67:27: warning: variable 'TC_fire2' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:68:27: warning: variable 'TC_fire' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:68:27: warning: variable 'TC_fire' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:69:27: warning: variable 'TC_smoke' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:69:27: warning: variable 'TC_smoke' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:70:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.h:70:27: warning: variable 'GoldCoinsTC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:71:22: warning: variable 'cabal' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:71:22: warning: variable 'cabal' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:72:22: warning: variable 'cameraobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:72:22: warning: variable 'cameraobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:73:22: warning: variable 'markerobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:73:22: warning: variable 'markerobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:74:14: warning: variable 'lastteleport' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:75:21: warning: variable 'bookcam' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:76:14: warning: variable 'DANAEMouse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:77:21: warning: variable 'subj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:77:27: warning: variable 'mapcam' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:78:14: warning: variable 'moveto' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:79:14: warning: variable 'STARTDRAG' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:80:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.h:80:22: warning: variable 'GoldCoinsObj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:81:22: warning: variable 'nodeobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:81:22: warning: variable 'nodeobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:82:14: warning: variable 'Mscenepos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:84:29: warning: variable 'mse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:84:29: warning: variable 'mse' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:85:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:85:13: warning: variable 'ADDED_IO_NOT_SAVED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:87:23: warning: variable 'Kam' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:87:23: warning: variable 'Kam' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:88:17: warning: variable 'COMBINE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:88:17: warning: variable 'COMBINE' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:89:18: warning: variable 'LastLoadedScene' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:90:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.h:90:13: warning: variable 'TELEPORT_TO_LEVEL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:91:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/core/Core.h:91:13: warning: variable 'TELEPORT_TO_POSITION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:92:14: warning: variable 'PULSATE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:93:14: warning: variable 'framedelay' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:94:14: warning: variable 'BASE_FOCAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:96:14: warning: redundant 'Xratio' declaration [readability-redundant-declaration] +Arx/src/core/Core.h:96:14: warning: variable 'Xratio' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:97:14: warning: redundant 'Yratio' declaration [readability-redundant-declaration] +Arx/src/core/Core.h:97:14: warning: variable 'Yratio' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:98:35: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/core/Core.h:101:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:101:13: warning: variable 'FADEDURATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:102:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:102:13: warning: variable 'FADEDIR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:103:14: warning: variable 'FrameDiff' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:104:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:104:13: warning: variable 'FirstFrame' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:110:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:112:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:112:13: warning: variable 'SHOW_TORCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:113:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:113:13: warning: variable 'CURRENTLEVEL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:114:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:114:13: warning: variable 'TELEPORT_TO_ANGLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:115:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:115:13: warning: variable 'DANAESIZX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:116:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:116:13: warning: variable 'DANAESIZY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:117:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:117:13: warning: variable 'DANAECENTERX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:118:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:118:13: warning: variable 'DANAECENTERY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:119:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.h:119:22: warning: variable 'FADESTART' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:120:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.h:120:22: warning: variable 'AimTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:123:14: warning: variable 'savegame_thumbnail' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:125:14: warning: variable 'Original_framedelay' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:126:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:126:13: warning: variable 'LOADEDD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:127:20: warning: variable 'WILL_LAUNCH_CINE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:128:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:128:13: warning: variable 'PLAY_LOADED_CINEMATIC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:129:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:129:13: warning: variable 'CINE_PRELOAD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:131:8: warning: accessing fields in struct 'QUAKE_FX_STRUCT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/core/Core.h:134:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.h:135:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/Core.h:136:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:138:24: warning: variable 'QuakeFx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Core.h:140:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:140:23: warning: parameter name 'ed' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Core.h:140:27: warning: parameter 'stop_sound' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/core/Core.h:141:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.h:151:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/GameTime.cpp:51:11: warning: initialization of 'arxtime' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/GameTime.cpp:51:11: warning: variable 'arxtime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/GameTime.cpp:57:2: warning: 'start_time' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/GameTime.cpp:58:2: warning: 'pause_time' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/GameTime.cpp:59:2: warning: 'paused' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/GameTime.cpp:60:2: warning: 'delta_time_us' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/GameTime.cpp:61:2: warning: 'frame_time_us' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/GameTime.cpp:62:2: warning: 'last_frame_time_us' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/GameTime.cpp:63:2: warning: 'frame_delay_ms' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/GameTime.cpp:94:2: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/src/core/GameTime.cpp:94:2: warning: variable 'requested_time' of type 'u64' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/core/GameTime.cpp:94:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/GameTime.h:56:8: warning: class 'time' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/core/GameTime.h:61:3: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/core/GameTime.h:71:3: warning: function 'force_frame_time_restore' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:71:53: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/GameTime.h:72:20: warning: narrowing conversion from 'float' to 'u64' (aka 'unsigned long') [bugprone-narrowing-conversions] +Arx/src/core/GameTime.h:73:25: warning: narrowing conversion from 'float' to 'u64' (aka 'unsigned long') [bugprone-narrowing-conversions] +Arx/src/core/GameTime.h:76:3: warning: function 'operator>' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:76:38: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/GameTime.h:77:11: warning: narrowing conversion from 'u64' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/core/GameTime.h:80:3: warning: function 'operator float' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:80:10: warning: 'operator float' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/core/GameTime.h:81:11: warning: narrowing conversion from 'u64' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/core/GameTime.h:84:3: warning: function 'operator long' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:84:10: warning: 'operator long' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/core/GameTime.h:84:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/GameTime.h:86:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/GameTime.h:89:3: warning: function 'operator unsigned long' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:89:10: warning: 'operator unsigned long' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/core/GameTime.h:89:19: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/GameTime.h:90:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/GameTime.h:93:3: warning: function 'setMs' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:93:34: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/GameTime.h:94:20: warning: narrowing conversion from 'float' to 'u64' (aka 'unsigned long') [bugprone-narrowing-conversions] +Arx/src/core/GameTime.h:97:3: warning: function 'update' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:106:3: warning: function 'get_updated' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:109:11: warning: narrowing conversion from 'u64' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/core/GameTime.h:112:3: warning: function 'get_updated_ul' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:112:10: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/GameTime.h:115:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/GameTime.h:118:3: warning: function 'is_paused' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:118:3: warning: function 'is_paused' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/core/GameTime.h:123:3: warning: function 'increment_start_time' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:127:3: warning: function 'get_frame_time' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:127:3: warning: function 'get_frame_time' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/core/GameTime.h:128:11: warning: narrowing conversion from 'u64' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/core/GameTime.h:131:3: warning: function 'get_last_frame_time' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:131:3: warning: function 'get_last_frame_time' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/core/GameTime.h:132:11: warning: narrowing conversion from 'u64' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/core/GameTime.h:135:3: warning: function 'get_frame_delay' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:135:3: warning: function 'get_frame_delay' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/core/GameTime.h:139:3: warning: function 'update_frame_time' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:142:21: warning: narrowing conversion from 'u64' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/core/GameTime.h:145:3: warning: function 'update_last_frame_time' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/core/GameTime.h:176:1: warning: namespace 'arx' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/core/GameTime.h:178:18: warning: variable 'arxtime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Localisation.cpp:22:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/core/Localisation.cpp:25:1: warning: included header iterator is not used directly [misc-include-cleaner] +Arx/src/core/Localisation.cpp:40:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/Localisation.cpp:43:11: warning: variable 'localisation' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Localisation.cpp:46:8: warning: no header providing "PakFile" is directly included [misc-include-cleaner] +Arx/src/core/Localisation.cpp:46:18: warning: function 'autodetectLanguage' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Localisation.cpp:48:2: warning: no header providing "PakDirectory" is directly included [misc-include-cleaner] +Arx/src/core/Localisation.cpp:51:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Localisation.cpp:55:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Localisation.cpp:57:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/core/Localisation.cpp:75:3: warning: variable 'length' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:76:3: warning: variable 'language' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:100:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/core/Localisation.cpp:118:12: warning: variable 'file' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Localisation.cpp:127:3: warning: variable 'filename' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:152:2: warning: variable 'out' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:169:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Localisation.cpp:170:9: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/Localisation.h:37:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/SaveGame.cpp:33:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:37:23: warning: 'SAVEGAME_NAME' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/core/SaveGame.cpp:37:23: warning: initialization of 'SAVEGAME_NAME' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/SaveGame.cpp:38:23: warning: 'SAVEGAME_DIR' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/core/SaveGame.cpp:38:23: warning: initialization of 'SAVEGAME_DIR' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/SaveGame.cpp:39:23: warning: 'SAVEGAME_THUMBNAIL' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/core/SaveGame.cpp:39:23: warning: initialization of 'SAVEGAME_THUMBNAIL' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/SaveGame.cpp:40:26: warning: 'QUICKSAVE_ID' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/core/SaveGame.cpp:40:26: warning: initialization of 'QUICKSAVE_ID' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/SaveGame.cpp:42: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:48:12: warning: 'saveTimeCompare' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/core/SaveGame.cpp:48:45: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/SaveGame.cpp:48:65: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/SaveGame.cpp:52:2: warning: anonymous namespace ends with an unrecognized comment [llvm-namespace-comment] +Arx/src/core/SaveGame.cpp:54:14: warning: variable 'savegames' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/SaveGame.cpp:56:20: warning: function 'update' has cognitive complexity of 50 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/core/SaveGame.cpp:60:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:60:2: warning: variable 'old_count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:61:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:67:2: warning: variable 'savedir' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:75:3: warning: variable 'dirname' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:76:3: warning: variable 'path' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:78:3: warning: variable 'stime' of type 'std::time_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:78:8: warning: no header providing "std::time_t" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:84:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/core/SaveGame.cpp:84:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/SaveGame.cpp:90:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/SaveGame.cpp:96:9: warning: variable 'version' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/SaveGame.cpp:97:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/SaveGame.cpp:97:8: warning: variable 'level' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/SaveGame.cpp:98:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/core/SaveGame.cpp:98:17: warning: variable 'ignored' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/SaveGame.cpp:106:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/SaveGame.cpp:123:3: warning: variable 'thumbnail' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:129:9: warning: no header providing "res::path" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:130:11: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/SaveGame.cpp:146:16: warning: no header providing "tm" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:146:21: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/SaveGame.cpp:146:26: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/core/SaveGame.cpp:146:26: warning: no header providing "localtime" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:155:9: warning: variable name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/SaveGame.cpp:163: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:166:20: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/SaveGame.cpp:189: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:203:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:205: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:206:2: warning: variable 'savedir' of type 'fs::path' can be declared 'const' [misc-const-correctness] +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:209:3: 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:72: warning: no header providing "Image" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:248:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/core/SaveGame.cpp:249:26: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:254:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/core/SaveGame.cpp:264:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/SaveGame.h:32:8: warning: accessing fields in struct 'SaveGame' is inefficient due to padding; only needs 145 bytes but is using 152 bytes [altera-struct-pack-align] +Arx/src/core/SaveGame.h:32:8: warning: accessing fields in struct 'SaveGame' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/core/SaveGame.h:41:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/SaveGame.h:41:7: warning: use default member initializer for 'level' [modernize-use-default-member-init] +Arx/src/core/SaveGame.h:46:2: warning: constructor does not initialize these fields: quicksave, stime [cppcoreguidelines-pro-type-member-init] +Arx/src/core/SaveGame.h:54:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/core/SaveGame.h:71:57: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/SaveGame.h:71:83: warning: parameter name 'th' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/SaveGame.h:72:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/SaveGame.h:72:67: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/SaveGame.h:82:7: warning: function 'SaveGameList::remove' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/core/SaveGame.h:85:45: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/SaveGame.h:87:2: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/core/SaveGame.h:88:2: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/core/SaveGame.h:90:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/core/SaveGame.h:99:21: warning: variable 'savegames' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Startup.cpp:21: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:26:1: warning: included header set is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:27:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:28:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:38:1: warning: included header foreach.hpp is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:51:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:68:13: warning: function 'showCommandLineHelp' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Startup.cpp:68:54: warning: no header providing "util::cmdline::interpreter" is directly included [misc-include-cleaner] +Arx/src/core/Startup.cpp:69:48: warning: parameter name 'os' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/core/Startup.cpp:74:19: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/core/Startup.cpp:78:13: warning: function 'handleHelpOption' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Startup.cpp:86:2: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/core/Startup.cpp:91:19: warning: function 'parseCommandLine' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Startup.cpp:103:25: warning: no header providing "util::cmdline::error" is directly included [misc-include-cleaner] +Arx/src/core/Startup.cpp:135:46: warning: no header providing "BOOST_LIB_VERSION" is directly included [misc-include-cleaner] +Arx/src/core/Startup.cpp:165:4: warning: variable 'logFile' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/URLConstants.h:25:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Camera.cpp:20:1: warning: included header Camera.h is not used directly [misc-include-cleaner] +Arx/src/game/Camera.h:25:8: warning: accessing fields in struct 'IO_CAMDATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Damage.cpp:78:1: warning: included header Vertex.h is not used directly [misc-include-cleaner] +Arx/src/game/Damage.cpp:82:1: warning: included header ResourcePath.h is not used directly [misc-include-cleaner] +Arx/src/game/Damage.cpp:99:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:99:13: warning: variable 'REFUSE_GAME_RETURN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:101:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Damage.cpp:101:13: warning: initialization of 'damages' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Damage.cpp:101:13: warning: variable 'damages' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:102:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:102:14: warning: variable 'PUSH_PLAYER_FORCE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:104:7: warning: variable 'Blood_Pos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:105:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:105:6: warning: variable 'Blood_Duration' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:106:13: warning: function 'ARX_DAMAGES_IgnitIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:106:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:109:28: warning: no header providing "IO_INVULNERABILITY" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:109:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:117:20: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:117:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:118:25: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:118:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:119:25: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:119:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:132:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:145:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:146:62: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:147:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:150:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:150:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:150:75: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:160:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:162:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:165:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:165:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:165:75: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:180:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:181:18: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Damage.cpp:181:18: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Damage.cpp:183:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:185:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:185:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Damage.cpp:185:21: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Damage.cpp:193:7: warning: function 'ARX_DAMAGES_DamagePlayer' has cognitive complexity of 80 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Damage.cpp:193:54: warning: the parameter 'type' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Damage.cpp:193:60: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:194:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:199:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:201:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:202:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:206:6: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Damage.cpp:206:23: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:210:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:212:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:213:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:215:34: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Damage.cpp:215:35: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Damage.cpp:216:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Damage.cpp:217:3: 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:220:3: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:229:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:235:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:236:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:239:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:243:25: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:245:23: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:248:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:253:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:253:8: warning: variable 'alive' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Damage.cpp:255:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:256:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:258:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:297:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:299:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:299:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:303:21: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:305:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:305:4: warning: variable 'temp' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:305:16: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:318:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:322:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:325:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:325:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:328:37: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:330:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:330:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:332:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:334:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:336:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:342:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:342:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:347:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:353:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:353:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:356:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:358:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:358:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:360:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:362:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:364:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:370:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:370:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:373:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:375:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:375:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:377:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:381:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:390:3: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:390:9: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:401:2: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:401:8: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:407:37: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:407:41: warning: 3 adjacent parameters of 'ARX_DAMAGES_DamageFIX' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Damage.cpp:407:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:407:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:413:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:418:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:420:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:421:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:423:6: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Damage.cpp:423:23: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:425:19: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Damage.cpp:425:20: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Damage.cpp:426:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Damage.cpp:427:3: 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:432:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:441:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Damage.cpp:447: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:449:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:452:7: 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:455:7: 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:458:7: 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:461:7: 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:464:7: 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:467:7: 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:471:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:471:8: 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:473:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:477:17: warning: redundant 'FlyingOverIO' declaration [readability-redundant-declaration] +Arx/src/game/Damage.cpp:477:17: warning: variable 'FlyingOverIO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:477:17: warning: variable 'FlyingOverIO' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:478:29: warning: redundant 'MasterCamera' declaration [readability-redundant-declaration] +Arx/src/game/Damage.cpp:478:29: warning: variable 'MasterCamera' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:480:6: warning: function 'ARX_DAMAGES_ForceDeath' has cognitive complexity of 46 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Damage.cpp:480:29: warning: 2 adjacent parameters of 'ARX_DAMAGES_ForceDeath' of similar type ('Entity *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Damage.cpp:489:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:490:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:492:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:493:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:495:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:498:68: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:502:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:507:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:524:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:529:5: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:536:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:541:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:544:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:551:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:556:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:565:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:577:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:578:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:579:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:588:17: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:589:21: warning: no header providing "IO_NO_NPC_COLLIDE" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:600:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:606:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:618:7: warning: function 'ARX_DAMAGES_DealDamages' has cognitive complexity of 61 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Damage.cpp:618:31: warning: 2 adjacent parameters of 'ARX_DAMAGES_DealDamages' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Damage.cpp:618:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:618:55: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:618:79: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Damage.cpp:621:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:626:8: warning: variable 'damagesdone' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Damage.cpp:637:24: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:642:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:644:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Damage.cpp:647:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:687:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Damage.cpp:693:25: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:698:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:700:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Damage.cpp:705:26: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:705:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:715:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:738:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:749:13: warning: variable 'bHitFlash' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:750:14: warning: variable 'fHitFlash' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:751:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Damage.cpp:751:22: warning: variable 'ulHitFlash' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.cpp:756:7: warning: function 'ARX_DAMAGES_DamageNPC' has cognitive complexity of 120 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Damage.cpp:756:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:756:42: warning: 3 adjacent parameters of 'ARX_DAMAGES_DamageNPC' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Damage.cpp:756:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:756:66: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:761:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:771:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:782:6: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Damage.cpp:782:23: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:789:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:790:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:792:19: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Damage.cpp:792:20: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Damage.cpp:793:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Damage.cpp:798:4: 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:800:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:801:4: 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:805:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:805:3: warning: variable 'n' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:805:8: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:817:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:827:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:834:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:839:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:843:25: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:845:33: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:848:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:853:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:857:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:859:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:860:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:862:5: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Damage.cpp:868:7: 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:870:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:873:9: 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:876:9: 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:879:9: 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:882:9: 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:885:9: 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:888:9: 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:892:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:892:10: 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:898:6: 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:901:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:929:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:935:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:935:5: warning: variable 'xp' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:935:10: warning: variable name 'xp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:938:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:941:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:941:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:952:2: warning: undefined behavior, destination object type 'DAMAGE_INFO[200]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Damage.cpp:957:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:964:28: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Damage.cpp:964:29: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Damage.cpp:967:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:968:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:974:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Damage.cpp:974:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:974:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:977:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:983:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:983:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:983:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:985:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Damage.cpp:985:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:985:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:986:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:991:42: warning: parameter name 'di' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:991:79: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:997:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:999:24: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1002:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Damage.cpp:1002:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Damage.cpp:1002:2: warning: variable 'tim' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1002:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1002:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Damage.cpp:1006:50: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Damage.cpp:1006:57: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Damage.cpp:1008:47: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Damage.cpp:1008:54: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Damage.cpp:1012:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1014:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1020:4: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1043:6: warning: function 'ARX_DAMAGES_UpdateDamage' has cognitive complexity of 288 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Damage.cpp:1043:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1043:36: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1049:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1059:9: warning: variable 'dmg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Damage.cpp:1060:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1061:4: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Damage.cpp:1062:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1065:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Damage.cpp:1065:10: warning: variable name 'FD' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1065:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Damage.cpp:1065:15: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Damage.cpp:1067:14: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1067:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1068:11: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1073:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1073:3: warning: variable 'validsource' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1074:3: warning: variable 'divradius' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1078:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1081:32: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1083:33: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1084:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1084:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1085:42: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1085:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1092:83: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1099:35: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1104:7: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1108:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1108:29: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1110:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:1111:33: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1111:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Damage.cpp:1112:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Damage.cpp:1115:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1118:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1132:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1133:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1142:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1143:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1151:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1156:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1162:14: warning: variable 'manadrained' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Damage.cpp:1194:14: warning: variable 'damagesdone' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Damage.cpp:1201:30: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1208:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1240:30: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1246:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1261:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1281:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1295:35: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1303:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1303:34: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Damage.cpp:1304:18: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1304:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1310:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1311:28: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1313:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1315:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:1315:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1317:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:1317:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1319:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1319:7: warning: variable 'step' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Damage.cpp:1321:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1322:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1323:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1324:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1325:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1335:6: warning: function 'ARX_DAMAGES_TryToDoDamage' has cognitive complexity of 61 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Damage.cpp:1335:45: warning: 2 adjacent parameters of 'ARX_DAMAGES_TryToDoDamage' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Damage.cpp:1335:70: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1340:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1342:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:1342:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1344:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1345:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1346:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1346:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1348:13: warning: variable 'threshold' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Damage.cpp:1356:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1358:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1360:11: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1360:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1365:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1383:6: warning: function 'CheckForIgnition' has cognitive complexity of 56 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Damage.cpp:1383:61: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1385:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1386:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Damage.cpp:1388:18: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1390:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.cpp:1390:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1398:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1403:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1415:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Damage.cpp:1416:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1421:31: warning: no header providing "IO_UNDERWATER" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1438:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1443:37: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1449:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1459:6: warning: function 'DoSphericDamage' has cognitive complexity of 134 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Damage.cpp:1459:89: warning: the parameter 'typ' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Damage.cpp:1459:94: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1467:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1469:2: warning: variable 'rad' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1470:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1470:2: warning: variable 'validsource' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1475:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1475:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1478:74: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1481:24: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1481:54: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1481:65: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1483:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1484:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1495:8: warning: variable 'posi' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1497:8: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1500:9: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1500:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1507:6: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1513:7: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1513:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1518:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1518:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1520:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1521:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1521:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Damage.cpp:1523:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1523:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1572:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1590:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1593:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1599:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1600:33: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/game/Damage.cpp:1604:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1606:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1608:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1610:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1618:3: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1619:3: warning: variable 'to_restore' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1620:9: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1624:4: warning: variable 'mloss' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1627:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1627:54: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1634:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1634:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1638:4: warning: variable 'mloss' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1642:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1642:47: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1650:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1650:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1652:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1657:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1659:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1666:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.cpp:1668:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1681:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1681:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1683:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Damage.cpp:1683:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:1694:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1696:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1698:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1700:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1702:2: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1703:16: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1705:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1709:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.h:80:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.h:80:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.h:80:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Damage.h:80:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Damage.h:82: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:88: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/Damage.h:96:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.h:96:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.h:96:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Damage.h:96:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Damage.h:98:8: warning: accessing fields in struct 'DAMAGE_INFO' is inefficient due to padding; only needs 104 bytes but is using 112 bytes [altera-struct-pack-align] +Arx/src/game/Damage.h:98:8: warning: accessing fields in struct 'DAMAGE_INFO' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Damage.h:98:8: warning: constructor does not initialize these fields: exist, active, damages, radius, start_time, duration, source, area, special, special_ID, lastupd [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Damage.h:99:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Damage.h:100:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Damage.h:104:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Damage.h:105:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Damage.h:105:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Damage.h:106:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:109:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:113:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:114:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:115:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Damage.h:120:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Damage.h:120:20: warning: variable 'damages' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Damage.h:127:61: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:129:95: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.h:129:98: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:134:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:137:60: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:138:37: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.h:138:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:138:70: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:139:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.h:139:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:139:71: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:139:101: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Damage.h:140:70: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:142:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:142:36: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.h:143:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:143:55: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.h:145:37: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.h:147:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.h:148:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Damage.h:149:6: warning: function 'ARX_DAMAGES_DurabilityRestore' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/game/Damage.h:149:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.cpp:58:1: warning: included header Levels.h is not used directly [misc-include-cleaner] +Arx/src/game/Entity.cpp:59:1: warning: included header NPC.h is not used directly [misc-include-cleaner] +Arx/src/game/Entity.cpp:70:17: warning: variable 'pIOChangeWeapon' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Entity.cpp:70:17: warning: variable 'pIOChangeWeapon' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Entity.cpp:73:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Entity.cpp:76:2: warning: 'm_index' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:78:2: warning: 'ioflags' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:78:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:79:2: warning: 'lastpos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:80:2: warning: 'pos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:81:2: warning: 'move' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:82:2: warning: 'lastmove' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:83:2: warning: 'forcedmove' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:85:2: warning: 'angle' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:86:2: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Entity.cpp:87:2: warning: 'room' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:88:2: warning: 'room_flags' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:89:2: warning: 'original_height' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:90:2: warning: 'original_radius' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:91:2: warning: 'inv' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:91:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:92:2: warning: 'obj' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:92:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:93:7: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:93:32: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Entity.cpp:93:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:95:2: warning: 'lastanimvertex' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:95:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:96:2: warning: 'nb_lastanimvertex' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:97:2: warning: 'lastanimtime' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:99:2: warning: undefined behavior, destination object type 'EERIE_3D_BBOX' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Entity.cpp:99:33: warning: no header providing "EERIE_3D_BBOX" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:103:2: warning: 'tweaky' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:103:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:104:2: warning: 'sound' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:104:17: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:105:2: warning: 'type_flags' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:105:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:106:2: warning: 'scriptload' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:107:2: warning: 'target' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:108:2: warning: 'targetinfo' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:110:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:110:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:110:48: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:110:65: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:112:2: warning: 'inventory' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:112:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:113:2: warning: 'show' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:114:2: warning: 'collision' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:114:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:115:2: warning: 'infracolor' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:116:2: warning: 'changeanim' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:118:2: warning: 'ident' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:119:2: warning: 'weight' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:120:2: warning: 'gameFlags' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:121:2: warning: 'velocity' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:122:2: warning: 'fall' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:124:2: warning: 'stopped' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:125:2: warning: 'initpos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:126:2: warning: 'initangle' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:127:2: warning: 'scale' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:129:2: warning: 'usepath' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:129:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:130:2: warning: 'symboldraw' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:130:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:131:2: warning: 'dynlight' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:132:2: warning: 'lastspeechflag' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:133:2: warning: 'inzone' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:133:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:134:2: warning: undefined behavior, destination object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Entity.cpp:135:2: warning: undefined behavior, destination object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Entity.cpp:138:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:143:2: warning: undefined behavior, destination object type 'EERIE_SCRIPT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Entity.cpp:143:33: warning: no header providing "EERIE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:144:2: warning: undefined behavior, destination object type 'EERIE_SCRIPT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Entity.cpp:145:2: warning: 'stat_count' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:146:2: warning: 'stat_sent' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:147:2: warning: 'tweakerinfo' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:147:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:148:2: warning: 'material' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:148:13: warning: no header providing "MATERIAL_NONE" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:150:2: warning: 'sizex' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:151:2: warning: 'sizey' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:152:2: warning: 'soundtime' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:153:2: warning: 'soundcount' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:155:2: warning: 'sfx_time' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:156:2: warning: 'collide_door_time' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:157:2: warning: 'ouch_time' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:158:2: warning: 'dmg_sum' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:160:2: warning: undefined behavior, destination object type 'IO_SPELLCAST_DATA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Entity.cpp:161:2: warning: 'flarecount' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:162:2: warning: 'no_collide' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:163:2: warning: 'invisibility' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:164:2: warning: 'frameloss' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:165:2: warning: 'basespeed' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:167:2: warning: 'speed_modif' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:168:2: warning: 'spells_on' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:168:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:169:2: warning: 'nb_spells_on' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:170:2: warning: 'damagedata' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:172:2: warning: 'rubber' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:174:2: warning: 'poisonous' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:175:2: warning: 'poisonous_count' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:177:2: warning: 'ignition' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:178:2: warning: 'ignit_light' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:179:2: warning: 'ignit_sound' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:180:2: warning: 'head_rot' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:182:2: warning: 'damager_damages' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:183:2: warning: 'damager_type' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:183:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:185:2: warning: 'sfx_flag' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:185:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:186:2: warning: 'secretvalue' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:188:2: warning: 'shop_multiply' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:189:2: warning: 'isHit' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:190:2: warning: 'inzone_show' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:191:2: warning: 'summoner' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:192:2: warning: 'spark_n_blood' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/game/Entity.cpp:194:2: warning: no header providing "ARX_SCRIPT_SetMainEvent" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:198:9: warning: function '~Entity' has cognitive complexity of 27 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Entity.cpp:215:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:231:2: warning: no header providing "ARX_SCRIPT_Timer_Clear_For_IO" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:234:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:237:2: warning: no header providing "ARX_SPELLS_RemoveAllSpellsOn" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:240:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:244:2: warning: no header providing "ReleaseScript" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:247:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Entity.cpp:247:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.cpp:247:11: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Entity.cpp:250:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:255:3: warning: no header providing "damages" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:266:2: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:268:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:288:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:293:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Entity.cpp:298:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.cpp:307:20: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.cpp:319:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Entity.h:76:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/game/Entity.h:76:9: warning: macro 'MAX_ANIMS' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/game/Entity.h:76:9: warning: macro 'MAX_ANIMS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/Entity.h:77:9: warning: macro 'MAX_ANIM_LAYERS' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/game/Entity.h:77:9: warning: macro 'MAX_ANIM_LAYERS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/Entity.h:78:9: warning: macro 'BASE_RUBBER' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/Entity.h:80:8: warning: accessing fields in struct 'IO_PHYSICS' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Entity.h:88:8: warning: accessing fields in struct 'ANIM_USE' is inefficient due to padding; only needs 64 bytes but is using 72 bytes [altera-struct-pack-align] +Arx/src/game/Entity.h:88:8: warning: accessing fields in struct 'ANIM_USE' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/Entity.h:91:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:92:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:93:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:94:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Entity.h:95:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Entity.h:96:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:98:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:106:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:106:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:106:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:106:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +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:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:123:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:123:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:123:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:125: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:131:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:131:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:131:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:131:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:133:8: warning: accessing fields in struct 'IO_HALO' is inefficient due to padding; only needs 40 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/game/Entity.h:133:8: warning: accessing fields in struct 'IO_HALO' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/Entity.h:133:8: warning: constructor does not initialize these fields: radius, dynlight [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Entity.h:137:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:141:8: warning: accessing fields in struct 'IO_TWEAKER_INFO' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Entity.h:147:8: warning: accessing fields in struct 'IO_SPELLCAST_DATA' is inefficient due to padding; only needs 42 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/game/Entity.h:147:8: warning: accessing fields in struct 'IO_SPELLCAST_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/Entity.h:147:8: warning: constructor does not initialize these fields: castingspell, spell_level, target, duration [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Entity.h:149:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Entity.h:151:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:152:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:153:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:190:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:190:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:190:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:190:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:192: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:197:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:197:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:197:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:197:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:200: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:219:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:219:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Entity.h:219:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:219:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Entity.h:221: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:234: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:234:7: warning: class 'Entity' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/Entity.h:241:14: warning: member variable 'ioflags' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:242:8: warning: member variable 'lastpos' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:243:8: warning: member variable 'pos' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:244:8: warning: member variable 'move' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:245:8: warning: member variable 'lastmove' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:246:8: warning: member variable 'forcedmove' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:248:9: warning: member variable 'angle' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:249:13: warning: member variable 'physics' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:250:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:250:8: warning: member variable 'room' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:251:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:251:8: warning: member variable 'room_flags' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:252:8: warning: member variable 'original_height' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:253:8: warning: member variable 'original_radius' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:254:21: warning: member variable 'inv' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:255:16: warning: member variable 'obj' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:256:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Entity.h:256:16: warning: member variable 'anims' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:257:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Entity.h:257:11: warning: member variable 'animlayer' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:258:10: warning: member variable 'lastanimvertex' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:259:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:259:7: warning: member variable 'nb_lastanimvertex' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:260:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Entity.h:260:16: warning: member variable 'lastanimtime' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:262:16: warning: member variable 'bbox3D' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:263:8: warning: member variable 'bbox1' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:264:8: warning: member variable 'bbox2' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:265:12: warning: member variable 'usemesh' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:266:16: warning: member variable 'tweaky' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:267:18: warning: member variable 'sound' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:268:11: warning: member variable 'type_flags' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:269:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:269:7: warning: member variable 'scriptload' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:270:8: warning: member variable 'target' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:271:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:271:7: warning: member variable 'targetinfo' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:274:2: warning: member variable 'Entity::(anonymous union at Arx/src/game/Entity.h:274:2)' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:281:19: warning: member variable 'inventory' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:282:19: warning: member variable 'show' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:283:19: warning: member variable 'collision' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:284:14: warning: member variable 'mainevent' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:285:10: warning: member variable 'infracolor' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:286:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:286:7: warning: member variable 'changeanim' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:288:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:288:7: warning: member variable 'ident' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:289:8: warning: member variable 'weight' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:290:14: warning: member variable 'locname' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:291:12: warning: member variable 'gameFlags' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:292:8: warning: member variable 'velocity' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:293:8: warning: member variable 'fall' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:295:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:295:7: warning: member variable 'stopped' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:296:8: warning: member variable 'initpos' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:297:9: warning: member variable 'initangle' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:298:8: warning: member variable 'scale' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:300:17: warning: member variable 'usepath' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:301:16: warning: member variable 'symboldraw' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:302:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:302:8: warning: member variable 'dynlight' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:303:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:303:8: warning: member variable 'lastspeechflag' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:304:13: warning: member variable 'inzone' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:305:10: warning: member variable 'halo' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:306:10: warning: member variable 'halo_native' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:308:15: warning: member variable 'script' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:309:15: warning: member variable 'over_script' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:310:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:310:8: warning: member variable 'stat_count' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:311:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:311:8: warning: member variable 'stat_sent' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:312:20: warning: member variable 'tweakerinfo' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:313:11: warning: member variable 'material' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:315:24: warning: member variable 'groups' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:316:7: warning: member variable 'sizex' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:317:7: warning: member variable 'sizey' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:318:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Entity.h:318:16: warning: member variable 'soundtime' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:319:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Entity.h:319:16: warning: member variable 'soundcount' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:321:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Entity.h:321:16: warning: member variable 'sfx_time' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:322:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Entity.h:322:16: warning: member variable 'collide_door_time' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:323:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Entity.h:323:16: warning: member variable 'ouch_time' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:324:8: warning: member variable 'dmg_sum' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:326:20: warning: member variable 'spellcast_data' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:327:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:327:8: warning: member variable 'flarecount' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:328:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:328:8: warning: member variable 'no_collide' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:329:8: warning: member variable 'invisibility' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:330:8: warning: member variable 'frameloss' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:331:8: warning: member variable 'basespeed' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:333:8: warning: member variable 'speed_modif' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:334:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:334:9: warning: member variable 'spells_on' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:335:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:335:8: warning: member variable 'nb_spells_on' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:336:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:336:7: warning: member variable 'damagedata' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:338:8: warning: member variable 'rubber' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:339:8: warning: member variable 'max_durability' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:340:8: warning: member variable 'durability' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:341:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:341:8: warning: member variable 'poisonous' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:342:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:342:8: warning: member variable 'poisonous_count' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:344:8: warning: member variable 'ignition' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:345:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:345:7: warning: member variable 'ignit_light' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:346:18: warning: member variable 'ignit_sound' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:347:8: warning: member variable 'head_rot' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:349:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:349:8: warning: member variable 'damager_damages' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:350:13: warning: member variable 'damager_type' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:351:14: warning: member variable 'stepmaterial' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:352:14: warning: member variable 'armormaterial' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:353:14: warning: member variable 'weaponmaterial' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:354:14: warning: member variable 'strikespeech' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:356:17: warning: member variable 'sfx_flag' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:357:26: warning: member variable 'tweaks' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:358:7: warning: member variable 'secretvalue' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:360:14: warning: member variable 'shop_category' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:361:8: warning: member variable 'shop_multiply' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:362:12: warning: member variable 'inventory_skin' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:363:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:363:7: warning: member variable 'isHit' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:364:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:364:8: warning: member variable 'inzone_show' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:365:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Entity.h:365:8: warning: member variable 'summoner' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:366:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Entity.h:366:7: warning: member variable 'spark_n_blood' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:373:2: warning: function 'short_name' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/Entity.h:381:2: warning: function 'long_name' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/Entity.h:389:2: warning: function 'full_name' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/Entity.h:392:2: warning: function 'index' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/Entity.h:407:2: warning: function 'classPath' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/Entity.h:416:18: warning: member 'm_classPath' of type 'const res::path' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/game/Entity.h:421:8: warning: accessing fields in struct 'IO_FIXDATA' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 4 bytes [altera-struct-pack-align] +Arx/src/game/Entity.h:423:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/EntityId.cpp:22:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +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:29:26: warning: initialization of 'self' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/EntityId.cpp:31:40: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/EntityId.cpp:39:3: warning: variable 'sep' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityId.cpp:56:23: warning: method 'string' can be made const [readability-make-member-function-const] +Arx/src/game/EntityId.cpp:60:6: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/game/EntityId.cpp:60:42: warning: parameter name 'os' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/EntityId.cpp:60:63: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/EntityId.cpp:67:4: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityId.cpp:67:9: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/EntityId.cpp:68: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:68:9: warning: no header providing "std::ios_base" is directly included [misc-include-cleaner] +Arx/src/game/EntityId.cpp:68:28: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/EntityId.cpp:69:4: warning: variable 'w' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityId.cpp:69:9: warning: no header providing "std::streamsize" is directly included [misc-include-cleaner] +Arx/src/game/EntityId.cpp:69:20: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/EntityId.h:28:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/EntityId.h:33:8: warning: accessing fields in struct 'EntityId' is inefficient due to padding; only needs 36 bytes but is using 40 bytes [altera-struct-pack-align] +Arx/src/game/EntityId.h:33:8: warning: accessing fields in struct 'EntityId' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/EntityId.h:37:11: warning: pass by value and use std::move [modernize-pass-by-value] +Arx/src/game/EntityId.h:59:2: warning: function 'className' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/EntityId.h:60:2: warning: function 'instance' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/EntityId.h:64:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/EntityId.h:69:2: warning: 'operator void (*)()' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/game/EntityId.h:69:2: warning: method 'operator void (*)()' can be made const [readability-make-member-function-const] +Arx/src/game/EntityId.h:70:10: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/EntityId.h:70:10: warning: integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] +Arx/src/game/EntityId.h:77:7: warning: method 'isSpecial' can be made const [readability-make-member-function-const] +Arx/src/game/EntityId.h:91:42: warning: parameter name 'os' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/EntityId.h:91:63: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/EntityManager.cpp:47:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/src/game/EntityManager.cpp:52:15: warning: initialization of 'entities' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/EntityManager.cpp:52:15: warning: variable 'entities' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/EntityManager.cpp:70:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/EntityManager.cpp:86:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/EntityManager.cpp:86:40: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/EntityManager.cpp:90:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/EntityManager.cpp:97:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/EntityManager.cpp:100:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/EntityManager.cpp:109:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/EntityManager.cpp:109:2: warning: variable 'index' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityManager.cpp:110:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/EntityManager.cpp:110:32: 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/EntityManager.cpp:116:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/EntityManager.cpp:123:2: warning: variable 'i' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityManager.cpp:123:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/EntityManager.cpp:135:2: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/game/EntityManager.cpp:139:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/EntityManager.h:29: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/EntityManager.h:29:7: warning: class 'EntityManager' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/EntityManager.h:31:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/EntityManager.h:32:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/EntityManager.h:45:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/EntityManager.h:45:2: warning: function 'getById' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/EntityManager.h:53:2: warning: function 'player' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/EntityManager.h:64:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/EntityManager.h:66:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/EntityManager.h:67:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/EntityManager.h:69:2: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/EntityManager.h:70:2: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/EntityManager.h:75:9: warning: use default member initializer for 'minfree' [modernize-use-default-member-init] +Arx/src/game/EntityManager.h:84:22: warning: variable 'entities' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Equipment.cpp:71:1: warning: included header Vertex.h is not used directly [misc-include-cleaner] +Arx/src/game/Equipment.cpp:96:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:98:8: warning: accessing fields in struct 'EQUIP_INFO' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/Equipment.cpp:100:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Equipment.cpp:103:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/game/Equipment.cpp:103:9: warning: macro 'SP_SPARKING' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/game/Equipment.cpp:103:9: warning: macro 'SP_SPARKING' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/Equipment.cpp:104:9: warning: macro 'SP_BLOODY' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/game/Equipment.cpp:104:9: warning: macro 'SP_BLOODY' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/Equipment.cpp:106:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:106:14: warning: variable 'PUSH_PLAYER_FORCE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Equipment.cpp:107:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:107:13: warning: variable 'HERO_SHOW_1ST' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Equipment.cpp:108:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:108:13: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Equipment.cpp:110:22: warning: variable 'arrowobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Equipment.cpp:110:22: warning: variable 'arrowobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Equipment.cpp:112:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Equipment.cpp:112:12: warning: variable 'equipinfo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Equipment.cpp:119:1: warning: no header providing "ItemType" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:122:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:125:2: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:125:7: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:129:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/game/Equipment.cpp:129:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/game/Equipment.cpp:131:11: warning: no header providing "OBJECT_TYPE_WEAPON" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:133:11: warning: no header providing "OBJECT_TYPE_DAGGER" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:135:11: warning: no header providing "OBJECT_TYPE_1H" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:137:11: warning: no header providing "OBJECT_TYPE_2H" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:139:11: warning: no header providing "OBJECT_TYPE_BOW" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:141:11: warning: no header providing "OBJECT_TYPE_SHIELD" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:143:11: warning: no header providing "OBJECT_TYPE_FOOD" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:145:11: warning: no header providing "OBJECT_TYPE_GOLD" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:147:11: warning: no header providing "OBJECT_TYPE_RING" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:149:11: warning: no header providing "OBJECT_TYPE_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:151:11: warning: no header providing "OBJECT_TYPE_HELMET" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:153:11: warning: no header providing "OBJECT_TYPE_LEGGINGS" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:156:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:163:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:163:33: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:167:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Equipment.cpp:167:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:178:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:180:28: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:184:61: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:187:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:187:13: warning: variable 'EXITING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Equipment.cpp:190:13: warning: function 'applyTweak' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Equipment.cpp:190:55: warning: parameter name 'tw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:190:55: warning: the parameter 'tw' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Equipment.cpp:196:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:200:8: warning: no header providing "IO_TWEAKER_INFO" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:203:3: warning: variable 'mesh' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:211:2: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:214:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:214:2: warning: variable 'mapidx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:216:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:219:10: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:227:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:230:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:242:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:242:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Equipment.cpp:249:6: warning: function 'ARX_EQUIPMENT_RecreatePlayerMesh' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Equipment.cpp:255:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:270:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:272:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:274:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Equipment.cpp:274:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:330:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Equipment.cpp:330:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:344:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:346:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:346:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:348:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:350:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Equipment.cpp:350:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:371:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:373:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:373:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:375:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:375:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:377:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:379:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Equipment.cpp:379:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:391:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:408:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:416:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:418:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:420:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Equipment.cpp:420:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:448:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:450:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:452:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Equipment.cpp:452:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:484:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:486:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:488:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:497:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:499:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:501:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:503:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:513:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:515:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:517:16: warning: variable 'anim' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:518:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:518:2: warning: variable 'type' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:551:7: warning: function 'ARX_EQUIPMENT_ComputeDamages' has cognitive complexity of 79 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Equipment.cpp:557:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:560:29: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:562:28: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:564:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:566:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:567:68: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:568:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:569:41: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:575:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Equipment.cpp:575:8: warning: variable 'attack' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:575:16: warning: variable 'ac' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:575:16: warning: variable name 'ac' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:575:20: warning: variable 'damages' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:578:2: warning: variable '_wmat' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:581:2: warning: variable '_amat' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:589:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:597:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Equipment.cpp:597:75: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Equipment.cpp:597:75: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Equipment.cpp:599:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:602:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:610:61: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:617:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:623:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:634:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:634:3: warning: variable 'value' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:643:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:646:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:648:24: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Equipment.cpp:648:24: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Equipment.cpp:650:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:655:8: warning: variable 'absorb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:666:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:666:3: warning: variable 'value' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:670:4: warning: variable 'modif' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:683:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:694:2: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:698:2: warning: variable 'chance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:714:48: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Equipment.cpp:722:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:722:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:734:43: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:741:14: warning: function 'ARX_EQUIPMENT_GetSpecialValue' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Equipment.cpp:741:53: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:741:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:743:69: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:745:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:760:6: warning: function 'ARX_EQUIPMENT_Strike_Check' has cognitive complexity of 250 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Equipment.cpp:760:73: warning: 3 adjacent parameters of 'ARX_EQUIPMENT_Strike_Check' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Equipment.cpp:760:89: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:760:101: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:764:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:764:2: warning: variable 'source' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:764:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:764:38: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:764:54: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:765:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:765:2: warning: variable 'weapon' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:765:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:768:10: warning: variable 'v0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:768:10: warning: variable name 'v0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:770:8: warning: variable 'rad' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:772:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:772:2: warning: variable 'nbact' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:772:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:773:2: warning: variable 'drain_life' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:774:2: warning: variable 'paralyse' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:776:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:778:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:782:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:789:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:796:65: warning: no header providing "IO_BODY_CHUNK" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:798:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:802:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:808:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:816:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:818:7: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:818:13: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:831:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:866:9: warning: variable 'ptime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:868:58: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:868:59: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:888:22: warning: variable name 'sp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:889:15: warning: variable 'power' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:902:24: warning: slicing object from type 'Color4' to 'Color3' discards 4 bytes of state [cppcoreguidelines-slicing] +Arx/src/game/Equipment.cpp:909:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:909:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:913:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:915:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:920:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:927:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:927:12: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:927:12: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:929:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:931:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:934:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:937:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:941:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:947:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:947:13: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:947:13: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:949:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:951:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:954:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:957:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:961:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:971:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:973:9: warning: variable '_weapon_material' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:980:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Equipment.cpp:982:70: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:983:92: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:993:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:1005:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:1009:7: warning: variable '_weapon_material' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:1017:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1038:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:1040:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1042:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:1042:2: warning: variable 'type' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:1043:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:1055:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1061:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1083:12: warning: variable 'pioOldDragInter' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Equipment.cpp:1087:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1097:6: warning: variable 'bRing' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Equipment.cpp:1102:6: warning: function 'ARX_EQUIPMENT_Equip' has cognitive complexity of 77 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Equipment.cpp:1104:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1106:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1108:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1110:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:1114:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Equipment.cpp:1119:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1122:18: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:1124:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1125:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:1139:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:1139:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Equipment.cpp:1166:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:1166:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Equipment.cpp:1182:7: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/game/Equipment.cpp:1185:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:1187:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1189:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1195:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1202:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1211:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:1211:33: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Equipment.cpp:1222:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:1222:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Equipment.cpp:1232:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:1232:42: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Equipment.cpp:1242:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:1242:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Equipment.cpp:1247:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1253:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:1255:2: warning: variable 'flag' of type 'ItemType' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:1310:48: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:1312:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1314:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1325:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:1328:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:1328:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1330:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1334:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Equipment.cpp:1334:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:1345:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1354:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:1357:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:1357:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1359:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1363:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Equipment.cpp:1363:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:1385:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:1387:52: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Equipment.cpp:1389:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:1389:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1391:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1395:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:1395:30: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Equipment.cpp:1395:47: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/game/Equipment.cpp:1397:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:1397:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1399:3: warning: undefined behavior, destination object type 'IO_EQUIPITEM' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Equipment.cpp:1407:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:1425:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Equipment.cpp:1426:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:1440:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.cpp:1442:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Equipment.cpp:1442:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1444:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1446:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Equipment.cpp:1446:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:1470:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Equipment.cpp:1470:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:1471: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: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/Equipment.h:79:48: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.h:80:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.h:85:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.h:89:6: warning: function 'ARX_EQUIPMENT_UnEquip' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/game/Equipment.h:89:63: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.h:90:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.h:97:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.h:98:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.h:100:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Equipment.h:102:6: warning: function 'ARX_EQUIPMENT_Strike_Check' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/game/Equipment.h:102:91: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.h:102:103: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.h:104:106: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:90:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:93:26: warning: variable 'eMouseState' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:94:14: warning: variable 'InventoryX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:95:14: warning: variable 'InventoryDir' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:96:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:96:13: warning: variable 'PLAYER_INTERFACE_HIDE_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:97:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:97:13: warning: variable 'DRAGGING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:99:13: warning: variable 'TRUE_PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:101:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:101:37: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:107:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Inventory.cpp:107:16: warning: variable 'inventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:108:18: warning: variable 'SecondaryInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:108:18: warning: variable 'SecondaryInventory' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:108:39: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:108:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:109:10: warning: variable 'DRAGINTER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:109:10: warning: variable 'DRAGINTER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:109:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:110:10: warning: variable 'ioSteal' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:110:10: warning: variable 'ioSteal' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:110:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:111:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:111:6: warning: variable 'InventoryY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:112:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:112:13: warning: variable 'HERO_OR_SECONDARY' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Inventory.cpp:112:13: warning: variable 'HERO_OR_SECONDARY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:113:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:113:7: warning: variable 'sActiveInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:116:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:116:7: warning: variable 'sInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:117:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:117:7: warning: variable 'sInventoryX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:118:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:118:7: warning: variable 'sInventoryY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:124:13: warning: function 'ARX_INVENTORY_Declare_InventoryIn' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Inventory.cpp:124:56: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:130:13: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:139:33: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:151:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:162:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Inventory.cpp:162:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:163:7: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:165:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:174:8: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:174:14: warning: variable 'DANAEMouse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:175:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:175:13: warning: variable 'DANAESIZX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:176:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:176:13: warning: variable 'DANAESIZY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:177:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:177:13: warning: variable 'DANAECENTERX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:178:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:178:13: warning: variable 'DANAECENTERY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:180:17: warning: function 'GetInventoryObj' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Inventory.cpp:182:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:182:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:182:7: warning: variable 'tx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:182:7: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:182:11: warning: variable 'ty' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:182:11: warning: variable name 'ty' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:185:2: warning: variable 'fCenterX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:185:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:186:2: warning: variable 'fSizY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:186:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:188:2: warning: variable 'iPosX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:189:2: warning: variable 'iPosY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:200:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:200:34: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:201:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:201:34: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:204:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:204:65: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:207:69: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:214:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:220:3: warning: variable 'fBag' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:220:16: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:222:7: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:230:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:230:34: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:231:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:231:34: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:233:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:233:65: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:242:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:249:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:261:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:263:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:267:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:269:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Inventory.cpp:269:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:269:21: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Inventory.cpp:271:25: warning: no header providing "IO_SHOP" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:271:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:271:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:278:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:278:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:280:10: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/game/Inventory.cpp:280:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:285:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:295:34: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:297:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:297:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:299:2: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:299:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:300:29: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:300:36: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Inventory.cpp:302:29: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:302:36: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Inventory.cpp:310:13: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:328:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:331:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:333:2: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:333:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:334:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:334:27: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Inventory.cpp:336:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:336:26: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Inventory.cpp:352:6: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:352:69: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:361:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.cpp:361:10: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Inventory.cpp:362:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.cpp:364:36: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:364:50: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:368:42: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:368:56: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:374:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.cpp:374:10: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Inventory.cpp:375:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.cpp:376:45: 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:377:36: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:377:50: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:381:57: 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:382:42: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:382:56: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:390:33: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:390:51: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:391:3: warning: variable 'sizea' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:392:3: warning: variable 'sizeb' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:396:3: warning: variable 'locname' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:400:3: warning: variable 'name' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:410:7: warning: class 'Inventory' defines a copy constructor but does not define a destructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/Inventory.cpp:412:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.cpp:416:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.cpp:417:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.cpp:418:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.cpp:418:10: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/game/Inventory.cpp:419:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.cpp:423:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:424:15: warning: member 'data' of type 'array_type &' (aka 'INVENTORY_SLOT (&)[20][20]') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/game/Inventory.cpp:424:15: warning: member 'data' of type 'array_type &' (aka 'INVENTORY_SLOT (&)[3][16][3]') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/game/Inventory.cpp:424:15: warning: member 'data' of type 'array_type &' (aka 'typename Array::type &') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/game/Inventory.cpp:429:52: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:429:66: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:432:2: warning: function 'index' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/Inventory.cpp:432:58: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:432:72: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:439:2: warning: function 'index' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/Inventory.cpp:477:42: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:478:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:479:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:500:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:528:26: warning: loop variable has narrower type 'index_type' than iteration's upper bound 'int' [bugprone-too-small-loop-variable] +Arx/src/game/Inventory.cpp:529:27: warning: loop variable has narrower type 'index_type' than iteration's upper bound 'int' [bugprone-too-small-loop-variable] +Arx/src/game/Inventory.cpp:532:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:544:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/game/Inventory.cpp:559:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:572:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:572:3: warning: variable 'remainingSpace' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:572:30: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:573:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:573:3: warning: variable 'count' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:580:27: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:580:60: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:592:17: warning: no header providing "SHOW_FLAG_KILLED" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:603:26: warning: loop variable has narrower type 'index_type' than iteration's upper bound 'int' [bugprone-too-small-loop-variable] +Arx/src/game/Inventory.cpp:603:42: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:604:27: warning: loop variable has narrower type 'index_type' than iteration's upper bound 'int' [bugprone-too-small-loop-variable] +Arx/src/game/Inventory.cpp:604:44: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:613:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/game/Inventory.cpp:618:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:618:17: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:618:40: warning: 3 adjacent parameters of 'Inventory' of similar type ('size_type') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Inventory.cpp:621:30: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:636:31: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:637:7: warning: variable 'pos' of type 'Pos' (aka 'InventoryPos') can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:659:7: warning: variable 'newPos' of type 'Pos' (aka 'InventoryPos') can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:668:7: warning: function 'optimize' has cognitive complexity of 32 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:682:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:723:14: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/game/Inventory.cpp:728:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/game/Inventory.cpp:749:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:758:2: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/game/Inventory.cpp:759:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:765:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/game/Inventory.cpp:769:46: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:772:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/game/Inventory.cpp:772:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:777:17: warning: variable 'playerInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:788:30: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:808:5: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Inventory.cpp:810:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Inventory.cpp:817:5: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Inventory.cpp:819:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Inventory.cpp:829:24: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Inventory.cpp:843:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/game/Inventory.cpp:848:21: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Inventory.cpp:862:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/game/Inventory.cpp:888:6: warning: function 'CanBePutInInventory' has cognitive complexity of 185 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:888:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:890:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:890:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:892:20: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:892:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:899:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:899:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:899:7: warning: variable 'sx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:899:7: warning: variable name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:899:11: warning: variable 'sy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:899:11: warning: variable name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:900:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:900:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:900:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:900:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:900:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:900:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:900:13: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:900:13: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:900:16: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:900:16: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:902:7: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:903:7: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:908:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:910:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:929:32: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:933:31: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:936:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:955:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:959:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:961:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:964:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:964:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:969:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1001:33: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1006:32: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1009:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1028:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1032:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1034:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1035:20: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1037:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1037:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1042:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1043:21: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1068:6: warning: function 'CanBePutInSecondaryInventory' has cognitive complexity of 117 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:1068:52: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1068:65: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1068:69: warning: 2 adjacent parameters of 'CanBePutInSecondaryInventory' of similar type ('long *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Inventory.cpp:1068:69: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1068:76: warning: parameter name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1068:80: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1068:87: warning: parameter name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1070:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1072:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1074:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1076:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1076:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:1076:7: warning: variable 'sx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1076:7: warning: variable name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1076:11: warning: variable 'sy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1076:11: warning: variable name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1077:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1077:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:1077:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1077:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1077:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1077:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1077:13: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1077:13: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1077:16: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1077:16: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1082:7: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:1083:7: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:1099:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1112:32: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1128:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1130:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1132:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1135:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1144:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1160:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1165:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1178:33: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1189:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1196:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1198:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1200:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1203:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1212:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1239:6: warning: function 'PutInInventory' has cognitive complexity of 153 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:1243:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1246:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1246:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:1246:8: warning: variable 'tx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1246:8: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1246:12: warning: variable 'ty' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1246:12: warning: variable name 'ty' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1247:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1247:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:1247:7: warning: variable 'sx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1247:7: warning: variable name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1247:11: warning: variable 'sy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1247:11: warning: variable name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1248:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1248:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:1248:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1248:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1248:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1248:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1253:7: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:1254:7: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:1257:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:1257:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:1257:65: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:1257:93: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:1261:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1265:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1272:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1274:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Inventory.cpp:1274:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1274:17: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:1274:17: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Inventory.cpp:1276:16: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1277:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1277:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1279:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1279:16: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1279:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:1279:23: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Inventory.cpp:1280:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1285:106: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1288:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1291:12: warning: variable 'ioo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1297:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1300:12: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:1300:12: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Inventory.cpp:1306:33: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1322:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1322:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1323:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1324:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1325:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1331:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1332:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1332:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1334:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1334:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1334:24: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:1334:24: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Inventory.cpp:1335:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1337:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1340:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1342:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1342:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:1342:12: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1342:12: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1342:16: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1342:16: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1352:33: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1356:39: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1359:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1372:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1376:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1383:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1387:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1403:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1408:88: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1411:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1413:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1418:2: warning: variable 'fCenterX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1418:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1419:2: warning: variable 'fSizY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1419:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1421:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1421:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Inventory.cpp:1421:2: warning: variable 'iPosX' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1421:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1422:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1422:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Inventory.cpp:1422:2: warning: variable 'iPosY' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1422:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1428:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1429:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1430:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1431:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1434:67: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1436:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1443:3: warning: variable 'fBag' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1443:16: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1445:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1445:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Inventory.cpp:1445:9: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1445:33: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1455:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1456:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1461:10: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1462:10: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1473:4: warning: variable 'fRatio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1475:10: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1475:29: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1479:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1485:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1489:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1494:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1502:31: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1506:37: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1509:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1526:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1538:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1549:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1551:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1551:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:1551:9: warning: variable 'tx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1551:9: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1551:13: warning: variable 'ty' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1551:13: warning: variable name 'ty' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1553:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1553:36: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1554:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1555:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1556:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1559:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1561:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1577:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1580:2: warning: variable 'fCenterX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1580:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1581:2: warning: variable 'fSizY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1581:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1583:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1583:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Inventory.cpp:1583:2: warning: variable 'iPosX' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1583:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1584:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1584:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Inventory.cpp:1584:2: warning: variable 'iPosY' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1584:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1586:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1586:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:1586:8: warning: variable 'tx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1586:8: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1586:12: warning: variable 'ty' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1586:12: warning: variable name 'ty' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1590:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1591:8: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1595:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1596:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1598:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:1598:66: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:1598:92: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1599:12: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/game/Inventory.cpp:1600:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Inventory.cpp:1600:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1607:3: warning: variable 'fBag' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1607:16: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1609:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1609:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Inventory.cpp:1609:9: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1609:33: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1613:16: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1613:26: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1615:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1620:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1621:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1625:10: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1626:10: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1628:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:1628:67: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Inventory.cpp:1628:93: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1632:4: warning: variable 'fRatio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1634:28: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1634:35: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1648:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1664:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1667:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1667:9: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1667:14: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1667:42: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1668:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1668:9: warning: variable name 'ty' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1668:14: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1669:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1670:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1673:104: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1691:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1692:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1694:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1696:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1696:9: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1696:14: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1696:42: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1697:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1697:9: warning: variable name 'ty' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1697:14: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1701:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1702:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1707:48: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1707:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1708:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1710:111: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1711:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1713:14: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1715:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1716:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1737:6: warning: function 'GetItemWorldPosition' has cognitive complexity of 40 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:1737:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1740:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1766:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1780:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Inventory.cpp:1783:22: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1784:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1785:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1807:6: warning: function 'GetItemWorldPositionSound' has cognitive complexity of 46 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:1807:47: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1840:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Inventory.cpp:1843:22: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1844:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1845:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1866:46: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1873:2: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Inventory.cpp:1873: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:1876:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Inventory.cpp:1877:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1878:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1879:22: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1880:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1881:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1883:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1896:6: warning: function 'CheckForInventoryReplaceMe' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:1896:33: warning: 2 adjacent parameters of 'CheckForInventoryReplaceMe' of similar type ('Entity *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Inventory.cpp:1896:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1898:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Inventory.cpp:1899:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1900:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1901:22: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1903:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1904:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1906:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1906:8: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:1906:13: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1906:13: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1906:17: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1906:17: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1926:6: warning: function 'TakeFromInventory' has cognitive complexity of 62 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:1928:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1928:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:1928:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1928:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1928:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1928:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1929:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:1930:11: warning: variable 'ioo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1932:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1932:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1934:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:1938:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:1938:10: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Inventory.cpp:1945:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1947:7: warning: variable 'fcos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1947:20: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1947:26: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1947:33: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:1947:33: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Inventory.cpp:1948:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1960:20: warning: no header providing "SHOW_FLAG_NOT_DRAWN" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:1984:6: warning: variable 'fCalcX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1984:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1985:6: warning: variable 'fCalcY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1985:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:1987:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1988:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:1999:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2004:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:2008:6: warning: variable 'fCalcX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:2008:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:2009:6: warning: variable 'fCalcY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:2009:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:2011:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2012:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2019:2: warning: variable 'fCenterX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:2019:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:2020:2: warning: variable 'fSizY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:2020:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:2022:2: warning: variable 'iPosX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:2023:2: warning: variable 'iPosY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:2040:6: warning: variable 'fX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:2040:12: warning: variable name 'fX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2040:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:2041:6: warning: variable 'fY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:2041:12: warning: variable name 'fY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2041:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:2043:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2044:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2060:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:2064:7: warning: variable 'fX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:2064:13: warning: variable name 'fX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2064:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:2065:7: warning: variable 'fY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:2065:13: warning: variable name 'fY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2065:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:2067:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2068:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2082:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2084:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2097:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2100:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2101:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2112:6: warning: function 'SendInventoryObjectCommand' has cognitive complexity of 56 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:2140:10: warning: function 'ARX_INVENTORY_GetTorchLowestDurability' has cognitive complexity of 37 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:2142:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2142:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:2182:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2195:13: warning: variable 'bInventoryClosing' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.cpp:2198:6: warning: function 'ARX_INVENTORY_OpenClose' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:2200:65: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:2202:56: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:2202:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2207:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:2210:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2215:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2220:55: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:2225:48: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.cpp:2240:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2245:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2250:41: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Inventory.cpp:2250:48: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Inventory.cpp:2263:28: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2264:28: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2267:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2267:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2268:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2272:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2272:11: warning: variable name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2272:16: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:2273:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2273:11: warning: variable name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2273:16: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:2274:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2276:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2279:9: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Inventory.cpp:2284:33: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2285:33: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2295:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2297:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2307:28: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2308:28: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2311:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2311:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:2312:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2316:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2316:11: warning: variable name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2316:16: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:2317:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2317:11: warning: variable name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2317:16: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:2318:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2321:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:2321:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Inventory.cpp:2321:11: warning: variable 'x' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:2321:11: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2321:14: warning: variable 'y' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:2321:14: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.cpp:2333:33: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.cpp:2334:33: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Inventory.h:56:8: warning: accessing fields in struct 'INVENTORY_SLOT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/game/Inventory.h:58:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.h:61:8: warning: accessing fields in struct 'INVENTORY_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Inventory.h:63:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.h:64:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.h:65:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Inventory.h:72:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Inventory.h:72:23: warning: variable 'inventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:74:25: warning: variable 'SecondaryInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:74:25: warning: variable 'SecondaryInventory' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:75:25: warning: variable 'TSecondaryInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:75:25: warning: variable 'TSecondaryInventory' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:76:17: warning: variable 'DRAGINTER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:76:17: warning: variable 'DRAGINTER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:77:17: warning: variable 'ioSteal' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:77:17: warning: variable 'ioSteal' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:78:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.h:78:13: warning: variable 'InventoryY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:80:8: warning: accessing fields in struct 'InventoryPos' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/game/Inventory.h:82:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.h:82:10: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/game/Inventory.h:84:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.h:89:2: warning: constructor does not initialize these fields: bag, x, y [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Inventory.h:91:15: warning: 4 adjacent parameters of 'InventoryPos' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Inventory.h:91:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.h:91:20: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:91:51: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:91:65: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:95:2: warning: 'operator bool' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/game/Inventory.h:105:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Inventory.h:155:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Inventory.h:160:24: warning: variable 'playerInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Inventory.h:229:34: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:231:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:232:47: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:235:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:239:52: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:239:65: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:239:69: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.h:239:76: warning: parameter name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:239:80: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.h:239:87: warning: parameter name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:247:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:248:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:250:46: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:253:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Inventory.h:256:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Item.cpp:20:1: warning: included header Item.h is not used directly [misc-include-cleaner] +Arx/src/game/Item.h:49: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:82: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:86:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Item.h:86:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Item.h:86:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Item.h:86:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Item.h:88: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/Item.h:94:8: warning: accessing fields in struct 'IO_EQUIPITEM_ELEMENT' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/game/Item.h:94:8: warning: constructor does not initialize these fields: value, special [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Item.h:100:8: warning: accessing fields in struct 'IO_EQUIPITEM' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Item.h:101:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Item.h:104:8: warning: accessing fields in struct 'IO_ITEMDATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/game/Item.h:106:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Item.h:107:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Item.h:108:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Item.h:111:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Item.h:112:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Levels.cpp:55:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Levels.cpp:55:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Levels.cpp:57:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/game/Levels.cpp:57:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/game/Levels.cpp:98:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:103:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Levels.cpp:103:6: warning: function 'GetLevelNumByName' has cognitive complexity of 65 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Levels.cpp:103:35: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/Levels.cpp:107:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:109:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:111:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:113:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:115:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:117:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:119:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:121:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:123:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:125:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:127:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:129:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:131:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:133:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:135:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:137:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:139:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:141:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:143:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:145:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:147:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:149:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:151:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:153:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:155:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:157:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:159:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:161:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:163:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:165:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:167:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:169:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:175:6: warning: function 'GetLevelNameByNum' has cognitive complexity of 65 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Levels.cpp:175:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Levels.cpp:181:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:183:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:185:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:187:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:189:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:191:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:193:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:195:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:197:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:199:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:201:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:203:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:205:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:207:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:209:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:211:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:213:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:215:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:217:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:219:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:221:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:223:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:225:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:227:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:229:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:231:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:233:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:235:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:237:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:239:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:241:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.cpp:243:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Levels.h:52:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Levels.h:53:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Levels.h:54:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Levels.h:54:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Map.cpp:44:1: warning: included header Map.h is not used directly [misc-include-cleaner] +Arx/src/game/Map.cpp:47:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if] +Arx/src/game/Missile.cpp:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/game/Missile.cpp:64:1: warning: included header Flags.h is not used directly [misc-include-cleaner] +Arx/src/game/Missile.cpp:72:8: warning: accessing fields in struct 'ARX_MISSILE' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Missile.cpp:72:8: warning: constructor does not initialize these fields: type, timecreation, lastupdate, tolive, longinfo, owner [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Missile.cpp:75:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Missile.cpp:78:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Missile.cpp:79:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Missile.cpp:80:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Missile.cpp:81:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Missile.cpp:82:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Missile.cpp:86:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Missile.cpp:86:20: warning: initialization of 'missiles' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Missile.cpp:86:20: warning: variable 'missiles' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Missile.cpp:86:20: warning: variable 'missiles' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Missile.cpp:89:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Missile.cpp:93:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:101:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Missile.cpp:101:29: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Missile.cpp:123:21: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:129:34: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Missile.cpp:131:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Missile.cpp:131:2: warning: variable 'i' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.cpp:131:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Missile.cpp:133:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Missile.cpp:135:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Missile.cpp:135:37: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:135:46: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:139:8: warning: variable 'dist' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Missile.cpp:141:9: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:143:54: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Missile.cpp:143:55: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Missile.cpp:164:66: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:165:68: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:172:6: warning: function 'ARX_MISSILES_Update' has cognitive complexity of 35 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Missile.cpp:174:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Missile.cpp:174:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Missile.cpp:174:7: warning: variable 'framediff' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Missile.cpp:174:18: warning: variable 'framediff3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Missile.cpp:175:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Missile.cpp:176:21: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Missile.cpp:177:13: warning: variable name 'tp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Missile.cpp:177:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Missile.cpp:178:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Missile.cpp:178:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Missile.cpp:178:2: warning: variable 'tim' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.cpp:178:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Missile.cpp:178:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Missile.cpp:180:7: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Missile.cpp:182:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Missile.cpp:184:15: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:188:22: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:192:16: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:200:57: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:210:16: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Missile.cpp:210:16: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Missile.cpp:211:16: warning: variable 'epp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Missile.cpp:219:24: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:222:29: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:222:37: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:228:24: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:231:29: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:231:37: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:237:24: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:240:29: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:240:37: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:246:24: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:249:29: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:249:37: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:255:24: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:258:29: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:258:37: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:262:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Missile.cpp:262:5: warning: variable 'ici' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.cpp:266:24: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Missile.cpp:269:29: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:269:37: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Missile.cpp:273:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Missile.cpp:280:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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/Missile.h:57:34: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:49:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/game/NPC.cpp:65:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/game/NPC.cpp:114:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:116:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:118:54: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.cpp:119:54: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.cpp:125:29: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:126:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/game/NPC.cpp:126:9: warning: macro 'RUN_WALK_RADIUS' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/game/NPC.cpp:126:9: warning: macro 'RUN_WALK_RADIUS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/NPC.cpp:128:13: warning: function 'CheckHit' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:128:13: warning: function 'CheckHit' has cognitive complexity of 65 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:128:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:130:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:130:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:136:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/NPC.cpp:136:3: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:136:20: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:137:3: warning: variable 'from' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:152:9: warning: variable 'dmg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:154:21: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:158:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:162:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:162:3: warning: variable 'i' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:162:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:164:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:169:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:171:23: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:171:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:173:23: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:173:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:176:25: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:176:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:177:22: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:177:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:178:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:179:61: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:182:9: warning: variable 'dist_limit' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:183:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:188:10: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:195:11: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:195:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:199:9: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:199:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:199:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:211:51: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:221:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:227:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:227:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:229:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:230:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:239:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:247:67: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:254:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:260:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:260:28: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/NPC.cpp:260:50: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/game/NPC.cpp:265:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:265:47: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:266:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:266:47: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:267:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:267:47: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:268:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:268:47: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:270:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:270:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:270:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:274:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:285:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:285:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:289:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:296:19: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:307:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:315:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:320:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:332:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:340:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:340:54: warning: the parameter 'behavior' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/NPC.cpp:340:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:343:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:348:3: warning: no header providing "ANIM_USE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:349:3: warning: no header providing "AcquireLastAnim" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:350:3: warning: no header providing "FinishAnim" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:351:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:359:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:360:3: warning: no header providing "ANIM_Set" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:366:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:372:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:388:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:395:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:398:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:403:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:403:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:403:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:409:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:417:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:420:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:423:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:423:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:425:22: warning: variable name 'bd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:433:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:435:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:450:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:453:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:456:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:458:22: warning: variable name 'bd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:473:59: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:480:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:488:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:488:54: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:492:64: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:495:2: warning: variable 'dists' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:495:33: warning: no header providing "ACTIVECAM" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:497:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:500:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:500:7: warning: variable 'MAX_TEST' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:502:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:504:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:507:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:509:82: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:513:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:515:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:515:4: warning: variable 'v' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:515:9: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:516:11: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:518:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:519:12: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:522:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:524:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:527:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:527:3: warning: variable 'pos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:530:71: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:534:3: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:534:3: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:552:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:552:13: warning: function 'AnchorData_GetNearest' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:553:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:555:21: warning: variable name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:557:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:561:4: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:561:10: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:576:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:576:13: warning: function 'AnchorData_GetNearest_2' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:578:2: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:578:8: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:579:14: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:579:27: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:589:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:589:13: warning: function 'AnchorData_GetNearest_Except' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:589:77: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:591:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:593:21: warning: variable name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:595:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:597:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:601:4: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:601:10: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:616:6: warning: function 'ARX_NPC_LaunchPathfind' has cognitive complexity of 68 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:616:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:616:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:619:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:622:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:622:2: warning: variable 'MUST_SELECT_Start_Anchor' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:624:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:624:2: warning: variable 'old_target' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:626:23: warning: no header providing "IO_PHYSICAL_OFF" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:647:68: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:650:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/NPC.cpp:654:3: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/NPC.cpp:659:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:661:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:662:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/NPC.cpp:673:3: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/NPC.cpp:683:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:686:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:711:3: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:711:3: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:732:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:732:7: warning: variable 'from' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:737:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:739:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:742:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:744:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:744:7: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:744:7: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:746:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:748:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:750:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:754:75: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:767:61: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:768:6: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/NPC.cpp:779:69: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:781:4: warning: uninitialized record type: 'tpr' [cppcoreguidelines-pro-type-member-init] +Arx/src/game/NPC.cpp:789:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:798:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:802:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:808:6: warning: function 'ARX_NPC_SetStat' has cognitive complexity of 39 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:808:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:817:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:818:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:836:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:838:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:840:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:848:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:848:13: warning: variable 'CUR_COLLISION_MATERIAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:849:17: warning: variable 'PHYSICS_CURIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:849:17: warning: variable 'PHYSICS_CURIO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:849:17: warning: variable 'PHYSICS_CURIO' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:849:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:855:32: warning: no header providing "IO_BODY_CHUNK" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:855:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:858:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/NPC.cpp:858:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/NPC.cpp:858:3: warning: variable 'at' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:858:17: warning: variable name 'at' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:858:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:858:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/NPC.cpp:867:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:867:10: warning: variable 'material' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:868:10: warning: no header providing "EEIsUnderWater" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:868:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:869:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:870:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:872:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:872:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:885:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:888:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:892:2: warning: no header providing "ANIM_HANDLE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:952:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:954:8: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:958:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:958:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:960:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:962:3: warning: variable 'dmg' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:966:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:966:4: warning: variable 'xp' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:966:9: warning: variable name 'xp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:967:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:970:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:974:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:976:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:986:13: warning: function 'CheckUnderWaterIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:986:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:988:2: warning: variable 'ppos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:989:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:991:20: warning: no header providing "IO_UNDERWATER" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1010:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1015:34: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1026:13: warning: function 'ManageNPCMovement' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1026:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1028:14: warning: variable 'MAX_ALLOWED_PER_SECOND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:1030:6: warning: function 'ARX_PHYSICS_Apply' has cognitive complexity of 108 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:1033:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1037:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1039:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1041:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1043:29: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1043:38: warning: no header providing "IO_JUST_COLLIDE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1043:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1046:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1048:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1050:65: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1052:22: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1053:27: warning: no header providing "SHOW_FLAG_DESTROYED" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1054:32: warning: no header providing "GFLAG_GOREEXPLODE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1055:20: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1055:37: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1060:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1060: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:1062:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1062:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1064:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1064:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1066:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1068:5: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/game/NPC.cpp:1068:5: warning: variable 'it' of type 'std::vector::iterator' (aka '__normal_iterator>>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1068:41: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1071:45: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1078:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1078:20: warning: no header providing "EECheckInPoly" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1089:80: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1097:22: warning: no header providing "GFLAG_NOCOMPUTATION" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1102:45: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:1102:45: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/NPC.cpp:1107:48: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1116:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1130:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1138:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1148:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1150:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1163:59: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:1163:59: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/NPC.cpp:1165:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1180:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1189:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1189:41: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/game/NPC.cpp:1191:74: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1199:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1205:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1207:8: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1209:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1213:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1215:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1218:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1225:6: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1229:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/NPC.cpp:1229:8: warning: variable 'cangle' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:1229:16: warning: variable 'tangle' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:1233:2: warning: variable 'tt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1233:8: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1235:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1239:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:1239:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1239:30: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:1239:37: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:1243:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1243:34: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1244:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1259:6: warning: function 'StareAtTarget' has cognitive complexity of 38 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:1259:29: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1261:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1266:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1270:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1272:89: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1275:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1278:2: warning: variable 'tv' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1278:8: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1280:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1282:67: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1285:2: warning: variable 'alpha' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1286:2: warning: variable 'beta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1287:2: warning: variable 'pouet' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1288:2: warning: variable 'A' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1288:8: warning: variable name 'A' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1289:2: warning: variable 'B' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1289:8: warning: variable name 'B' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1291:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1294:2: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1295:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1295:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1298:2: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1299:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1300:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1304:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1304:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1308:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1309:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1314:8: warning: variable 'HEAD_ANGLE_THRESHOLD' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:1316:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1318:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1322:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1322:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1324:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1324:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1328:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1328:72: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1330:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1330:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1334:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1334:72: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1336:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1336:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1339:2: warning: redundant return statement at the end of a function with a void return type [readability-redundant-control-flow] +Arx/src/game/NPC.cpp:1342:34: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1344:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1344:7: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:1344:7: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1361:17: warning: redundant 'EVENT_SENDER' declaration [readability-redundant-declaration] +Arx/src/game/NPC.cpp:1361:17: warning: variable 'EVENT_SENDER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:1361:17: warning: variable 'EVENT_SENDER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:1364:25: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1374:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1374:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1374:46: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1374:51: warning: parameter name 'tw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1376:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1376:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1378:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1380:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1382:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1386:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1387:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1395:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1395:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1395:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1395:57: warning: parameter name 'tw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1397:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1397:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1399:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1401:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1405:3: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1405:9: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1408:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1409:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1416:6: warning: function 'ARX_NPC_SpawnMember' has cognitive complexity of 62 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:1416:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1418:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1422:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1422:71: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1425:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/NPC.cpp:1427:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1432:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1439:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1450:75: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1458:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1459:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1459:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1459:19: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/NPC.cpp:1459:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1459:27: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/game/NPC.cpp:1459:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1473:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1498:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:1498:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1500:42: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1508:7: warning: undefined behavior, destination object type 'value_type' (aka 'EERIE_VERTEX') is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:1508:7: warning: undefined behavior, source object type 'value_type' (aka 'EERIE_VERTEX') is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:1510:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1520:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1526:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1540:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1541:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1542:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1543:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1544:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1547:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:1551:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1559:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:1566:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1566:23: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/game/NPC.cpp:1567:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1567:23: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/game/NPC.cpp:1568:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1568:23: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/game/NPC.cpp:1573:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1579:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1584:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:1587:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1596:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1598:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1600:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/NPC.cpp:1600:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1602:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1602:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/NPC.cpp:1602:33: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/game/NPC.cpp:1608:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1609:19: warning: no header providing "GFLAG_NO_PHYS_IO_COL" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1619:18: warning: no header providing "COLLIDE_WITH_PLAYER" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1620:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1627:2: warning: undefined behavior, destination object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:1627:2: warning: undefined behavior, source object type 'IO_HALO' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:1627:39: warning: no header providing "IO_HALO" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1629:17: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1641:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:1641:21: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:1642:13: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:1643:13: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:1643:20: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:1648:38: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:1648:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1648:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1651:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1651:22: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/NPC.cpp:1664:8: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:1664:14: warning: function 'GetCutFlag' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1666:24: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1668:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/NPC.cpp:1683:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1683:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1683:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:1685:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1688:14: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1690:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1692:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1694:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1697:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1700:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1703:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1709:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/game/NPC.cpp:1710:7: warning: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] +Arx/src/game/NPC.cpp:1719:33: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1721:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1731:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1731:32: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:1731:38: warning: parameter name 'fl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1733:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1738:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1741:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1744:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1750:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1750:6: warning: function 'ARX_NPC_ApplyCuts' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:1750:33: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1752:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1755:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1759:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1766:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1771:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1773:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:1778:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1780:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:1780:3: warning: variable 'flg' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1780:15: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1781:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1781:3: warning: variable 'numsel' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1794:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1811:6: warning: function 'ARX_NPC_TryToCutSomething' has cognitive complexity of 46 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:1814:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1816:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1818:26: warning: no header providing "GFLAG_NOGORE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1818:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1822:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1823:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1830:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1837:8: warning: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] +Arx/src/game/NPC.cpp:1840:4: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:1840:4: warning: variable 'fll' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1842:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1845:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1851:72: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1852:79: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1853:79: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1866:5: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1871:15: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1877:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1879:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1883:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:1883:3: warning: variable 'fl' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1883:9: warning: variable name 'fl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1888:30: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1900:14: warning: variable 'STRIKE_AIMTIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:1905:6: warning: function 'IsPlayerStriking' has cognitive complexity of 38 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:1907:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1909:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1912:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1912:2: warning: variable 'weapontype' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1913:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1913:7: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:1913:7: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1915:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/game/NPC.cpp:1915:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/game/NPC.cpp:1922:82: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1924:67: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1933:84: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1935:69: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1944:80: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1946:65: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1955:80: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1957:65: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1967:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1971:57: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1977:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:1983:37: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1990:6: warning: function 'ARX_NPC_Manage_Fight' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:1990:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:1992:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1996:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1998:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1998:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2000:75: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2026:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2036:39: warning: no header providing "OBJECT_TYPE_DAGGER" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2057:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2067:39: warning: no header providing "OBJECT_TYPE_1H" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2088:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2098:39: warning: no header providing "OBJECT_TYPE_2H" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2119:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2128:39: warning: no header providing "OBJECT_TYPE_BOW" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2136:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2140:55: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2148:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2177:29: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2177:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2179:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2181:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/NPC.cpp:2182:2: warning: no header providing "GetAnimTotalTranslate" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2183:2: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2184:32: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:2184:39: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:2184:52: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:2184:59: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:2186:2: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:2186:2: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:2191:2: warning: variable 'res' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2193:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2194:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/game/NPC.cpp:2198:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2198:35: warning: 2 adjacent parameters of 'TryAndCheckAnim' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/NPC.cpp:2198:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2198:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2200:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2205:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2216:9: warning: macro 'STRIKE_MUL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/NPC.cpp:2217:9: warning: macro 'STRIKE_MUL2' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/NPC.cpp:2218:9: warning: macro 'STRIKE_DISTANCE' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/NPC.cpp:2222:6: warning: function 'ARX_NPC_Manage_Anims' has cognitive complexity of 213 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:2222:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2224:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:2224:31: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:2224:32: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:2241:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2243:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2244:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2252:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2254:11: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2256:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2258:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2260:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2262:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2275:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2279:11: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2281:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2283:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2285:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2287:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2297:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2301:4: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2301:10: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2303:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2305:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2307:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2311:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2311:7: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:2311:7: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2333:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2357:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2364:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2396:21: warning: no header providing "IO_HIT" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2400:34: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:2400:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2406:11: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:2406:28: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:2406:85: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:2406:102: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:2427:67: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2428:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2432:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:2433:18: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:2447:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2449:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2451:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2453:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2475:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2513:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2513:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2551:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:2551:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2557:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:2557:29: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:2557:86: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:2557:103: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:2564:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2567:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2570:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2587:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:2588:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:2592:88: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2595:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2613:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2620:2: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2620:8: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2622:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2627:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2630:10: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/NPC.cpp:2636:24: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2647:32: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2647:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2653:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/NPC.cpp:2653:9: warning: variable 'self_dist' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:2653:20: warning: variable 'targ_dist' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:2656:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2658:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2661:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2663:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2668:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:2673:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2694:123: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2698:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2699:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:2699:23: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/NPC.cpp:2703:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:2703:15: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/NPC.cpp:2707:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2707:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:2712:13: warning: function 'ManageNPCMovement' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:2712:13: warning: function 'ManageNPCMovement' has cognitive complexity of 392 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:2712:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2722:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2733:9: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2754:20: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2754:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2761:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2762:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2763:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2764:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2786:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2801:34: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:2801:35: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/NPC.cpp:2803:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:2803:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2803:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2811:6: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/NPC.cpp:2828:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/NPC.cpp:2849:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2881:14: warning: operator has equivalent nested operands [misc-redundant-expression] +Arx/src/game/NPC.cpp:2906:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2910:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:2910:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2910:15: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2914:67: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2926:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2926:15: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2928:6: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2928:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2928:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:2932:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2935:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2944:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:2948:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:2948:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2948:14: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:2952:66: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2968:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2970:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2973:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2976:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2981:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:2997:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3002:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/NPC.cpp:3011:10: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:3014:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3017:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3025:3: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:3045:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3075:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3092:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3094:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3101:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3122:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3125:5: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/game/NPC.cpp:3140:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3150:10: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:3150:44: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:3156:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3172:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3190:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3197:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3210:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3211:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3217:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3219:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3245:3: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3245:9: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3245:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:3245:23: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/NPC.cpp:3253:2: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:3253:2: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:3256:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3265:3: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3269:42: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/NPC.cpp:3269:42: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/NPC.cpp:3271:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3276:2: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:3276:2: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/NPC.cpp:3314:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3315:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3334:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3337:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3345:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3345:9: warning: variable 'targ' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:3347:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3349:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3371:12: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3372:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3372:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3372:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3376:5: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3376:11: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3378:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3393:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3395:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3396:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3403:9: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/game/NPC.cpp:3407:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3415:6: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3415:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:3417:57: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.cpp:3426:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3440:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3449:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3464:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3478:70: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3487:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3498:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3498:5: warning: variable 'lMax' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3498:65: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.cpp:3500:57: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/game/NPC.cpp:3508:71: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3510:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3513:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3521:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3521:8: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3521:19: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:3523:36: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:3523:37: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/NPC.cpp:3547:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3549:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3550:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3553:33: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/NPC.cpp:3553:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/NPC.cpp:3555:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3556:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3558:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:3558:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3558:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3580:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3593:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3601:31: warning: parameter name 'a1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3601:41: warning: parameter name 'a2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3606:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3608:8: warning: variable 'ret' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:3622:14: warning: variable 'CURRENT_PLAYER_COLOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:3629:10: warning: function 'ARX_NPC_GetFirstNPCInSight' has cognitive complexity of 53 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:3631:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3631:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3635:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3638:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3643:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3649:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3652:3: warning: variable 'dist_io' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3655:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3669:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/NPC.cpp:3671:3: warning: variable 'ab' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3671:9: warning: variable name 'ab' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3673:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3681:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3683:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3684:4: warning: no header providing "GetVertexPos" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:3694:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3696:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3700:9: warning: variable name 'aa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3703:7: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:3717:4: warning: variable 'grnd_color' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3722:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3725:5: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:3734:5: warning: do not use 'else' after 'continue' [readability-else-after-return] +Arx/src/game/NPC.cpp:3750:14: warning: redundant 'CURRENT_PLAYER_COLOR' declaration [readability-redundant-declaration] +Arx/src/game/NPC.cpp:3750:14: warning: variable 'CURRENT_PLAYER_COLOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:3758:24: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3761:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3766:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3767:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3768:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3770:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3771:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3772:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3773:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3776:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3776:13: warning: variable 'GLOBAL_Player_Room' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:3785:6: warning: function 'CheckNPCEx' has cognitive complexity of 34 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:3785:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3788:2: warning: variable 'ds' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3788:8: warning: variable name 'ds' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3791:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3798:4: warning: no header providing "UpdateIORoom" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:3805:3: warning: variable 'fdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3805:17: warning: no header providing "SP_GetRoomDist" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:3816:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3816:4: warning: variable 'grp' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3821:10: warning: variable name 'aa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3823:4: warning: variable 'ab' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3823:10: warning: variable name 'ab' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3824:7: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:3831:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3841:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3849:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3855:37: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3857:2: warning: variable '_step_material' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3861:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3865:15: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:3865:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3866:8: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:3866:37: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.cpp:3868:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3893:6: warning: function 'ARX_NPC_SpawnAudibleSound' has cognitive complexity of 27 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:3893:62: warning: 2 adjacent parameters of 'ARX_NPC_SpawnAudibleSound' of similar type ('const float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/NPC.cpp:3895:8: warning: variable 'max_distance' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/NPC.cpp:3897:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3899:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3901:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3909:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3909:2: warning: variable 'Source_Room' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3912:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/NPC.cpp:3912:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3918:41: warning: no header providing "SHOW_FLAG_HIDDEN" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:3922:4: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3926:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3931:6: warning: variable 'fdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3935:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3935:7: warning: variable 'ldistance' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3935:24: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:3936:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/NPC.cpp:3938:7: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/NPC.cpp:3943:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3943:6: warning: variable 'ldistance' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:3943:23: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:3944:6: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/NPC.cpp:3946:6: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/NPC.cpp:3953:17: warning: variable 'CURRENT_TORCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:3953:17: warning: variable 'CURRENT_TORCH' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:3955:6: warning: function 'ManageIgnition' has cognitive complexity of 83 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:3955:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3957:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3961:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3976:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:3979:61: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3982:20: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:3985:9: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:3993:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3996:26: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:4011:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:4032:25: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.cpp:4034:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:4047:15: warning: no header providing "SHOW_FLAG_KILLED" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:4053:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:4054:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/NPC.cpp:4060:3: warning: variable 'pos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:4062:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:4068:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:4092:9: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:4092:50: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:4101:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:4104:26: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:4115:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:4121:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:4145:6: warning: function 'ManageIgnition_2' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:4145:32: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:4147:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:4151:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:4151:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:4158:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:4170:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:4171:22: warning: no header providing "GetFreeDynLight" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:4175:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:4175:4: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:4175:9: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:4181:10: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:4196:50: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.cpp:4196:58: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.cpp:4198:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:4200:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:4200:63: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/game/NPC.cpp:4204:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:4218:27: warning: redundant 'ACTIVEBKG' declaration [readability-redundant-declaration] +Arx/src/game/NPC.cpp:4218:27: warning: variable 'ACTIVEBKG' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:4218:27: warning: variable 'ACTIVEBKG' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/NPC.cpp:4220:6: warning: function 'GetTargetPos' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:4220:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:4220:32: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/NPC.cpp:4235:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:4235:5: warning: variable 'pos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:4246:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:4246:5: warning: variable 'pos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:4263:20: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:4264:9: warning: variable name 'tp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:4265:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:4265:3: warning: variable 'wp' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:4265:8: warning: variable name 'wp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.cpp:4283:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/NPC.h:56:9: warning: macro 'MAX_STACKED_BEHAVIOR' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/NPC.h:57:9: warning: macro 'MAX_EXTRA_ROTATE' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/NPC.h:59: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:66: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:84:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:84:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:84:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/NPC.h:84:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/NPC.h:86:8: warning: accessing fields in struct 'IO_BEHAVIOR_DATA' is inefficient due to padding; only needs 324 bytes but is using 328 bytes [altera-struct-pack-align] +Arx/src/game/NPC.h:86:8: warning: accessing fields in struct 'IO_BEHAVIOR_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/NPC.h:86:8: warning: constructor does not initialize these fields: exist, behavior_param, tactics, target, movemode [cppcoreguidelines-pro-type-member-init] +Arx/src/game/NPC.h:87:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:90:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:91:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:93:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/NPC.h:96: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:102:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:102:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:102:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/NPC.h:102:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/NPC.h:104:8: warning: accessing fields in struct 'IO_PATHFIND' is inefficient due to padding; only needs 32 bytes but is using 40 bytes [altera-struct-pack-align] +Arx/src/game/NPC.h:104:8: warning: accessing fields in struct 'IO_PATHFIND' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/game/NPC.h:104:8: warning: constructor does not initialize these fields: listnb, list, listpos, pathwait, truetarget [cppcoreguidelines-pro-type-member-init] +Arx/src/game/NPC.h:106:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:107:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/game/NPC.h:108:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/game/NPC.h:109:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.h:110:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:113:6: warning: enum 'ExtraRotateFlag' 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:117:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:117:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:117:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/NPC.h:117:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/NPC.h:119:8: warning: accessing fields in struct 'EERIE_EXTRA_ROTATE' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/NPC.h:121:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.h:121:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/NPC.h:122:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/NPC.h:125: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:129:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:129:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:129:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/NPC.h:129:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/NPC.h:131:8: warning: accessing fields in struct 'IO_NPCDATA' is inefficient due to padding; only needs 1927 bytes but is using 1944 bytes [altera-struct-pack-align] +Arx/src/game/NPC.h:131:8: warning: accessing fields in struct 'IO_NPCDATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/NPC.h:131: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/NPC.h:131:8: warning: class 'IO_NPCDATA' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/NPC.h:140:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/NPC.h:141:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:143:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:156:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:157:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:158:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:162:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:163:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:166:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/NPC.h:167:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:170:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:172:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/NPC.h:178:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.h:179:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.h:180:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:186:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.h:187:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.h:194:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.h:195:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/NPC.h:199:40: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.h:200:40: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.h:203:40: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.h:204:40: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.h:207:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/NPC.h:209:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:209:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:210:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:212:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:212:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:213:25: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:215:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:216:6: warning: function 'ARX_TEMPORARY_TrySound' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/game/NPC.h:217:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:218:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:219:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:221:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:221:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:222:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:224:32: warning: parameter 'factor' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/game/NPC.h:225:32: warning: parameter 'presence' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/game/NPC.h:226:6: warning: function 'ARX_NPC_NeedStepSound' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/game/NPC.h:226:37: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:227:28: warning: parameter 'volume' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/game/NPC.h:228:28: warning: parameter 'factor' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/game/NPC.h:231:24: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:232:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:233:32: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:235:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:239:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/NPC.h:239:32: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:49:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/game/Player.cpp:53:1: warning: included header limits is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:59:1: warning: included header Localisation.h is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:84:1: warning: included header Vertex.h is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:92:1: warning: included header Filesystem.h is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:115:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:115:14: warning: variable 'ARX_CONVERSATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:116:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:116:14: warning: variable 'HERO_SHOW_1ST' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:117:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:117:14: warning: variable 'REQUEST_SPEECH_SKIP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:118:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:118:14: warning: variable 'CHANGE_LEVEL_ICON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:119:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:119:14: warning: variable 'DONT_ERASE_PLAYER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:120:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:120:14: warning: variable 'GLOBAL_MAGIC_MODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:121:24: warning: redundant 'QuakeFx' declaration [readability-redundant-declaration] +Arx/src/game/Player.cpp:121:24: warning: variable 'QuakeFx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:122:17: warning: variable 'CURRENT_TORCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:122:17: warning: variable 'CURRENT_TORCH' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:123:17: warning: variable 'CAMERACONTROLLER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:123:17: warning: variable 'CAMERACONTROLLER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:124:26: warning: variable 'pParticleManager' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:124:26: warning: variable 'pParticleManager' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:126:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:126:22: warning: variable 'LAST_JUMP_ENDTIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:133:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:133:14: warning: variable 'PUSH_PLAYER_FORCE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:134:13: warning: variable 'bBookHalo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:135:13: warning: variable 'bGoldHalo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:136:14: warning: variable 'InventoryX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:137:14: warning: variable 'InventoryDir' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:138:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:138:13: warning: variable 'COLLIDED_CLIMB_POLY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:139:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:139:13: warning: redundant 'HERO_SHOW_1ST' declaration [readability-redundant-declaration] +Arx/src/game/Player.cpp:139:13: warning: variable 'HERO_SHOW_1ST' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:140:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:140:13: warning: variable 'STARTED_A_GAME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:141:13: warning: variable 'TRUE_PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:142:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:142:22: warning: variable 'ulBookHaloTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:143:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:143:22: warning: variable 'ulGoldHaloTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:144:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:144:13: warning: variable 'cur_rf' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:148:14: warning: initialization of 'player' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Player.cpp:148:14: warning: variable 'player' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:149:15: warning: variable 'hero' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:149:15: warning: variable 'hero' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:149:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:150:7: warning: variable 'currentdistance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:151:7: warning: variable 'CURRENT_PLAYER_COLOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:152:7: warning: variable 'DeadCameraDistance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:153:7: warning: variable 'PLAYER_ROTATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:155:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:155:6: warning: variable 'USE_PLAYERCOLLISIONS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:156:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:156:6: warning: variable 'BLOCK_PLAYER_CONTROLS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:157:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:157:6: warning: variable 'WILLRETURNTOCOMBATMODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:158:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:158:6: warning: variable 'DeadTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:159:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:159:22: warning: variable 'LastHungerSample' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:159:22: warning: variable 'LastHungerSample' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:160:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:160:22: warning: variable 'ROTATE_START' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:160:22: warning: variable 'ROTATE_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:161:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:161:6: warning: variable 'sp_max' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:164:1: warning: no header providing "ANIM_HANDLE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:164:15: warning: variable 'herowaitbook' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:164:15: warning: variable 'herowaitbook' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:164:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:165:15: warning: variable 'herowait_2h' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:165:15: warning: variable 'herowait_2h' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:165:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:167:14: warning: variable 'necklace' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:169:22: warning: variable 'Keyring' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:170:10: warning: variable 'CURRENT_TORCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:170:10: warning: variable 'CURRENT_TORCH' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:170:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:172:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:172:22: warning: variable 'FALLING_TIME' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:172:22: warning: variable 'FALLING_TIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:174:22: warning: variable 'PlayerQuest' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:175:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:175:6: warning: variable 'FistParticles' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:176:6: warning: redundant 'Manage_sp_max' declaration [readability-redundant-declaration] +Arx/src/game/Player.cpp:178:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:204:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:230:33: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:242:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:243:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Player.cpp:262:26: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Player.cpp:264:26: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Player.cpp:270:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:272:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Player.cpp:272:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:272:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Player.cpp:275:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:289:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:295:6: warning: function 'ARX_PLAYER_ClickedOnTorch' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Player.cpp:295:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:297:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:302:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:308:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:313:35: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:324:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:324:44: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Player.cpp:327:15: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:331:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:365:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:365:44: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Player.cpp:372:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:378:13: warning: function 'ARX_PLAYER_ManageTorch' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:390:26: warning: no header providing "SHOW_FLAG_KILLED" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:391:33: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:397:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:425:6: warning: function 'ARX_Player_Rune_Add' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Player.cpp:430:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Player.cpp:430:25: warning: no header providing "SPELL_COUNT" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:432:32: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/game/Player.cpp:434:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:434:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:439:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:456:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Player.cpp:458:32: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/game/Player.cpp:460:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:460:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:465:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:481:20: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:481:53: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:507:14: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/game/Player.cpp:522:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Player.cpp:522:24: warning: no header providing "MAX_SPELLS" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:523:6: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:523:43: warning: no header providing "SPELL_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:550:14: warning: function 'ARX_PLAYER_Get_Skill_Stealth' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:550:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:553:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Player.cpp:562:14: warning: function 'ARX_PLAYER_Get_Skill_Mecanism' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:562:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:565:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Player.cpp:574:14: warning: function 'ARX_PLAYER_Get_Skill_Intuition' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:574:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:577:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Player.cpp:586:14: warning: function 'ARX_PLAYER_Get_Skill_Etheral_Link' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:586:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:589:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Player.cpp:598:14: warning: function 'ARX_PLAYER_Get_Skill_Object_Knowledge' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:598:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:602:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Player.cpp:612:14: warning: function 'ARX_PLAYER_Get_Skill_Casting' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:612:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:615:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Player.cpp:624:14: warning: function 'ARX_PLAYER_Get_Skill_Projectile' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:624:46: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:628:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Player.cpp:637:14: warning: function 'ARX_PLAYER_Get_Skill_Close_Combat' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:637:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:641:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Player.cpp:650:14: warning: function 'ARX_PLAYER_Get_Skill_Defense' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:650:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:653:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Player.cpp:665:13: warning: function 'ARX_PLAYER_ComputePlayerStats' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:667:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:667:19: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:667:58: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:668:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:668:19: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:668:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:669:2: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:669:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:676:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:676:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:678:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:678:39: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:678:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:687:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:687:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:691:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:691:13: warning: variable 'cur_mr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:692:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:692:13: warning: variable 'SPECIAL_PNUX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:726:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:770:2: warning: variable 'fFullAimTime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:771:2: warning: variable 'fCalcHandicap' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:774:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:776:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:778:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:781:2: warning: use `std::max` instead of `<=` [readability-use-std-min-max] +Arx/src/game/Player.cpp:781:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:795:70: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:818:72: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:820:74: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:831:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:832:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:834:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:834:4: warning: variable 'n' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:834:9: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:840:11: warning: no header providing "SPELL_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:843:11: warning: no header providing "SPELL_LOWER_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:846:11: warning: no header providing "SPELL_CURSE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:852:11: warning: no header providing "SPELL_BLESS" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:910:36: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:911:32: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:912:40: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:913:37: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:914:31: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:915:32: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:916:33: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:917:36: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:918:40: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:919:31: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:920:34: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:921:36: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:922:31: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:923:30: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:924:31: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:925:30: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:926:25: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:927:29: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:942:28: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:944:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:944:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:948:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:948:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:952:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:952:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:956:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:956:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:960:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:960:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:972:29: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:974:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:974:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:976:30: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:978:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:978:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:982:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:982:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:987:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:987:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:990:24: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:990:24: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:990:68: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:992:24: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:992:24: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:992:60: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1030:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1034:6: warning: variable 'SKIN_MOD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1035:6: warning: variable 'QUICK_MOD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1159:6: warning: function 'ARX_PLAYER_QuickGeneration' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Player.cpp:1161:2: warning: variable 'old_skin' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1167:3: warning: variable 'rn' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1167:9: warning: variable name 'rn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1193:3: warning: variable 'rn' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1193:9: warning: variable name 'rn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1255:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1255:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1257:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1257:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.cpp:1275:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1275:7: warning: variable 'xpNeeded' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:1276:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1276:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1276:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1278:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1316:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1320:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1336:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:1342:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1342:6: warning: variable 'PLAYER_PARALYSED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1350:6: warning: function 'ARX_PLAYER_FrameCheck' has cognitive complexity of 68 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Player.cpp:1357:3: warning: variable 'inc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1361:4: warning: variable 'inc_hunger' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1365:43: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:1365:60: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:1367:24: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:1367:25: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:1373:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Player.cpp:1379:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1386:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1386:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1390:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1391:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1397:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1397:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1401:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1401:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1404:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1407:11: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1411:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1411:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1413:25: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:1415:6: warning: variable 'dmg' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1417:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1418:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1422:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1425:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1428:20: warning: variable 'PLAYER_SKIN_TC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1428:20: warning: variable 'PLAYER_SKIN_TC' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1428:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1432:12: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1437: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:1468:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Player.cpp:1482:21: warning: variable 'tmpTC' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:1486:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1490:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1494:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1498:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1505:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.cpp:1509:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.cpp:1510:17: warning: no header providing "EERIE_ANIMMANAGER_Load" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1511:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.cpp:1513:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.cpp:1516:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Player.cpp:1516:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1532:16: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1545:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1545:29: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Player.cpp:1545:51: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/game/Player.cpp:1549:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1549:48: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.cpp:1550:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1550:48: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.cpp:1551:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1551:48: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.cpp:1552:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1552:48: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.cpp:1554:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Player.cpp:1554:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1554:14: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1559:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1565:7: warning: variable 'Falling_Height' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1570:8: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:1570:8: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1571:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1571:19: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1599:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Player.cpp:1606:7: warning: variable 'LASTPLAYERA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1607:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1607:13: warning: variable 'ON_PLATFORM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1608:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1608:6: warning: variable 'LAST_ON_PLATFORM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1609:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1609:13: warning: variable 'MOVE_PRECEDENCE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1610:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1610:13: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:1615:6: warning: function 'ARX_PLAYER_Manage_Visual' has cognitive complexity of 310 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Player.cpp:1617:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:1617:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Player.cpp:1617:2: warning: variable 'tim' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1617:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:1617:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:1624:3: warning: variable 'diff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1624:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1624:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1630:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1630:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.cpp:1631:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1635:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1639:22: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1639:36: warning: no header providing "HALO_DYNLIGHT" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1641:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:1641:19: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:1643:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:1643:19: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:1648:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:1648:19: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:1650:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:1650:19: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:1657:10: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:1657:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1658:16: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1658:21: warning: no header providing "CheckInPolyPrecis" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1668:4: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1669:32: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:1671:4: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1688:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1689:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1690:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1691:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1703:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Player.cpp:1707:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1708:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1709:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1710:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1712:20: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1713:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Player.cpp:1718:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1722:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Player.cpp:1741:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1743:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1747:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1749:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1757:5: warning: variable 'fv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1757:11: warning: variable name 'fv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1758:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1758:5: warning: variable 'vv' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1758:10: warning: variable name 'vv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1758:15: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:1759:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1761:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1761:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1765:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1765:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1771:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1771:5: warning: variable 'vv' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1771:10: warning: variable name 'vv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1771:15: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:1772:5: warning: variable 'fv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1772:11: warning: variable name 'fv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:1773:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:1775:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1775:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1779:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1779:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1787:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1796:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1799:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1802:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1805:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1811:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1813:61: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1815:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1821:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1823:61: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1825:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1832:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1834:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1835:6: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:1836:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1838:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1845:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1847:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1849:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1855:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1857:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1859:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1866:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1890:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1896:4: warning: no header providing "AcquireLastAnim" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1897:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:1924:34: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:1970:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1971:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Player.cpp:1977:7: warning: no header providing "ARX_SPELLS_ExistAnyInstance" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1977:35: warning: no header providing "SPELL_FLYING_EYE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1981:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:1994:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1998:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1998:10: warning: variable 'id' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:1998:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2000:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2002:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2010:24: warning: no header providing "GetFreeDynLight" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2013:21: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2028:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2030:22: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2055:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Player.cpp:2057:12: warning: no header providing "ARX_SPELLS_GetSpellOn" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2057:38: warning: no header providing "SPELL_LEVITATE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2061:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Player.cpp:2073:29: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:2073:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:2089:26: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:2089:27: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:2101:26: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:2101:27: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:2103:41: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:2106:7: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Player.cpp:2113:7: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Player.cpp:2125:5: warning: no header providing "ResetAnim" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2132:66: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2156:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2158:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2163:66: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2176:3: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Player.cpp:2176:3: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Player.cpp:2202:30: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2203:30: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2207:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2208:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2209:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2210:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2218:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2221:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2226:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2226:7: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2249:2: warning: no header providing "SetTargetCamera" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2254:14: warning: variable 'PLAYER_ARMS_FOCAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2255:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2255:13: warning: variable 'CURRENT_BASE_FOCAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2256:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2256:13: warning: variable 'TRAP_DETECT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2257:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2257:13: warning: variable 'TRAP_SECRET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2268:47: warning: no header providing "SPELL_PARALYSE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2282:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2289:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:2289:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2294:9: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2296:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2326:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2331:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2332:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:2333:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2334:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:2340:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2341:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2343:47: warning: no header providing "SPELL_DETECT_TRAP" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2343:71: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2352:13: warning: function 'ARX_PLAYER_MakeStepNoise' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:2364:10: warning: variable 'skill_stealth' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:2379:13: warning: variable 'bGCroucheToggle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2380:14: warning: variable 'MAX_ALLOWED_PER_SECOND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2382:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2382:13: warning: variable 'LAST_FIRM_GROUND' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:2382:13: warning: variable 'LAST_FIRM_GROUND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2383:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2383:13: warning: variable 'TRUE_FIRM_GROUND' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:2383:13: warning: variable 'TRUE_FIRM_GROUND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2384:7: warning: variable 'lastposy' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2385:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:2385:15: warning: variable 'REQUEST_JUMP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2386:14: warning: variable 'GLOBAL_SLOWDOWN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2387:14: warning: redundant 'Original_framedelay' declaration [readability-redundant-declaration] +Arx/src/game/Player.cpp:2387:14: warning: variable 'Original_framedelay' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2389:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:2389:15: warning: variable 'LAST_JUMP_ENDTIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:2401:2: warning: variable 'tmp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2407:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2408:35: warning: loop induction expression should not have floating-point type [cert-flp30-c] +Arx/src/game/Player.cpp:2410:25: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Player.cpp:2410:57: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Player.cpp:2412:3: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2430:6: warning: function 'PlayerMovementIterate' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/game/Player.cpp:2437:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2437:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2440:8: warning: variable 'speedfactor' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:2444:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:2444:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2446:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2448:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2484:6: warning: function 'PlayerMovementIterate' has cognitive complexity of 273 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Player.cpp:2490:37: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2491:4: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2492:32: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2494:4: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2503:33: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2512:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2512:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2512:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:2512:14: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:2512:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:2512:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:2531:8: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2535:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2542:36: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2543:5: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2544:33: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2546:5: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2549:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2549:6: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2556:36: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2563:42: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2564:32: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2571:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Player.cpp:2578:9: warning: variable 'anything' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:2580:3: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Player.cpp:2580:3: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Player.cpp:2604:3: warning: variable 'anything2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2633:5: warning: variable 'fh' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2633:11: warning: variable name 'fh' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2635:6: warning: variable 'dmg' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2639:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2655:6: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:2655:23: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:2657:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:2657:24: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:2658:17: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:2658:25: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:2658:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:2659:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Player.cpp:2675:67: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:2685:12: warning: variable name 'mv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2686:6: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.cpp:2686:6: warning: variable 'idx' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2687:6: warning: no header providing "GetAnimTotalTranslate" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2688:6: warning: variable 'time' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2729:10: warning: variable 'epcentery' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:2730:16: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2734:11: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Player.cpp:2735:6: warning: variable 'mul' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2735:25: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Player.cpp:2739:16: warning: no header providing "ARX_SPELLS_ApplyFireProtection" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2790:9: warning: variable 'posy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:2791:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2792:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2792:18: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:2806:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Player.cpp:2819:29: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:2819:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:2824:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2824:5: warning: variable 'timee' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2824:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:2824:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2825:5: warning: variable 'offset_time' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2825:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:2825:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:2826:5: warning: variable 'position' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2828:5: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2828:11: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2831:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2834:9: warning: variable 'test' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:2835:4: warning: variable 'PLAYER_CYLINDER_STEP' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2859:7: warning: variable 'fh' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2859:13: warning: variable name 'fh' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:2861:8: warning: variable 'dmg' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2864:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2914:41: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2924:5: warning: variable 'mul' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2924:17: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Player.cpp:2924:17: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Player.cpp:2957:2: warning: variable 'grnd_color' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2957:21: warning: no header providing "GetColorz" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2971:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2976:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:2989:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2992:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:2993:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3009:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:3011:2: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/game/Player.cpp:3011:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3022:103: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3036:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3036:22: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3037:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3038:4: warning: no header providing "EERIE_BKG_INFO" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3038:21: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:3040:52: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:3047:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3053:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3059:3: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Player.cpp:3059:3: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Player.cpp:3061:38: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:3074:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Player.cpp:3077:11: warning: no header providing "SPELL_MAGIC_SIGHT" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3079:11: warning: no header providing "SPELL_SPEED" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3091:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3101:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:3101:51: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.cpp:3117:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3119:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3120:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3125:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3133:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Player.cpp:3133:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3140:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3141:37: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:3142:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Player.cpp:3173:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.cpp:3173:22: warning: variable 'LAST_PRECAST_TIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3174:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3174:13: warning: variable 'sp_wep' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3175:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3175:13: warning: variable 'WILL_QUICKLOAD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3175:29: warning: variable 'WILL_QUICKSAVE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3176:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3176:13: warning: variable 'GLOBAL_Player_Room' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3177:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3177:13: warning: variable 'cur_mx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3177:21: warning: variable 'cur_pom' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3178:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3178:13: warning: variable 'sp_arm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3178:21: warning: variable 'cur_arm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3179:14: warning: variable 'sp_max_start' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3181:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3183:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3185:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3188:17: warning: redundant 'FlyingOverIO' declaration [readability-redundant-declaration] +Arx/src/game/Player.cpp:3188:17: warning: variable 'FlyingOverIO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3188:17: warning: variable 'FlyingOverIO' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3189:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3189:13: warning: variable 'cur_sm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3192:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3201:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3206:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3209:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3209:56: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3223:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3229:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3243:52: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3293:2: warning: no header providing "ARX_SPELLS_Precast_Reset" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3294:2: warning: no header providing "ARX_SPELLS_CancelSpellTarget" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3296:2: warning: no header providing "ARX_SPELLS_ClearAll" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3297:2: warning: no header providing "ARX_SPELLS_ClearAllSymbolDraw" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3298:2: warning: no header providing "ARX_SPELLS_ResetRecognition" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3302:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3325:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3327:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3328:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3369:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3374:6: warning: no header providing "eyeball" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:3374:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3398:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3399:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3400:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3404:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Player.cpp:3424:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.cpp:3424:7: warning: variable 'sp_max_y' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3425:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.cpp:3425:7: warning: initialization of 'sp_max_col' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Player.cpp:3425:7: warning: variable 'sp_max_col' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3426:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.cpp:3426:6: warning: variable 'sp_max_ch' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3427:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3427:6: warning: variable 'sp_max_nb' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.cpp:3430:2: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:3430:8: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:3430:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Player.cpp:3434:3: warning: variable 'modi' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:3435:3: warning: variable 'sizX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:3436:3: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:3436:9: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:3436:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:3436:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:3437:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Player.cpp:3437:3: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:3437:9: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:3437:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:3439:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3441:4: warning: variable 'dx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:3441:10: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:3441:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:3442:4: warning: variable 'dy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:3442:10: warning: variable name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.cpp:3443:18: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Player.cpp:3444:4: warning: variable 'tex' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.h:61:9: warning: macro 'MAX_EQUIPED' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/Player.h:63:8: warning: accessing fields in struct 'ARX_NECKLACE' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Player.h:65:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.h:66:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.h:69:8: warning: accessing fields in struct 'ARX_INTERFACE_MEMORIZE_SPELL' is inefficient due to padding; only needs 49 bytes but is using 56 bytes [altera-struct-pack-align] +Arx/src/game/Player.h:69:8: warning: accessing fields in struct 'ARX_INTERFACE_MEMORIZE_SPELL' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/Player.h:71:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.h:72:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.h:73:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.h:78: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:91:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.h:91:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.h:91:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Player.h:91:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Player.h:93: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:98:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.h:98:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.h:98:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Player.h:98:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Player.h:123:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.h:123:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.h:123:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Player.h:123:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Player.h:125: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:133:8: warning: accessing fields in struct 'ARXCHARACTER' is inefficient due to padding; only needs 729 bytes but is using 760 bytes [altera-struct-pack-align] +Arx/src/game/Player.h:133:8: warning: accessing fields in struct 'ARXCHARACTER' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Player.h:133:8: warning: constructor does not initialize these fields: useanim, jumpstarttime, jumplastposition, jumpphase, climbing, levitate, inzone, falling, doingmagic, Interface, onfirmground, rightIO, leftIO, equipsecondaryIO, equipshieldIO, Mod_Attribute_Strength, Mod_Attribute_Dexterity, Mod_Attribute_Constitution, Mod_Attribute_Mind, Mod_Skill_Stealth, Mod_Skill_Mecanism, Mod_Skill_Intuition, Mod_Skill_Etheral_Link, Mod_Skill_Object_Knowledge, Mod_Skill_Casting, Mod_Skill_Projectile, Mod_Skill_Close_Combat, Mod_Skill_Defense, Mod_armor_class, Mod_resist_magic, Mod_resist_poison, Mod_Critical_Hit, Mod_damages, Full_Attribute_Strength, Full_Attribute_Dexterity, Full_Attribute_Constitution, Full_Attribute_Mind, Full_Skill_Stealth, Full_Skill_Mecanism, Full_Skill_Intuition, Full_Skill_Etheral_Link, Full_Skill_Object_Knowledge, Full_Skill_Casting, Full_Skill_Projectile, Full_Skill_Close_Combat, Full_Skill_Defense, Full_armor_class, Full_resist_magic, Full_resist_poison, Full_Critical_Hit, Full_damages, Full_AimTime, Full_Weapon_Type, Full_life, Full_maxlife, Full_maxmana, Attribute_Strength, Attribute_Dexterity, Attribute_Constitution, Attribute_Mind, Skill_Stealth, Skill_Mecanism, Skill_Intuition, Skill_Etheral_Link, Skill_Object_Knowledge, Skill_Casting, Skill_Projectile, Skill_Close_Combat, Skill_Defense, Critical_Hit, AimTime, life, maxlife, mana, maxmana, Old_Skill_Stealth, Old_Skill_Mecanism, Old_Skill_Intuition, Old_Skill_Etheral_Link, Old_Skill_Object_Knowledge, Old_Skill_Casting, Old_Skill_Projectile, Old_Skill_Close_Combat, Old_Skill_Defense, Attribute_Redistribute, Skill_Redistribute, level, armor_class, resist_magic, resist_poison, xp, skin, damages, poison, hunger, gold, bag, SpellToMemorize [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Player.h:141:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Player.h:145:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.h:146:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.h:152:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:153:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.h:154:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.h:158:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:165:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.h:165:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.h:209:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:210:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:234:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:261:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:265:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.h:270:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:271:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.h:279:37: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/game/Player.h:281:8: warning: method 'basePosition' can be made const [readability-make-member-function-const] +Arx/src/game/Player.h:282:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/game/Player.h:286:18: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.h:295:8: warning: accessing fields in struct 'KEYRING_SLOT' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/Player.h:296:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Player.h:302:8: warning: accessing fields in struct 'STRUCT_QUEST' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/game/Player.h:306:21: warning: variable 'player' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:307:21: warning: variable 'necklace' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:308:22: warning: variable 'hero' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:308:22: warning: variable 'hero' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:309:22: warning: variable 'herowaitbook' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:309:22: warning: variable 'herowaitbook' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:310:22: warning: variable 'herowait_2h' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:310:22: warning: variable 'herowait_2h' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:311:34: warning: variable 'PlayerQuest' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:312:34: warning: variable 'Keyring' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:314:14: warning: variable 'DeadCameraDistance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:315:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:315:13: warning: variable 'BLOCK_PLAYER_CONTROLS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:316:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:316:13: warning: variable 'USE_PLAYERCOLLISIONS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:317:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:317:13: warning: variable 'WILLRETURNTOCOMBATMODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Player.h:323:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.h:337:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:344:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:347:6: warning: function 'ARX_PLAYER_CanStealItem' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/game/Player.h:351:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Player.h:355:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:362:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:364:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:364:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:366:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.h:368:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:85:1: warning: included header Vertex.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:122:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:128:13: warning: variable 'TRUE_PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:129:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:129:6: warning: variable 'passwall' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:130:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:130:6: warning: variable 'WILLRETURNTOFREELOOK' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:131:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:131:6: warning: variable 'GLOBAL_MAGIC_MODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:132:6: warning: variable 'bPrecastSpell' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:133:20: warning: variable 'LAST_FAILED_SEQUENCE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:134: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/Spells.cpp:145:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:145:6: warning: variable 'sp_arm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:146:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:146:6: warning: variable 'cur_arm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:147:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:147:6: warning: variable 'cur_sos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:148:13: warning: function 'ApplyPasswall' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:149:13: warning: function 'ApplySPArm' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:150:13: warning: function 'ApplySPuw' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:151:13: warning: function 'ApplySPRf' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:152:13: warning: function 'ApplySPMax' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:153:13: warning: function 'ApplySPWep' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:154:13: warning: function 'ApplySPBow' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:155:13: warning: function 'ApplyCurPNux' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:156:13: warning: function 'ApplyCurMr' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:157:13: warning: function 'ApplyCurSOS' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:160:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:160:13: warning: variable 'FistParticles' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:161:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:161:13: warning: variable 'sp_max' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:162:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:162:7: warning: variable 'uw_mode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:163:8: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:163:14: warning: variable 'uw_mode_pos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:163:14: warning: variable 'uw_mode_pos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:164:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:164:13: warning: variable 'MAGICMODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:165:17: warning: variable 'CURRENT_TORCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:165:17: warning: variable 'CURRENT_TORCH' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:166:14: warning: variable 'GLOBAL_SLOWDOWN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:168:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:168:14: warning: variable 'sp_max_y' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:169:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:169:14: warning: variable 'sp_max_col' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:170:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:170:13: warning: variable 'sp_max_ch' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:171:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:171:13: warning: variable 'sp_max_nb' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:172:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:172:6: warning: variable 'cur_mega' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:173:7: warning: variable 'sp_max_start' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:174:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:174:6: warning: variable 'sp_wep' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:176:13: warning: variable 'bRenderInCursorMode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:178:6: warning: variable 'bOldLookToggle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:179:14: warning: variable 'SLID_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:181:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:181:6: warning: variable 'BH_MODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:184:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:192:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:197:8: warning: accessing fields in struct 'SYMBOL_DRAW' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/Spells.cpp:198:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:199:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:200:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:201:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:202:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:208:13: warning: variable 'bGToggleCombatModeWithKey' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:209:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:209:37: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:211:14: warning: function 'ARX_SPELLS_GetManaCost' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:211:14: warning: function 'ARX_SPELLS_GetManaCost' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/game/Spells.cpp:211:54: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:214:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:214:7: warning: initialization of 'spells' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:214:7: warning: variable 'spells' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:215:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:215:7: warning: variable 'ARX_FLARES_broken' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:216:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:216:6: warning: variable 'CurrPoint' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:217:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:217:6: warning: variable 'cur_mx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:218:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:218:6: warning: variable 'cur_pnux' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:219:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:219:6: warning: variable 'cur_pom' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:220:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:220:6: warning: variable 'cur_rf' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:221:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:221:6: warning: variable 'cur_mr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:222:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:222:6: warning: variable 'cur_sm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:223:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:223:6: warning: variable 'cur_bh' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:225:14: warning: variable 'LASTTELEPORT' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:225:14: warning: variable 'LASTTELEPORT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:225:27: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:226:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:226:6: warning: variable 'snip' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:227:8: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:227:14: warning: initialization of 'Lm' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:227:14: warning: variable 'Lm' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:227:14: warning: variable 'Lm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:227:14: warning: variable name 'Lm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:229:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:230:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:230:14: warning: initialization of 'plist' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:230:14: warning: variable 'plist' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:230:14: warning: variable 'plist' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:231:20: warning: variable 'SpellMoves' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:231:20: warning: variable 'SpellMoves' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:232:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:232:6: warning: variable 'SpellSymbol' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:233:8: warning: variable 'CurrSpellSymbol' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:235:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:235:13: warning: variable 'lMaxSymbolDrawSizeX' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:235:13: warning: variable 'lMaxSymbolDrawSizeX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:236:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:236:13: warning: variable 'lMaxSymbolDrawSizeY' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:236:13: warning: variable 'lMaxSymbolDrawSizeY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:238:15: warning: variable 'ucFlick' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:240:6: warning: function 'GetSpellPosition' has cognitive complexity of 32 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Spells.cpp:240:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:240:40: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:248:3: warning: switch has 7 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:270:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:304:3: warning: switch has 4 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:330:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:364:3: warning: switch has 6 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:393:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:418:14: warning: variable 'pCSpellFX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:423:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:423:30: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:423:30: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:431:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:437:3: warning: switch has 3 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:468:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:485:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:501:3: warning: switch has 7 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:535:13: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:546:25: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:548:45: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Spells.cpp:558:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:558:54: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:560:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:562:10: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:563:8: warning: variable 'ptr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:565:8: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/game/Spells.cpp:565:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:567:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:569:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:569:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:569:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:575:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:575:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:577:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:579:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:582:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:590:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:590:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:592:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:594:10: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:596:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:601:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:606:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:606:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:608:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:609:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:611:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:614:58: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:616:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:616:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:616:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:616:26: warning: 'io->spells_on' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/game/Spells.cpp:616:26: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/game/Spells.cpp:616:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:619:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:621:28: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:625:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:626:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:629:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:631:15: warning: variable 'sequence' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:635:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:636:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:637:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:638:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:639:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:640:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:641:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:642:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:643:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:644:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:645:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:646:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:647:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:648:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:649:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:650:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:651:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:652:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:653:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:654:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:655:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:656:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:658:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:658:19: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:658:34: warning: 'io->symboldraw' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/game/Spells.cpp:658:34: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/game/Spells.cpp:660:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:662:15: warning: variable name 'sd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:664:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:664:18: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:664:37: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:664:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:667:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:667:19: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:669:30: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:669:68: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:669:89: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:670:30: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:670:39: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:671:30: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:671:68: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:671:89: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:676:20: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:679:13: warning: function 'ARX_SPELLS_RequestSymbolDraw2' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:679:51: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:681:15: warning: variable 'sequence' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:751:16: warning: variable 'ptr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:752:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:752:8: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:752:23: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/game/Spells.cpp:754:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:758:15: warning: variable name 'sd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:759:28: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:759:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:759:39: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:759:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:759:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:759:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:761:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:761:19: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:764:30: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:764:68: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:764:89: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:765:30: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:765:39: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:766:30: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:766:68: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:766:89: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:778:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:779:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:780:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:781:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:782:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:783:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:784:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:785:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:786:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:787:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:788:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:789:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:790:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:791:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:792:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:793:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:794:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:795:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:796:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:797:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:798:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:801:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/game/Spells.cpp:801:9: warning: macro 'OFFSET_X' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/game/Spells.cpp:801:19: warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/game/Spells.cpp:802:9: warning: macro 'OFFSET_Y' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/game/Spells.cpp:802:19: warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/game/Spells.cpp:805:25: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:839:13: warning: function 'MakeSpellName' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:1021:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1027:5: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1031:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:1032:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1032:2: warning: variable 'source' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1038:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:1039:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:1040:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:1041:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Spells.cpp:1041:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1048:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1050:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1052:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1052:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1054:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1056:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:1057:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1057:2: warning: variable 'source' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1061:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1062:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1062:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:1064:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:1065:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Spells.cpp:1065:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1071:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1073:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1077:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:1078:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1078:2: warning: variable 'source' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1082:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1084:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1085:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:1090:5: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:1091:5: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Spells.cpp:1091:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1105:59: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:1106:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:1107:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Spells.cpp:1107:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1113:56: warning: 2 adjacent parameters of 'ReCenterSequence' of similar type ('int &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Spells.cpp:1116:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Spells.cpp:1119:2: warning: variable 'iLenght' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1119:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1134:6: warning: function 'ARX_SPELLS_UpdateSymbolDraw' has cognitive complexity of 132 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Spells.cpp:1136:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:1136:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:1136:2: warning: variable 'curtime' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1136:26: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1136:27: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:1139:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:1144:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:1146:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1148:87: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:1158:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1159:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1162:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1166:7: warning: variable 'symb' of type 'Rune' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1168:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1168:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1172:47: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1178:57: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1194:4: warning: variable 'rr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1194:10: warning: variable name 'rr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:1198:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1198:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1198:41: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1202:45: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:1204:45: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:1205:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1206:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1209:41: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1210:42: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1211:42: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1221:19: warning: variable name 'sd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:1222:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1222:5: warning: variable 'tim' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1222:14: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1230:46: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1230:47: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:1236:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:1240:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1240:5: warning: variable 'nbcomponents' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1240:23: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1245:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:1249:11: warning: variable name 'ti' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:1249:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1249:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1251:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1253:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Spells.cpp:1254:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1255:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1257:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Spells.cpp:1257:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1259:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Spells.cpp:1259:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1261:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1261:18: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1263:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1263:14: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1263:15: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1264:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1264:14: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1264:15: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1266:5: warning: variable 'div_ti' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1272:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1277:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1278:8: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1278:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1279:49: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1284:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1284:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1292:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1294:8: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1294:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1295:46: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1302:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1302:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1307:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Spells.cpp:1307:10: warning: variable 'iMinX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:1307:16: warning: variable 'iMinY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:1307:22: warning: variable 'iMaxX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:1307:28: warning: variable 'iMaxY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:1308:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Spells.cpp:1308:10: warning: variable 'iSizeX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:1308:17: warning: variable 'iSizeY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:1316:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1317:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1319:34: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1320:34: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1327:34: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1328:34: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1332:6: warning: variable 'iX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1332:10: warning: variable name 'iX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:1333:6: warning: variable 'iY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1333:10: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:1335:34: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1336:34: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1339:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1344:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1346:8: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1346:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1349:8: warning: variable 'fX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1349:14: warning: variable name 'fX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:1349:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1349:35: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1350:8: warning: variable 'fY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:1350:14: warning: variable name 'fY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:1350:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1350:35: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1352:36: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1353:36: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1357:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1357:15: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1357:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1358:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1358:15: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:1358:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:1360:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1362:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1371:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1371:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1380:25: warning: loop variable name 'e' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:1382:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:1387:13: warning: function 'ARX_SPELLS_AnalyseSYMBOL' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:1387:13: warning: function 'ARX_SPELLS_AnalyseSYMBOL' has cognitive complexity of 131 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Spells.cpp:1389:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1389:7: warning: variable name 'sm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:1391:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1406:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1406:8: 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/game/Spells.cpp:1421:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1421:8: 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/game/Spells.cpp:1438:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1438:8: 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/game/Spells.cpp:1452:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1452:8: 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/game/Spells.cpp:1467:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1467:8: 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/game/Spells.cpp:1484:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1484:8: 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/game/Spells.cpp:1496:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1496:8: 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/game/Spells.cpp:1511:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1511:8: 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/game/Spells.cpp:1531:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1534:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1539:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1539:8: 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/game/Spells.cpp:1555:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1566:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1577:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1596:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1606:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1616:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1632:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1643:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1656:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1661:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1678:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1688:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1702:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1704:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1769:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1775:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1777:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1779:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1781:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1789:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1806:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1808:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1810:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1823:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1858:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1887:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1889:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1906:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1923:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1935:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1937:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1939:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1960:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1972:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:1990:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1993:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:1997:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/game/Spells.cpp:2005:4: warning: variable 'tex' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2005:16: warning: unused local variable 'tex' of type 'std::string' (aka 'basic_string') [bugprone-unused-local-non-trivial-variable] +Arx/src/game/Spells.cpp:2007:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2025:8: warning: accessing fields in struct 'SpellDefinition' is inefficient due to padding; only needs 172 bytes but is using 176 bytes [altera-struct-pack-align] +Arx/src/game/Spells.cpp:2025:8: warning: accessing fields in struct 'SpellDefinition' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Spells.cpp:2025:8: warning: class 'SpellDefinition' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/Spells.cpp:2026:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:2027:8: warning: use default member initializer for 'spell' [modernize-use-default-member-init] +Arx/src/game/Spells.cpp:2029:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:2030:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:2035:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:2041:24: warning: initialization of 'definedSpells' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:2041:24: warning: variable 'definedSpells' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2041:24: warning: variable 'definedSpells' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:2042:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/game/Spells.cpp:2043:19: warning: variable 'spellNames' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2043:19: warning: variable 'spellNames' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:2045:13: warning: function 'addSpell' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2045:28: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:2048:2: warning: variable 'res' of type 'Res' (aka 'pair<_Rb_tree_const_iterator, Spell>>, bool>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2064:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:2075:14: warning: function 'getSpell' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2075:29: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:2084:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:2095:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/game/Spells.cpp:2095:2: warning: variable 'it' of type 'SpellNames::const_iterator' (aka '_Rb_tree_const_iterator, Spell>>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2095:29: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:2100:8: warning: accessing fields in struct 'RawSpellDefinition' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/Spells.cpp:2101:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:2107:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:2107:33: warning: initialization of 'allSpells' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:2108:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2109:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2110:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2111:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2112:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2113:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2114:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2115:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2116:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2117:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2118:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2119:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2120:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2121:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2122:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2123:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2124:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2125:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2126:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2127:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2128:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2129:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2130:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2131:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2132:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2133:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2134:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2135:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2136:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2137:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2138:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2139:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2140:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2141:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2142:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2143:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2144:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2145:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2146:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2147:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2148:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2149:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2150:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2151:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2152:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2153:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2154:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2155:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2156:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2157:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/Spells.cpp:2161:13: warning: function 'ARX_SPELLS_Fizzle' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2161:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2173:13: warning: function 'ARX_SPELLS_AnalyseSPELL' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2175:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2175:2: warning: variable 'caster' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2176:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:2184:8: warning: variable 'spell' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:2217:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2217:13: warning: variable 'PLAYER_PARALYSED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:2220:13: warning: function 'ARX_SPELLS_Analyse' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2220:13: warning: function 'ARX_SPELLS_Analyse' has cognitive complexity of 76 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Spells.cpp:2222:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:2224:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2226:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2228:3: warning: variable 'd' of type 'Vec2s' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2228:9: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:2232:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:2232:4: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2232:10: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:2232:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:2233:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:2233:4: warning: variable 'b' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2233:10: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:2233:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:2290:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2292:4: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/game/Spells.cpp:2330:6: warning: function 'ARX_SPELLS_ManageMagic' has cognitive complexity of 87 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Spells.cpp:2332:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2335:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:2337:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2347:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2393:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2405:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2407:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2408:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2419:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2420:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:2420:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:2435:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2458:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2461:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2464:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2467:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2470:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2473:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2518:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2528:13: warning: function 'ARX_SPELLS_FizzleNoMana' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2528:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2538:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2538:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2540:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2542:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2561:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Spells.cpp:2579:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:2583:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:2599:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2602:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2605:4: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2607:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:2616:13: warning: function 'ARX_SPEELS_GetMaxRect' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2618:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:2619:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Spells.cpp:2619:6: warning: variable 'iMinX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:2619:12: warning: variable 'iMinY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:2619:18: warning: variable 'iMaxX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:2619:24: warning: variable 'iMaxY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:2620:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2620:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Spells.cpp:2620:7: warning: variable 'iSizeX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:2620:14: warning: variable 'iSizeY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:2632:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2633:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2661:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:2664:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:2667:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:2676:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:2680:52: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:2684:25: warning: loop variable name 'e' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:2692:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2692:13: warning: function 'ARX_SPELLS_GetFree' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2697:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:2698:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:2705:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2709:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:2721:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2721:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2725:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:2732:13: warning: function 'ARX_SPELLS_ExistAnyInstanceForThisCaster' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2732:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2741:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2743:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:2750:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.cpp:2750:16: warning: initialization of 'Precast' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:2750:16: warning: variable 'Precast' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:2753:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:2758:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2758:68: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Spells.cpp:2758:75: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2760:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2764:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:2771:4: warning: undefined behavior, destination object type 'PRECAST_STRUCT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Spells.cpp:2771:4: warning: undefined behavior, source object type 'PRECAST_STRUCT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Spells.cpp:2784:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:2784:15: warning: variable 'LAST_PRECAST_TIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:2785:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2785:29: warning: 2 adjacent parameters of 'PrecastCheckCanPayMana' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Spells.cpp:2785:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2787:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2789:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2806:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2808:6: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:2808:24: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:2810:3: warning: variable 'iNumSpells' of type 'Spell' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2811:3: warning: variable 'cost' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2814:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:2817:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:2817:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:2821:31: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:2821:32: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:2826:6: warning: function 'ARX_SPELLS_Precast_Check' has cognitive complexity of 27 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Spells.cpp:2830:71: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:2830:89: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:2845:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:2859:8: warning: undefined behavior, destination object type 'PRECAST_STRUCT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Spells.cpp:2859:8: warning: undefined behavior, source object type 'PRECAST_STRUCT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/game/Spells.cpp:2874:8: warning: accessing fields in struct 'TARGETING_SPELL' is inefficient due to padding; only needs 40 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/game/Spells.cpp:2874:8: warning: accessing fields in struct 'TARGETING_SPELL' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/Spells.cpp:2874:8: warning: constructor does not initialize these fields: typ, source, level, target, duration [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Spells.cpp:2876:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2878:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2879:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2880:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2883:24: warning: initialization of 't_spell' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:2883:24: warning: variable 't_spell' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2883:24: warning: variable 't_spell' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:2885:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2885:6: warning: variable 'LOOKING_FOR_SPELL_TARGET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:2886:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:2886:15: warning: variable 'LOOKING_FOR_SPELL_TARGET_TIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:2892:44: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:2894:80: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:2898:14: warning: function 'ARX_SPELLS_GetManaCost' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:2898:50: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2904:2: warning: variable 'casterLevel' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:2912:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2914:3: warning: switch has 4 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2920:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2922:3: warning: switch has 5 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2927:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2929:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2931:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2933:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2936:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2939:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2942:3: warning: switch has 3 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2947:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2957:3: warning: switch has 3 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2963:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2969:6: warning: function 'ARX_SPELLS_Launch' exceeds recommended size/complexity thresholds [readability-function-size] +Arx/src/game/Spells.cpp:2969:6: warning: function 'ARX_SPELLS_Launch' has cognitive complexity of 678 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Spells.cpp:2969:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2969:63: warning: the parameter 'flagss' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Spells.cpp:2969:71: warning: 3 adjacent parameters of 'ARX_SPELLS_Launch' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Spells.cpp:2969:71: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2969:84: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2969:97: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2972:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2981:28: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:2985:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:2987:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3013:25: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:3013:25: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:3027:7: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:3027:11: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3043:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:3053:37: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3053:38: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:3065:37: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3065:38: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:3078:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3080:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:3083:4: warning: variable 'cpos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3088:24: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:3102:37: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3102:38: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:3116:2: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/game/Spells.cpp:3123:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3123:2: warning: variable 'i' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3123:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:3137:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:3160:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3177:40: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:3178:40: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:3179:40: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:3184:51: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:3186:51: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:3197:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:3199:49: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3199:50: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:3205:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:3243:3: warning: switch has 6 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:3328:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3328:9: warning: variable 'number' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:3330:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3330:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3332:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3332:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3335:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3350:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3360:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3360:4: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3360:9: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:3371:4: warning: variable 'fPerimeter' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3374:42: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/game/Spells.cpp:3397:23: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3401:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:3401:15: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:3408:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3408:25: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3408:25: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:3409:7: warning: variable 'radius' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3429:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3440:4: warning: variable 'fPerimeter' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3442:42: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/game/Spells.cpp:3461:27: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3470:15: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:3481:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3481:26: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3481:26: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:3482:8: warning: variable 'radius' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3496:33: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3539:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3552:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3552:4: warning: variable 'iCancel' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3571:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3571:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:3583:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3583:4: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3588:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3610:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3628:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3630:19: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3642:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3642:4: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3651:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3683:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3685:19: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3701:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3705:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3739:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3739:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3739:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:3762:26: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3773:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3775:19: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3775:37: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3782:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3782:51: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3783:14: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:3798:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:3798:15: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:3824:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:3824:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:3827:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3840:15: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:3842:19: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:3844:19: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:3851:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Spells.cpp:3851:22: warning: variable 'angleb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:3865:6: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3865:12: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:3878:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3895:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3911:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3915:10: warning: variable 'angleb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:3924:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:3925:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:3943:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3943:4: warning: variable 'iCancel' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3955:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:3957:4: warning: variable 'target' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:3972:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3972:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Spells.cpp:3974:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:3974:15: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4037:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4037:4: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4042:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4061:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4061:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4075:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4077:19: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4083:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4092:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4092:4: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4097:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4118:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4118:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4132:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4134:19: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4134:37: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4138:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4165:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4165:4: warning: variable 'iCancel' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4177:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4201:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4201:4: warning: variable 'iCancel' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4210:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4222:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4222:4: warning: variable 'iCancel' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4233:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4261:4: warning: variable 'cure' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4266:14: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4274:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4274:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4277:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4289:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4289:4: warning: variable 'iCancel' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4300:26: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4310:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4328:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4328:4: warning: variable 'level' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4328:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4328:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4329:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4332:10: warning: variable 'ang' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:4349:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4349:4: warning: variable 'iCancel' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4354:10: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:4366:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4367:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4369:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:4384:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4396:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4396:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4396:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4404:34: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4404:35: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4421:58: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4427:5: warning: variable 'mul' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4428:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4428:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4428:29: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4431:43: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:4443:4: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4443:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4443:26: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4443:27: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4454:10: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:4462:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4471:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4472:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4477:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4480:4: warning: variable 'cls' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4481:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4486:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4488:20: warning: no header providing "IO_NOSAVE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:4488:32: warning: no header providing "IO_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:4497:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4497:6: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4497:11: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4525:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4525:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4528:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4540:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:4540:15: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4564:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4564:4: warning: variable 'target' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4566:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4581:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:4585:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4616:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4616:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4621:4: warning: variable 'angleb' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4622:35: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4624:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4627:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4627:13: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4629:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4637:18: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:4647:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4656:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4656:4: warning: variable 'iCancel' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4669:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4673:10: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:4681:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4684:17: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4689:7: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4690:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4691:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4701:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:4709:35: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4713:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4722:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4722:4: warning: variable 'iCancel' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4730:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4730:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4736:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4740:10: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:4748:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4751:17: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4756:7: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4757:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4758:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4768:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:4781:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4792:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4794:4: warning: variable 'target' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4796:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4796:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4803:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4815:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4815:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4824:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:4863:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4880:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4902:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4902:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4902:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4920:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4920:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:4935:44: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4948:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4948:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4948:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4962:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4963:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4964:6: warning: variable 'rr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4964:12: warning: variable name 'rr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:4964:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:4965:6: warning: variable 'pos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:4965:27: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4966:27: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:4971:39: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4993:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5010:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5016:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5016:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5016:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5032:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5032:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5032:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5052:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5052:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5060:10: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:5072:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:5073:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:5076:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:5085:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:5095:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5095:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5095:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5118:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5118:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5125:17: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Spells.cpp:5129:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:5140:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5140:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5140:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5159:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5159:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5164:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:5191:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5196:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5196:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5199:21: warning: no header providing "SFX_TYPE_YLSIDE_DEATH" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:5199:45: warning: no header providing "SFX_TYPE_INCINERATE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:5200:20: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5200:21: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5218:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5218:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5237:27: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5240:22: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/game/Spells.cpp:5241:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5242:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5242:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5242:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:5242:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5243:36: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5253:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:5264:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5264:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5270:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5270:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5270:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5279:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5279:4: warning: variable 'count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5279:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5279:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5280:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:5284:10: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:5289:14: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5293:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:5294:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:5296:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5296:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5302:25: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5308:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5308:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5309:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:5321:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5341:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5341:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5352:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5352:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5355:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:5368:4: warning: variable 'max_slowdown' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5376:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5376:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5386:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5386:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5389:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5393:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5393:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5406:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5406:22: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5408:27: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5412:26: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5447:6: warning: function 'ARX_SPELLS_Kill' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Spells.cpp:5447:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5447:27: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5451:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5459:58: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5459:59: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5468:50: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5468:51: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5475:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:5479:50: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5479:51: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5493:50: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5493:51: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5507:50: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5507:51: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5525:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5525:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5538:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5538:13: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5540:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5550:23: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5591:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5591:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5591:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5606:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5606:6: warning: variable 'nn' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5606:11: warning: variable name 'nn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5628:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5628:5: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5628:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5639:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:5643:13: warning: initialization of 'eyeball' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:5643:13: warning: variable 'eyeball' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:5645:8: warning: initialization of 'cabalangle' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:5645:8: warning: variable 'cabalangle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:5646:7: warning: initialization of 'cabalpos' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:5646:7: warning: variable 'cabalpos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:5647:7: warning: initialization of 'cabalscale' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:5647:7: warning: variable 'cabalscale' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:5648:9: warning: initialization of 'cabalcolor' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/game/Spells.cpp:5648:9: warning: variable 'cabalcolor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:5651:47: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5655:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5655:3: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5659:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:5659:21: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:5661:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5662:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5669:13: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5671:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Spells.cpp:5671:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5677:47: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5679:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5679:2: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5683:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:5683:20: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:5685:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5686:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5697:6: warning: function 'ARX_SPELLS_Update' exceeds recommended size/complexity thresholds [readability-function-size] +Arx/src/game/Spells.cpp:5697:6: warning: function 'ARX_SPELLS_Update' has cognitive complexity of 868 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Spells.cpp:5700:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5700:16: warning: variable 'tim' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:5701:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5701:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Spells.cpp:5701:7: warning: variable 'framediff' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:5701:17: warning: variable 'framediff3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:5705:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5705:9: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:5709:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5713:43: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5713:76: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:5713:76: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:5713:119: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5714:23: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5716:14: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5717:15: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5721:21: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5747:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5754:14: warning: variable 'pIgnit' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:5755:13: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5755:13: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:5762:13: warning: variable 'pDoze' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:5763:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5763:12: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:5778:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5786:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5790:24: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:5794:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5800:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5808:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5817:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5819:53: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5819:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5821:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5825:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5837:5: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:5838:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5841:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5846:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5854:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5856:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5863:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5865:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5877:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5879:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5888:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5904:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5904:8: warning: variable 'nn' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5904:13: warning: variable name 'nn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5922:21: warning: variable 'pCreateField' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:5923:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5923:21: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:5928:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5928:7: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:5928:12: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:5939:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5941:53: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5941:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5943:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5952:5: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:5954:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5960:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5973:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5988:50: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:5999:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5999:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:5999:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:5999:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6001:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6006:42: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:6011:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6013:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:6021:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6021:7: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6021:12: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6033:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6033:7: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6033:12: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6040:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:6054:36: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:6062:20: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:6073:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6076:4: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:6086:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6086:34: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6086:34: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6092:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6127:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6127:13: warning: variable name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6127:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6127:16: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6129:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6133:37: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:6138:13: warning: variable 'dist' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:6140:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6140:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6140:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6141:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6145:8: warning: variable 'gain' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6149:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6152:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6191:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:6193:12: warning: variable 'refpos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:6194:12: warning: variable 'scaley' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:6196:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6197:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6197:18: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6200:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6217:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6217:6: warning: variable 'Es' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6217:12: warning: variable name 'Es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6217:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6232:35: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:6232:35: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:6241:10: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6247:10: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6253:10: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6273:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6273:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6273:23: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6275:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6279:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6279:7: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6279:12: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6280:21: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6294:14: warning: macro 'MIN_TIME_FIREBALL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/game/Spells.cpp:6300:52: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:6300:52: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:6307:15: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6307:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6307:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6309:9: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Spells.cpp:6309:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6311:9: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Spells.cpp:6311:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6313:47: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:6313:47: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:6318:25: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/game/Spells.cpp:6318:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6322:40: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:6322:40: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:6336:6: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/game/Spells.cpp:6349:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6372:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6372:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6372:22: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6381:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6383:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6400:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6400:20: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6400:20: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6407:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6408:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6411:38: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:6420:4: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/game/Spells.cpp:6449:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6449:29: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6449:29: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6460:39: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:6460:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:6476:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6494:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6494:26: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6494:26: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6545:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6545:7: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6545:12: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6554:38: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6554:39: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:6557:6: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:6557:6: warning: variable 'tim' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6562:18: warning: variable 'prise' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:6563:14: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6563:14: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6572:10: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6572:58: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:6574:11: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6578:18: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6585:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6585:10: warning: variable 'lSpellsCaster' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6586:44: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:6589:31: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:6598:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:6614:9: warning: different indentation for 'if' and corresponding 'else' [readability-misleading-indentation] +Arx/src/game/Spells.cpp:6624:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6624:26: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6624:26: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6660:16: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6661:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6661:26: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6661:26: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6671:74: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6699:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6699:18: warning: variable name 'pf' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6699:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6699:23: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6702:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6707:21: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6726:7: warning: variable 'fDiff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6727:7: warning: variable 'nTime' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6729:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6731:23: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6736:8: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6736:14: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6736:27: warning: no header providing "PI" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:6737:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6737:8: warning: variable 'ts' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6737:14: warning: variable name 'ts' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6737:19: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6738:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6738:8: warning: variable 'tc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6738:14: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6738:19: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6771:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6771:17: warning: variable name 'pf' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6771:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6771:22: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6773:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6778:21: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6832:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6837:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6837:6: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6837:11: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6843:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/game/Spells.cpp:6843:12: warning: variable 'rr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:6843:12: warning: variable name 'rr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6843:15: warning: variable 'r2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:6843:15: warning: variable name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6846:6: warning: variable 'choice' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6848:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6848:7: warning: variable 'lvl' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6851:32: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6852:32: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6853:32: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6855:57: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:6859:32: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6860:32: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6861:32: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6866:32: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6867:32: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6868:32: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6885:10: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6885:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6889:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:6889:36: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6889:36: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6911:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6911:8: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6911:13: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6918:24: warning: variable 'pSummon' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:6919:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:6919:16: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:6927:10: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6927:58: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:6929:12: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:6932:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6932:13: warning: variable 'tokeep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:6947:45: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Spells.cpp:6961:17: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:6972:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6972:9: warning: variable 'lSpellsCaster' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:6973:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:6996:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:7003:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:7011:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7011:46: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7012:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7028:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7030:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:7030:36: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/game/Spells.cpp:7030:36: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/game/Spells.cpp:7058:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7110:7: warning: variable '_source' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:7111:13: warning: variable '_fx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:7113:7: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:7113:21: warning: variable '_gct' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:7122:55: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7123:48: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7123:55: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7127:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7127:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7132:55: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7132:62: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7138:44: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:7138:50: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7138:57: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7143:12: warning: variable 'fxx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:7145:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7146:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7158:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:7158:6: warning: variable 'TELEPORT' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:7158:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:7158:23: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:7158:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:7158:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:7158:73: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:7161:7: warning: variable 'pos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:7178:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7192:50: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7193:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7201:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:7203:13: warning: variable 'refpos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:7204:13: warning: variable 'scaley' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:7206:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7207:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7207:19: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7209:7: warning: variable 'mov1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:7209:18: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7210:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7212:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7212:119: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7214:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7214:121: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/game/Spells.cpp:7231:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:7231:7: warning: variable 'Es' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:7231:13: warning: variable name 'Es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:7231:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7245:36: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:7245:36: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:7255:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7260:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7265:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7276:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7281:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7286:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7303:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.cpp:7305:13: warning: variable 'refpos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:7306:13: warning: variable 'scaley' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:7308:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7309:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7309:19: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7312:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7329:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/game/Spells.cpp:7329:7: warning: variable 'Es' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:7329:13: warning: variable name 'Es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:7329:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7344:36: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:7344:36: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/game/Spells.cpp:7352:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7357:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7362:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7373:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7378:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7383:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7399:26: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Spells.cpp:7403:24: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7403:24: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7403:47: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7404:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:7405:27: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7425:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:7425:49: warning: 2 adjacent parameters of 'TryToCastSpell' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Spells.cpp:7425:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:7425:61: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:7425:89: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Spells.cpp:7425:96: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:7427:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7430:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7433:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:7433:16: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.cpp:7435:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7436:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7438:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7440:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:7440:7: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:7440:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7451:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.cpp:7451:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7459:54: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:7472:54: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7479:13: warning: function 'ApplySPWep' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:7485:3: warning: variable 'cls' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:7499:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7509:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/Spells.cpp:7509:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:7535:13: warning: function 'ApplyCurSOS' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:7539:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7543:13: warning: function 'ApplySPBow' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:7561:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7566:13: warning: function 'ApplySPArm' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:7615:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7622:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:7622:6: warning: variable 'SPECIAL_PNUX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:7623:13: warning: function 'ApplyCurPNux' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:7627:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7637:13: warning: function 'ApplyPasswall' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:7640:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7643:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7645:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:7649:13: warning: function 'ApplySPRf' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:7653:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7658:13: warning: function 'ApplyCurMr' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:7662:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7667:13: warning: function 'ApplySPuw' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:7669:10: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7675:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7680:13: warning: function 'ApplySPMax' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:7689:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:7697:3: warning: variable 'text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:7701:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:7706:22: warning: variable 'tcm' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.h:63: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/Spells.h:89:6: warning: enum 'SpellcastFlag' 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/Spells.h:100:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.h:100:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.h:100:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Spells.h:100:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/game/Spells.h:103:6: warning: enum 'Spell' 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/Spells.h:184:8: warning: accessing fields in struct 'PRECAST_STRUCT' is inefficient due to padding; only needs 32 bytes but is using 40 bytes [altera-struct-pack-align] +Arx/src/game/Spells.h:184:8: warning: accessing fields in struct 'PRECAST_STRUCT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/game/Spells.h:184:8: warning: constructor does not initialize these fields: typ, level, launch_time, duration [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Spells.h:186:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:187:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.h:189:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:193:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.h:193:23: warning: variable 'Precast' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.h:196:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:199:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.h:199:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:199:61: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:199:96: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:202:8: warning: accessing fields in struct 'EYEBALL_DEF' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/Spells.h:202:8: warning: constructor does not initialize these fields: exist, floating [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Spells.h:203:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:210:20: warning: variable 'eyeball' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.h:213:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.h:213:13: warning: variable 'SpellSymbol' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.h:214:15: warning: variable 'CurrSpellSymbol' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.h:216:8: warning: accessing fields in struct 'SPELL' is inefficient due to padding; only needs 190 bytes but is using 208 bytes [altera-struct-pack-align] +Arx/src/game/Spells.h:216:8: warning: accessing fields in struct 'SPELL' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/Spells.h:216:8: warning: constructor does not initialize these fields: exist, caster, target, caster_level, hand_group, fdata, type, siz, timcreation, lastupdate, tolive, tc, longinfo, longinfo2, bDuration, fManaCostPerSecond, snd_loop, pSpellFx, misc [cppcoreguidelines-pro-type-member-init] +Arx/src/game/Spells.h:219:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:220:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:223:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:236:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.h:237:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.h:238:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/game/Spells.h:241:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:242:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:253:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/game/Spells.h:253:14: warning: variable 'spells' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.h:255:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:255:13: warning: variable 'CurrPoint' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.h:257:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:257:71: warning: use nullptr [modernize-use-nullptr] +Arx/src/game/Spells.h:257:74: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:257:91: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:257:109: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:265:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:265:27: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.h:266:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:269:44: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.h:276:44: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.h:277:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:277:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.h:278:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:278:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:281:44: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.h:282:47: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.h:283:47: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/game/Spells.h:284:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/BaseGraphicsTypes.h:49:8: warning: accessing fields in struct 'EERIE_QUAT' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/BaseGraphicsTypes.h:56:8: warning: accessing fields in struct 'EERIEMATRIX' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/BaseGraphicsTypes.h:63:8: warning: accessing fields in struct 'EERIE_CYLINDER' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/BaseGraphicsTypes.h:63:8: warning: constructor does not initialize these fields: radius, height [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/BaseGraphicsTypes.h:69:8: warning: accessing fields in struct 'EERIE_SPHERE' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/BaseGraphicsTypes.h:69:8: warning: constructor does not initialize these fields: radius [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/BaseGraphicsTypes.h:74:2: warning: function 'contains' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/BaseGraphicsTypes.h:80:8: warning: accessing fields in struct 'EERIE_3D_BBOX' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/BaseGraphicsTypes.h:85: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/graphics/Color.h:33:2: warning: function 'max' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:37:2: warning: function 'max' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:40:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:41:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:42:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:43:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:49:7: warning: class 'Color3' defines a copy constructor and a copy assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions] +Arx/src/graphics/Color.h:53:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:54:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:69:2: warning: function 'Color3' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:69:9: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/graphics/Color.h:70:2: warning: function 'Color3' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:70:18: warning: parameter name '_r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:70:24: warning: parameter name '_g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:70:30: warning: parameter name '_b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:71:2: warning: function 'Color3' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:71:31: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:73:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:73:18: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp] +Arx/src/graphics/Color.h:73:43: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:78:2: warning: function 'fromRGB' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:82:2: warning: function 'fromBGR' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:86:2: warning: function 'toRGB' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:86:2: warning: function 'toRGB' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/Color.h:86:28: warning: parameter name '_a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:87:65: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:90:2: warning: function 'toBGR' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:90:2: warning: function 'toBGR' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/Color.h:90:28: warning: parameter name '_a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:91:65: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:94:2: warning: function 'byteval' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:98:2: warning: function 'value' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:103:2: warning: function 'to' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:103:2: warning: function 'to' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/Color.h:103:2: warning: function 'to' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/Color.h:103:24: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:108:2: warning: function 'scale' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:112:2: warning: function 'grayb' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:113:5: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:117:2: warning: function 'gray' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:122:2: warning: function 'operator*' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:129:28: warning: initialization of 'black' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Color.h:129:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:129:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:129:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:131:28: warning: initialization of 'white' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Color.h:133:28: warning: initialization of 'red' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Color.h:133:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:133:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:135:28: warning: initialization of 'blue' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Color.h:135:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:135:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:137:28: warning: initialization of 'green' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Color.h:137:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:137:63: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:139:28: warning: initialization of 'yellow' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Color.h:139:81: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:141:28: warning: initialization of 'magenta' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Color.h:141:59: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:143:28: warning: initialization of 'cyan' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Color.h:143:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:149:7: warning: class 'Color4' defines a copy constructor and a copy assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions] +Arx/src/graphics/Color.h:151:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:155:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:162:2: warning: function 'Color4' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:163:2: warning: function 'Color4' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:163:18: warning: parameter name '_r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:163:24: warning: parameter name '_g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:163:30: warning: parameter name '_b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:163:36: warning: parameter name '_a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:164:2: warning: function 'Color4' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:164:31: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:165:2: warning: function 'Color4' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:165:9: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/Color.h:165:27: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:165:32: warning: parameter name '_a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:167:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:167:18: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp] +Arx/src/graphics/Color.h:167:43: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:172:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:172:39: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:177:2: warning: function 'operator==' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:177:40: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:181:2: warning: function 'operator!=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:181:40: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:185:2: warning: function 'toRGBA' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:185:2: warning: function 'toRGBA' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/Color.h:186:20: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/Color.h:189:2: warning: function 'toBGRA' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:189:2: warning: function 'toBGRA' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/Color.h:190:20: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/Color.h:193:2: warning: function 'fromRGB' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:193:48: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:197:2: warning: function 'fromBGR' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:197:48: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:201:2: warning: function 'fromRGBA' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:205:2: warning: function 'fromBGRA' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:210:2: warning: function 'to' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:210:2: warning: function 'to' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/Color.h:210:2: warning: function 'to' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/Color.h:215:2: warning: function 'scale' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:219:2: warning: function 'operator*' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Color.h:226:28: warning: initialization of 'none' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Color.h:226:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Color.h:229:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:230:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:231:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/Color.h:234:39: warning: parameter name 'c0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:234:53: warning: parameter name 'c1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:239:39: warning: parameter name 'c0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:239:53: warning: parameter name 'c1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:244:39: warning: parameter name 'c0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:244:53: warning: parameter name 'c1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:248:39: warning: parameter name 'c0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:248:53: warning: parameter name 'c1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:253:31: warning: parameter name 'c0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:253:45: warning: parameter name 'c1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:257:31: warning: parameter name 'c0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:257:45: warning: parameter name 'c1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:261:31: warning: parameter name 'c0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Color.h:261:45: warning: parameter name 'c1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:54:12: warning: using decl 'min' is unused [misc-unused-using-decls] +Arx/src/graphics/Draw.cpp:55:12: warning: using decl 'max' is unused [misc-unused-using-decls] +Arx/src/graphics/Draw.cpp:57:20: warning: variable 'EERIE_DRAW_sphere_particle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:57:20: warning: variable 'EERIE_DRAW_sphere_particle' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:57:47: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:57:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/Draw.cpp:59:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:59:6: warning: variable 'ZMAPMODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:60:20: warning: variable 'Zmap' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:60:20: warning: variable 'Zmap' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:61:1: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:61:7: warning: initialization of 'SPRmins' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Draw.cpp:61:7: warning: variable 'SPRmins' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:62:7: warning: initialization of 'SPRmaxs' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/Draw.cpp:62:7: warning: variable 'SPRmaxs' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:64:27: warning: variable 'enviro' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:64:27: warning: variable 'enviro' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:66:31: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:66:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:66:39: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:66:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:72:24: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:72:32: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:74:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:74:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:76:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:76:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:81:27: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:84:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:85:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:86:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:89:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:90:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:92:18: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:97:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:99:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:99:2: warning: variable 'typ1' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:100:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:100:2: warning: variable 'typ2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:102:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:104:18: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:104:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:108:6: warning: no header providing "fabs" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:108:11: warning: no header providing "dot" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:108:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:110:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:115:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:139:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:141:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:148:3: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/graphics/Draw.cpp:148:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/Draw.cpp:169:40: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:175:13: warning: no header providing "componentwise_max" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:176:13: warning: no header providing "componentwise_min" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:189:9: warning: macro 'TYPE_ROOM' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/Draw.cpp:190:6: warning: function 'TryToQuadify' has cognitive complexity of 48 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/Draw.cpp:190:31: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:192:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:192:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Draw.cpp:192:7: warning: variable 'posx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:192:12: warning: variable 'posz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:193:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Draw.cpp:193:8: warning: variable 'cx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:193:8: warning: variable name 'cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:193:11: warning: variable 'cz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:193:11: warning: variable name 'cz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:194:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:194:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:197:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:198:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:200:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:200:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Draw.cpp:200:7: warning: variable 'dx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:200:7: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:200:10: warning: variable 'dz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:200:10: warning: variable name 'dz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:200:13: warning: variable 'fx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:200:13: warning: variable name 'fx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:200:16: warning: variable 'fz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:200:16: warning: variable name 'fz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:201:14: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/Draw.cpp:202:38: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/Draw.cpp:203:14: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/Draw.cpp:204:38: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/Draw.cpp:205:2: warning: variable 'tolerance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:207:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:207:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:208:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:208:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:209:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:211:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:213:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:213:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Draw.cpp:213:8: warning: variable 'type' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:213:14: warning: variable 'val2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:214:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:217:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:220:6: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Draw.cpp:220:6: warning: redundant explicit casting to the same type 'EERIE_BKG_INFO *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/Draw.cpp:222:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:223:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:223:13: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:225:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/Draw.cpp:225:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Draw.cpp:225:20: warning: redundant explicit casting to the same type 'EERIEPOLY *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/Draw.cpp:227:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:229:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:232:4: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/Draw.cpp:233:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:237:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:242:2: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/graphics/Draw.cpp:245:40: warning: variable 'pDynamicVertexBuffer_TLVERTEX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:245:40: warning: variable 'pDynamicVertexBuffer_TLVERTEX' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.cpp:247:20: warning: no header providing "Renderer" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:247:84: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:256:6: warning: function 'Delayed_FlushAll' has cognitive complexity of 153 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/Draw.cpp:264:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:264:9: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:264:9: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:266:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:267:5: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:268:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:271:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/Draw.cpp:271:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Draw.cpp:271:23: warning: redundant explicit casting to the same type 'DELAYED_PRIM *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/Draw.cpp:273:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:275:17: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:277:22: warning: no header providing "POLY_DOUBLESIDED" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:277:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:279:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:282:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:284:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:288:34: warning: no header providing "POLY_METAL" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:297:22: warning: no header providing "POLY_LAVA" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:297:48: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:301:6: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:304:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:313:51: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:314:51: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:319:50: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:320:50: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:322:23: warning: no header providing "POLY_FALL" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:322:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:322:49: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Draw.cpp:322:49: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/Draw.cpp:330:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:332:51: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:333:51: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:337:24: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Draw.cpp:337:24: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/Draw.cpp:346:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:348:51: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:349:51: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:354:50: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:355:50: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:370:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/Draw.cpp:370:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:378:6: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:381:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:383:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/Draw.cpp:383:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Draw.cpp:383:26: warning: redundant explicit casting to the same type 'DELAYED_PRIM *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/Draw.cpp:384:19: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:391:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:399:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:404:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:406:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:409:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:409:12: warning: variable 'tmp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:411:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:417:8: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:430:16: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:453:41: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:455:21: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:457:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:461:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:461:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/Draw.cpp:461:31: warning: 'tc->delayed' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/graphics/Draw.cpp:461:31: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/Draw.cpp:461:31: warning: no header providing "realloc" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:465:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/Draw.cpp:465:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Draw.cpp:465:21: warning: redundant explicit casting to the same type 'DELAYED_PRIM *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/Draw.cpp:470:28: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:470:32: warning: 2 adjacent parameters of 'EERIEDraw2DLine' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Draw.cpp:470:38: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:470:48: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:470:52: warning: 2 adjacent parameters of 'EERIEDraw2DLine' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Draw.cpp:470:58: warning: parameter name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:470:68: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:470:77: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:472:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:472:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:485:28: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:485:32: warning: 2 adjacent parameters of 'EERIEDraw2DRect' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Draw.cpp:485:38: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:485:48: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:485:52: warning: 2 adjacent parameters of 'EERIEDraw2DRect' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Draw.cpp:485:58: warning: parameter name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:485:68: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:485:77: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:487:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:487:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:500:38: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:500:42: warning: 2 adjacent parameters of 'EERIEDrawFill2DRectDegrad' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Draw.cpp:500:48: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:500:58: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:500:62: warning: 2 adjacent parameters of 'EERIEDrawFill2DRectDegrad' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Draw.cpp:500:68: warning: parameter name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:500:78: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:500:87: warning: the parameter 'cold' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:500:99: warning: the parameter 'cole' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:502:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:502:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:516:60: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:518:10: warning: macro 'STEPCYL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/Draw.cpp:519:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:521:3: warning: variable 'es' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:521:9: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:521:14: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:521:14: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:521:14: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:521:18: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:521:26: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:521:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:522:3: warning: variable 'ec' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:522:9: warning: variable name 'ec' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:522:14: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:522:14: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:522:14: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:522:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:523:3: warning: variable 'es2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:523:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:523:15: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:523:37: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:524:3: warning: variable 'ec2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:524:15: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:524:15: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:524:37: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:529:3: warning: variable 'from' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:532:3: warning: variable 'from2' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:533:3: warning: variable 'to' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:533:9: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:538:64: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:540:10: warning: macro 'STEPCYL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/Draw.cpp:541:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:543:3: warning: variable 'es' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:543:9: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:543:14: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:543:14: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:543:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:544:3: warning: variable 'ec' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:544:9: warning: variable name 'ec' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:544:14: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:544:14: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:544:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:545:3: warning: variable 'es2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:545:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:545:15: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:545:37: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:546:3: warning: variable 'ec2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:546:15: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:546:15: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:546:37: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:553:28: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:553:38: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:553:48: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:553:57: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:553:68: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:555:8: warning: variable name 'lx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:556:8: warning: variable name 'ly' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:559:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:560:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:560:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:560:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:561:3: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:561:9: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:561:13: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:561:18: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:562:3: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:562:9: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:562:13: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:562:18: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:572:72: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:575:8: warning: variable name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:577:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:585:3: warning: variable 'dep' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:586:3: warning: variable 'tpos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:595:68: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:597:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:597:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:598:17: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:617:9: warning: macro 'BASICFOCAL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/Draw.cpp:621:39: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:621:84: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:631:3: warning: variable 'use_focal' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:632:9: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:632:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:642:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:660:3: warning: no header providing "ColorBGRA" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:660:3: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:661:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:661:18: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:670:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:676:46: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:676:91: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:677:29: warning: 2 adjacent parameters of 'EERIEDrawRotatedSprite' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Draw.cpp:684:3: warning: variable 'use_focal' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:686:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:688:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:700:3: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:701:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:701:18: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:716:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:717:4: warning: variable 'tt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:717:10: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:717:42: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Draw.cpp:718:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:719:15: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Draw.cpp:725:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:731:38: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:731:48: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:733:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:740:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:740:7: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:740:7: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:742:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:743:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:745:2: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:745:2: warning: undefined behavior, destination object type 'TexturedVertex[5]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/Draw.cpp:745:2: warning: undefined behavior, source object type 'TexturedVertex[4]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/Draw.cpp:753:3: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/Draw.cpp:753:3: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/Draw.cpp:754:3: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/Draw.cpp:754:3: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/Draw.cpp:755:3: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/Draw.cpp:755:3: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/Draw.cpp:758:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:758:7: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/Draw.cpp:758:7: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/Draw.cpp:762:2: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:763:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:765:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:767:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:772:40: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:773:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:780:17: warning: variable name 'lv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:781:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:781:7: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:781:7: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:783:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:784:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:793:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:796:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:796:11: warning: loop variable name 'h' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:804:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:812:28: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:812:37: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:812:46: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:812:56: warning: parameter name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:812:66: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:812:99: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:817:2: warning: variable 'uv' of type 'Vec2f' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:817:8: warning: variable name 'uv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:819:2: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:820:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:820:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:830:31: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:830:40: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:830:49: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:830:59: warning: parameter name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:830:69: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:831:31: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:831:44: warning: parameter name 'u0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:831:54: warning: parameter name 'v0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:831:64: warning: parameter name 'u1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:831:74: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:836:2: warning: variable 'uv' of type 'Vec2f' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:836:8: warning: variable name 'uv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:839:2: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:840:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:840:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:850:31: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:850:40: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:850:49: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:850:59: warning: parameter name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:850:69: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:851:31: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:851:44: warning: parameter name 'u0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:851:48: warning: 2 adjacent parameters of 'EERIEDrawBitmapUVs' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Draw.cpp:851:54: warning: parameter name 'v0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:851:64: warning: parameter name 'u1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:851:68: warning: 2 adjacent parameters of 'EERIEDrawBitmapUVs' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Draw.cpp:851:74: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:851:84: warning: parameter name 'u2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:851:88: warning: 2 adjacent parameters of 'EERIEDrawBitmapUVs' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Draw.cpp:851:94: warning: parameter name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:852:30: warning: parameter name 'u3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:852:40: warning: parameter name 'v3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:857:2: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:858:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:858:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:868:29: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:868:38: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:868:47: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:868:57: warning: parameter name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:868:67: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:868:100: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:873:2: warning: variable 'uv' of type 'Vec2f' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:873:8: warning: variable name 'uv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:875:2: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:876:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:876:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:877:2: warning: variable 'rhw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:896:35: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:896:44: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:896:53: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:896:63: warning: parameter name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:896:73: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:897:35: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Draw.cpp:902:2: warning: variable 'uv' of type 'Vec2f' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:902:8: warning: variable name 'uv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:903:2: warning: variable 'sv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:903:8: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:905:2: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:906:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Draw.cpp:906:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.cpp:907:2: warning: variable 'fDy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.h:55:14: warning: variable 'SPRmins' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.h:56:14: warning: variable 'SPRmaxs' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.h:58:45: warning: parameter name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:62:40: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:67:28: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:67:38: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:67:48: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:67:68: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:68:28: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:68:38: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:68:48: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:68:58: warning: parameter name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:68:68: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:69:28: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:69:37: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:69:46: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:69:56: warning: parameter name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:69:66: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:70:28: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:70:38: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:70:48: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:70:58: warning: parameter name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:70:68: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:71:38: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:71:48: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:71:58: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:71:68: warning: parameter name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:71:78: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:77:35: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:77:44: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:77:53: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:77:63: warning: parameter name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:77:73: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:82:39: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:83:46: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:85:38: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:86:40: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:88:27: warning: variable 'EERIE_DRAW_sphere_particle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.h:88:27: warning: variable 'EERIE_DRAW_sphere_particle' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Draw.h:90:29: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:90:38: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:90:47: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:90:57: warning: parameter name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:90:67: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:92:31: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:92:40: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:92:49: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:92:59: warning: parameter name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:92:69: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:92:113: warning: parameter name 'u0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:92:123: warning: parameter name 'v0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:92:133: warning: parameter name 'u1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:92:143: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:31: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:40: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:49: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:59: warning: parameter name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:69: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:113: warning: parameter name 'u0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:123: warning: parameter name 'v0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:133: warning: parameter name 'u1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:143: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:153: warning: parameter name 'u2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:163: warning: parameter name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:173: warning: parameter name 'u3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Draw.h:94:183: warning: parameter name 'v3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsFormat.h:29:8: warning: accessing fields in struct 'SavedColor' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsFormat.h:35:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/GraphicsFormat.h:35:48: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsFormat.h:40:2: warning: function 'operator Color3' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/GraphicsFormat.h:40:9: warning: 'operator Color3' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/GraphicsFormat.h:41:11: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsFormat.h:48:8: warning: accessing fields in struct 'SavedVec3' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsFormat.h:54:2: warning: function 'operator Vector3' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/GraphicsFormat.h:54:9: warning: 'operator Vector3' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/GraphicsFormat.h:55:9: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsFormat.h:60:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/GraphicsFormat.h:60:45: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsFormat.h:67:8: warning: accessing fields in struct 'SavedAnglef' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsFormat.h:73:2: warning: function 'operator Angle' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/GraphicsFormat.h:73:9: warning: 'operator Angle' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/GraphicsFormat.h:74:10: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsFormat.h:79:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/GraphicsFormat.h:79:48: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsFormat.h:86:8: warning: accessing fields in struct 'SavedTextureVertex' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsFormat.h:95:2: warning: function 'operator TexturedVertex' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/GraphicsFormat.h:95:9: warning: 'operator TexturedVertex' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/GraphicsFormat.h:96:18: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsFormat.h:106:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/GraphicsFormat.h:106:63: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsModes.cpp:52:1: warning: included header BaseGraphicsTypes.h is not used directly [misc-include-cleaner] +Arx/src/graphics/GraphicsModes.cpp:58:13: warning: initialization of 'current' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/GraphicsModes.cpp:58:13: warning: variable 'current' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/GraphicsModes.cpp:59:13: warning: initialization of 'desired' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/GraphicsModes.cpp:59:13: warning: variable 'desired' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/GraphicsModes.cpp:60:13: warning: initialization of 'stacked' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/GraphicsModes.cpp:60:13: warning: variable 'stacked' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/GraphicsModes.cpp:63:9: warning: macro 'DEFAULT_ZCLIP' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsModes.cpp:64:9: warning: macro 'DEFAULT_MINZCLIP' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsModes.cpp:66:1: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/GraphicsModes.cpp:66:7: warning: initialization of 'ulBKGColor' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/GraphicsModes.cpp:66:7: warning: variable 'ulBKGColor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/GraphicsModes.cpp:69:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/GraphicsModes.cpp:69:2: warning: undefined behavior, destination object type 'GLOBAL_MODS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/GraphicsModes.cpp:70:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/GraphicsModes.cpp:70:2: warning: undefined behavior, destination object type 'GLOBAL_MODS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/GraphicsModes.cpp:72:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/GraphicsModes.cpp:72:2: warning: undefined behavior, destination object type 'GLOBAL_MODS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/GraphicsModes.cpp:78:31: warning: 2 adjacent parameters of 'Approach' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/GraphicsModes.cpp:84:3: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/GraphicsModes.cpp:84:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/GraphicsModes.cpp:91:3: warning: use `std::max` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/GraphicsModes.cpp:91:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/GraphicsModes.cpp:99:2: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/graphics/GraphicsModes.cpp:99:2: warning: undefined behavior, destination object type 'GLOBAL_MODS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/GraphicsModes.cpp:99:2: warning: undefined behavior, source object type 'GLOBAL_MODS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/GraphicsModes.cpp:105:2: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/graphics/GraphicsModes.cpp:105:2: warning: undefined behavior, destination object type 'GLOBAL_MODS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/GraphicsModes.cpp:105:2: warning: undefined behavior, source object type 'GLOBAL_MODS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/GraphicsModes.cpp:110:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/GraphicsModes.cpp:112:2: warning: variable 'baseinc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/GraphicsModes.cpp:113:2: warning: variable 'incdiv1000' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/GraphicsModes.cpp:140:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/GraphicsModes.cpp:140:21: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/GraphicsModes.cpp:144:37: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/graphics/GraphicsModes.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/GraphicsModes.h:58:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsModes.h:58:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsModes.h:58:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/GraphicsModes.h:58:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/GraphicsModes.h:60:8: warning: accessing fields in struct 'GLOBAL_MODS' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsModes.h:60:8: warning: constructor does not initialize these fields: zclip [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsModes.h:66:20: warning: variable 'current' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/GraphicsModes.h:67:20: warning: variable 'desired' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/GraphicsTypes.h:68:8: warning: accessing fields in struct 'EERIE_TRI' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:69:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:72:8: warning: accessing fields in struct 'EERIE_2D_BBOX' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:77:8: warning: accessing fields in struct 'EERIE_LIGHT' is inefficient due to padding; only needs 168 bytes but is using 176 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:77:8: warning: accessing fields in struct 'EERIE_LIGHT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:77:8: warning: constructor does not initialize these fields: exist, type, treat, selected, extras, status, fallstart, fallend, falldiff, falldiffmul, precalc, intensity, i, temp, ltemp, ex_radius, ex_frequency, ex_size, ex_speed, ex_flaresize, tl, time_creation, duration, sample [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:82:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:83:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:97:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:104:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:105:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:106:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:110: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/graphics/GraphicsTypes.h:126:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:126:9: warning: macro 'TYP_SPECIAL1' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:126:9: warning: macro 'TYP_SPECIAL1' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:164:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsTypes.h:164:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/GraphicsTypes.h:164:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/GraphicsTypes.h:164:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/GraphicsTypes.h:166:8: warning: accessing fields in struct 'EERIEPOLY' is inefficient due to padding; only needs 396 bytes but is using 400 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:166:8: warning: accessing fields in struct 'EERIEPOLY' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:166:8: warning: constructor does not initialize these fields: tex, transval, area, room, misc [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:172:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:173:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:174:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:179:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:180:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:181:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:181:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:184:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:184:9: warning: macro 'IOPOLYVERT' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:184:9: warning: macro 'IOPOLYVERT' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:185:8: warning: accessing fields in struct 'EERIE_FACE' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:185:8: warning: constructor does not initialize these fields: texid, transval, temp [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:188:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:189:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:189:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:190:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:191:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:195:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:198:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:198:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:199:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:199:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:200:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:208:8: warning: accessing fields in struct 'NEIGHBOURS_DATA' is inefficient due to padding; only needs 20 bytes but is using 24 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:208:8: warning: accessing fields in struct 'NEIGHBOURS_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:209:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:210:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:211:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:212:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:215:8: warning: accessing fields in struct 'PROGRESSIVE_DATA' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:217:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:218:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:222:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:223:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:226:8: warning: accessing fields in struct 'EERIE_SPRINGS' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:227:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:228:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:232:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:235:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:235:9: warning: macro 'CLOTHES_FLAG_NORMAL' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:235:9: warning: macro 'CLOTHES_FLAG_NORMAL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:236:9: warning: macro 'CLOTHES_FLAG_FIX' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:236:9: warning: macro 'CLOTHES_FLAG_FIX' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:237:9: warning: macro 'CLOTHES_FLAG_NOCOL' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:237:9: warning: macro 'CLOTHES_FLAG_NOCOL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:239:8: warning: accessing fields in struct 'CLOTHESVERTEX' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:239:8: warning: constructor does not initialize these fields: idx, flags, coll, mass [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:241:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:257:8: warning: accessing fields in struct 'CLOTHES_DATA' is inefficient due to padding; only needs 42 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:257:8: warning: accessing fields in struct 'CLOTHES_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:261:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:261:8: warning: use default member initializer for 'nb_cvert' [modernize-use-default-member-init] +Arx/src/graphics/GraphicsTypes.h:264:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:264:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:267:8: warning: accessing fields in struct 'COLLISION_SPHERE' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:268:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:269:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:273:8: warning: accessing fields in struct 'COLLISION_SPHERES_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:277:8: warning: accessing fields in struct 'PHYSVERT' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:285:9: warning: use default member initializer for 'mass' [modernize-use-default-member-init] +Arx/src/graphics/GraphicsTypes.h:298:8: warning: accessing fields in struct 'PHYSICS_BOX_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:301:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:302:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:303:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:309:8: warning: accessing fields in struct 'EERIE_GROUPLIST' is inefficient due to padding; only needs 68 bytes but is using 72 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:309:8: warning: accessing fields in struct 'EERIE_GROUPLIST' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:311:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:311:7: warning: use default member initializer for 'origin' [modernize-use-default-member-init] +Arx/src/graphics/GraphicsTypes.h:312:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:313:8: warning: use default member initializer for 'siz' [modernize-use-default-member-init] +Arx/src/graphics/GraphicsTypes.h:315:22: warning: initializer for member 'name' is redundant [readability-redundant-member-init] +Arx/src/graphics/GraphicsTypes.h:315:41: warning: initializer for member 'indexes' is redundant [readability-redundant-member-init] +Arx/src/graphics/GraphicsTypes.h:318:8: warning: accessing fields in struct 'EERIE_ACTIONLIST' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:320:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:320:7: warning: use default member initializer for 'idx' [modernize-use-default-member-init] +Arx/src/graphics/GraphicsTypes.h:321:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:321:7: warning: use default member initializer for 'act' [modernize-use-default-member-init] +Arx/src/graphics/GraphicsTypes.h:322:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:322:7: warning: use default member initializer for 'sfx' [modernize-use-default-member-init] +Arx/src/graphics/GraphicsTypes.h:324:23: warning: initializer for member 'name' is redundant [readability-redundant-member-init] +Arx/src/graphics/GraphicsTypes.h:327:8: warning: accessing fields in struct 'CUB3D' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:337:8: warning: accessing fields in struct 'EERIE_MOD_INFO' is inefficient due to padding; only needs 52 bytes but is using 56 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:337:8: warning: accessing fields in struct 'EERIE_MOD_INFO' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:337:8: warning: constructor does not initialize these fields: link_origin, flags [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:338:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:342:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:345:8: warning: accessing fields in struct 'EERIE_LINKED' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:345:8: warning: constructor does not initialize these fields: lgroup, lidx, lidx2, obj, io [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:346:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:347:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:348:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:354:8: warning: accessing fields in struct 'EERIE_SELECTIONS' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:356:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:359:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:359:9: warning: macro 'DRAWFLAG_HIGHLIGHT' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:359:9: warning: macro 'DRAWFLAG_HIGHLIGHT' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:361:8: warning: accessing fields in struct 'EERIE_FASTACCESS' is inefficient due to poor alignment; currently aligned to 2 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:363:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:364:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:366:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:367:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:369:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:370:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:372:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:373:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:375:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:376:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:378:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:379:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:381:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:382:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:384:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:385:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:387:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:388:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:392:8: warning: accessing fields in struct 'EERIE_BONE' is inefficient due to padding; only needs 164 bytes but is using 168 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:392:8: warning: accessing fields in struct 'EERIE_BONE' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:392:8: warning: constructor does not initialize these fields: nb_idxvertices, idxvertices, original_group, father, quatanim, quatlast, quatinit [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:394:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:395:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:397:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:410:8: warning: accessing fields in struct 'EERIE_C_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:413:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:416:8: warning: accessing fields in struct 'EERIE_3DPAD' is inefficient due to padding; only needs 4 bytes but is using 16 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:416:8: warning: constructor does not initialize these fields: w [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:420:8: warning: accessing fields in struct 'EERIE_3DOBJ' is inefficient due to padding; only needs 440 bytes but is using 448 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:420:8: warning: accessing fields in struct 'EERIE_3DOBJ' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:420: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/GraphicsTypes.h:420:8: warning: class 'EERIE_3DOBJ' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/GraphicsTypes.h:422:2: warning: constructor does not initialize these fields: cub, quat, fastaccess [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:424:3: warning: 'point0' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:425:3: warning: 'angle' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:427:3: warning: 'origin' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:428:3: warning: 'ident' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:429:3: warning: 'nbgroups' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:430:3: warning: 'drawflags' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:432:3: warning: 'vertexlocal' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:432:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:434:3: warning: 'grouplist' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:434:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:436:3: warning: 'originaltextures' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:436:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:437:3: warning: 'linked' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:437:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:449:3: warning: 'nblinked' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:451:3: warning: 'pbox' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:451:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:452:3: warning: 'pdata' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:452:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:453:3: warning: 'ndata' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:453:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:454:3: warning: 'cdata' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:454:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:455:3: warning: 'sdata' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:455:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:476:3: warning: 'c_data' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/GraphicsTypes.h:476:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/GraphicsTypes.h:488:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:489:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:490:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:491:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:506:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:520:8: warning: accessing fields in struct 'EERIE_3DSCENE' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:521:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:525:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:527:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:535:8: warning: accessing fields in struct 'EERIE_MULTI3DSCENE' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:536:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:537:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:544:8: warning: accessing fields in struct 'EERIE_FRAME' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:546:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:547:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:549:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:550:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:557:8: warning: accessing fields in struct 'EERIE_GROUP' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:566:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:566:9: warning: macro 'EA_LOOP' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:566:9: warning: macro 'EA_LOOP' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:567:9: warning: macro 'EA_REVERSE' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:567:9: warning: macro 'EA_REVERSE' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:568:9: warning: macro 'EA_PAUSED' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:568:9: warning: macro 'EA_PAUSED' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:569:9: warning: macro 'EA_ANIMEND' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:569:9: warning: macro 'EA_ANIMEND' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:570:9: warning: macro 'EA_STATICANIM' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:570:9: warning: macro 'EA_STATICANIM' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:571:9: warning: macro 'EA_STOPEND' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:571:9: warning: macro 'EA_STOPEND' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:572:9: warning: macro 'EA_FORCEPLAY' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:572:9: warning: macro 'EA_FORCEPLAY' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:573:9: warning: macro 'EA_EXCONTROL' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/GraphicsTypes.h:573:9: warning: macro 'EA_EXCONTROL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsTypes.h:574:8: warning: accessing fields in struct 'EERIE_ANIM' is inefficient due to padding; only needs 52 bytes but is using 56 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:574:8: warning: accessing fields in struct 'EERIE_ANIM' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:577:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:578:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:579:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:588:8: warning: accessing fields in struct 'EERIE_PORTALS' is inefficient due to padding; only needs 420 bytes but is using 424 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:588:8: warning: accessing fields in struct 'EERIE_PORTALS' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:588:8: warning: constructor does not initialize these fields: room_1, room_2, useportal, paddy [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:591:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:592:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:593:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:594:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:597:8: warning: accessing fields in struct 'EP_DATA' is inefficient due to poor alignment; currently aligned to 2 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:598:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:599:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:600:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:601:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:604:8: warning: accessing fields in struct 'EERIE_ROOM_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:605:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:606:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:607:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:611:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:613:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:617:8: warning: accessing fields in struct 'EERIE_PORTAL_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:619:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:621:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:625:8: warning: accessing fields in struct 'SMY_ZMAPPINFO' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:627:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:628:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:629:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/GraphicsTypes.h:632:8: warning: accessing fields in struct 'SMY_ARXMAT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/GraphicsTypes.h:634:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:635:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:637:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:638:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:640:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:641:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:643:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:644:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:646:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:647:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:649:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:650:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:653:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:653:13: warning: variable 'USE_PORTALS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/GraphicsTypes.h:654:28: warning: variable 'portals' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/GraphicsTypes.h:654:28: warning: variable 'portals' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/GraphicsUtility.cpp:49:25: warning: no header providing "EERIEMATRIX" is directly included [misc-include-cleaner] +Arx/src/graphics/GraphicsUtility.cpp:49:50: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/GraphicsUtility.cpp:50:28: warning: 2 adjacent parameters of 'Util_SetViewMatrix' of similar type ('const Vec3f &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/GraphicsUtility.cpp:59:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/GraphicsUtility.cpp:64:2: warning: variable 'fDotProduct' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/GraphicsUtility.cpp:64:22: warning: no header providing "dot" is directly included [misc-include-cleaner] +Arx/src/graphics/GraphicsUtility.cpp:70:23: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/graphics/GraphicsUtility.cpp:75:24: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/graphics/GraphicsUtility.cpp:79:25: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/graphics/GraphicsUtility.cpp:79:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/GraphicsUtility.cpp:89:2: warning: variable 'vRight' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/GraphicsUtility.cpp:89:17: warning: no header providing "cross" is directly included [misc-include-cleaner] +Arx/src/graphics/GraphicsUtility.h:62:9: warning: function-like macro 'SAFE_RELEASE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/GraphicsUtility.h:68:6: warning: function 'Util_SetViewMatrix' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/GraphicsUtility.h:70:50: warning: parameter name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:66:9: warning: function-like macro 'OPTIM_COMPUTE_INTERVALS' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:68:6: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:4: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:11: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:14: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:23: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:27: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:34: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:43: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:46: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:49: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:53: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:56: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:72:59: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:74:11: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:4: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:11: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:14: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:23: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:27: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:34: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:43: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:46: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:49: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:53: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:56: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:77:59: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:79:11: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:79:14: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:79:25: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:4: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:11: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:14: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:23: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:27: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:34: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:43: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:46: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:49: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:53: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:56: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:82:59: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:84:11: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:4: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:11: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:14: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:23: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:27: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:34: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:43: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:46: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:49: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:53: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:56: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:86:59: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:88:11: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:4: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:11: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:14: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:23: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:27: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:34: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:43: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:46: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:49: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:53: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:56: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:90:59: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:104:9: warning: function-like macro 'EDGE_EDGE_TEST' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:105:5: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:105:12: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:106:5: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:106:12: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:107:5: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:107:12: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:108:5: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:108:12: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:124:9: warning: function-like macro 'EDGE_AGAINST_TRI_EDGES' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:127:6: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:127:13: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:128:6: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:128:13: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:137:9: warning: function-like macro 'POINT_IN_TRI' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:142:5: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:142:12: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:143:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:143:14: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:144:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:144:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:145:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:145:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:147:5: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:147:12: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:148:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:148:14: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:149:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:149:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:150:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:150:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:152:5: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:152:12: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:153:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:153:14: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:154:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:154:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:155:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:155:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:162:5: warning: function 'coplanar_tri_tri' has cognitive complexity of 143 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/Math.cpp:162:22: warning: 2 adjacent parameters of 'coplanar_tri_tri' of similar type ('const float *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Math.cpp:162:28: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:162:34: warning: parameter name 'N' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:162:46: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:162:52: warning: parameter name 'V0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:162:65: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:162:71: warning: parameter name 'V1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:162:84: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:162:90: warning: parameter name 'V2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:163:28: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:163:34: warning: parameter name 'U0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:163:47: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:163:53: warning: parameter name 'U1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:163:66: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:163:72: warning: parameter name 'U2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:165:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:165:8: warning: variable name 'A' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:166:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/Math.cpp:166:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:166:8: warning: variable 'i0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:166:8: warning: variable name 'i0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:166:12: warning: variable 'i1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:166:12: warning: variable name 'i1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:169:9: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:170:9: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:171:9: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:201:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:201:2: warning: variable name 'Ax' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:201:2: warning: variable name 'Ay' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:201:2: warning: variable name 'Bx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:201:2: warning: variable name 'By' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:201:2: warning: variable name 'Cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:201:2: warning: variable name 'Cy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:201:2: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:201:2: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:201:2: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:202:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:202:2: warning: variable name 'Ax' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:202:2: warning: variable name 'Ay' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:202:2: warning: variable name 'Bx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:202:2: warning: variable name 'By' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:202:2: warning: variable name 'Cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:202:2: warning: variable name 'Cy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:202:2: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:202:2: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:202:2: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:203:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:203:2: warning: variable name 'Ax' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:203:2: warning: variable name 'Ay' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:203:2: warning: variable name 'Bx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:203:2: warning: variable name 'By' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:203:2: warning: variable name 'Cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:203:2: warning: variable name 'Cy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:203:2: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:203:2: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:203:2: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:208:9: warning: function-like macro 'CROSS' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:209:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:209:16: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:209:22: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:209:28: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:210:2: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:210:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:210:16: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:210:22: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:210:28: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:211:2: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:211:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:211:16: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:211:22: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:211:28: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:213:9: warning: function-like macro 'DOT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:213:21: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:213:27: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:213:33: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:213:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:213:45: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:213:51: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:215:9: warning: function-like macro 'SUB' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:216:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:216:16: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:217:2: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:217:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:217:16: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:218:2: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:218:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:218:16: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:221:9: warning: function-like macro 'SORT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:222:5: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:222:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:226:3: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:227:3: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:236:41: warning: parameter name 'VV' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:236:63: warning: parameter name 'UU' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:238:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:238:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:238:8: warning: variable name 'E1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:238:15: warning: variable name 'E2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:239:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:239:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:239:8: warning: variable name 'N1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:239:15: warning: variable name 'N2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:239:22: warning: variable 'd1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:239:22: warning: variable name 'd1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:239:26: warning: variable 'd2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:239:26: warning: variable name 'd2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:240:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:240:8: warning: variable 'du0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:240:13: warning: variable 'du1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:240:18: warning: variable 'du2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:240:23: warning: variable 'dv0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:240:28: warning: variable 'dv1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:240:33: warning: variable 'dv2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:241:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:241:8: warning: variable name 'D' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:242:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:242:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:243:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:243:8: warning: variable 'du0du1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:243:16: warning: variable 'du0du2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:243:24: warning: variable 'dv0dv1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:243:32: warning: variable 'dv0dv2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:244:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/Math.cpp:244:8: warning: variable 'index' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:245:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:245:8: warning: variable 'vp0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:245:13: warning: variable 'vp1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:245:18: warning: variable 'vp2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:246:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:246:8: warning: variable 'up0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:246:13: warning: variable 'up1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:246:18: warning: variable 'up2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:247:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:247:8: warning: variable 'bb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:247:8: warning: variable name 'bb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:247:12: warning: variable 'cc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:247:12: warning: variable name 'cc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:247:16: warning: variable 'max' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:248:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:248:8: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:248:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:248:11: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:248:11: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:248:14: warning: variable 'c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:248:14: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:248:17: warning: variable 'x0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:248:17: warning: variable name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:248:21: warning: variable 'x1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:248:21: warning: variable name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:249:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:249:8: warning: variable 'd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:249:8: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:249:11: warning: variable 'e' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:249:11: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:249:14: warning: variable 'f' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:249:14: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:249:17: warning: variable 'y0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:249:17: warning: variable name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:249:21: warning: variable 'y1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:249:21: warning: variable name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:251:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:251:8: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:251:8: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:251:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:251:12: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:251:16: warning: variable 'xxyy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:251:22: warning: variable 'tmp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:253:16: warning: variable 'V0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:253:16: warning: variable name 'V0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:254:16: warning: variable 'V1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:254:16: warning: variable name 'V1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:255:16: warning: variable 'V2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:255:16: warning: variable name 'V2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:256:16: warning: variable 'U0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:256:16: warning: variable name 'U0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:257:16: warning: variable 'U1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:257:16: warning: variable name 'U1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:258:16: warning: variable 'U2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:258:16: warning: variable name 'U2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:283:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:301:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:308:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Math.cpp:308:15: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:310:7: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Math.cpp:310:14: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:311:7: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Math.cpp:311:14: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:313:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:315:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:327:2: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/Math.cpp:330:2: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/Math.cpp:344:2: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:345:2: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:347:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:357:20: warning: function 'Triangle_ComputeBoundingBox' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/Math.cpp:357:48: warning: no header providing "EERIE_3D_BBOX" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:357:64: warning: parameter name 'bb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:357:86: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:377:44: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:377:65: warning: parameter name 'u' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:379:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:383:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:385:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:387:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:389:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:391:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:393:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:395:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:403:9: warning: macro 'X' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:404:9: warning: macro 'Y' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:405:9: warning: macro 'Z' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:407:9: warning: function-like macro 'FINDMINMAX' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:408:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:409:5: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:409:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:409:13: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:410:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:410:13: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:410:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:411:5: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:411:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:411:13: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:412:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:412:13: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:412:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:415:9: warning: function-like macro 'AXISTEST_X01' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:416:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:416:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:417:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:417:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:419:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:419:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:422:9: warning: function-like macro 'AXISTEST_X2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:423:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:423:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:424:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:424:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:426:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:426:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:430:9: warning: function-like macro 'AXISTEST_Y02' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:431:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:431:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:432:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:432:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:434:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:434:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:437:9: warning: function-like macro 'AXISTEST_Y1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:438:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:438:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:439:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:439:18: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:441:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:441:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:446:9: warning: function-like macro 'AXISTEST_Z12' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:447:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:447:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:448:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:448:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:450:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:450:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:453:9: warning: function-like macro 'AXISTEST_Z0' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.cpp:454:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:454:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:455:7: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:455:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:457:8: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:457:30: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.cpp:465:31: warning: no header providing "EERIE_CYLINDER" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:467:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:469:8: warning: variable name 'm1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:470:8: warning: variable name 'm2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:472:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:477:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:481:6: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:482:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/graphics/Math.cpp:489:58: warning: no header providing "EERIE_SPHERE" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:489:73: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:491:8: warning: variable name 'm1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:492:8: warning: variable name 'm2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:494:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:499:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:515:20: warning: no header providing "EERIE_QUAT" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:515:58: warning: parameter name 'q1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:515:81: warning: parameter name 'q2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:554:56: warning: parameter name 'q1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:554:79: warning: parameter name 'q2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:566:2: warning: uninitialized record type: 'rev_quat' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/Math.cpp:570:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:570:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:571:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:571:8: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:572:2: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:572:8: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:574:2: warning: variable 'qx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:574:8: warning: variable name 'qx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:575:2: warning: variable 'qy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:575:8: warning: variable name 'qy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:576:2: warning: variable 'qz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:576:8: warning: variable name 'qz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:577:2: warning: variable 'qw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:577:8: warning: variable name 'qw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:579:2: warning: variable 'rx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:579:8: warning: variable name 'rx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:580:2: warning: variable 'ry' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:580:8: warning: variable name 'ry' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:581:2: warning: variable 'rz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:581:8: warning: variable name 'rz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:582:2: warning: variable 'rw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:582:8: warning: variable name 'rw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:590:76: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:607:3: warning: variable 'fTheta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:607:18: warning: no header providing "acosf" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:608:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:608:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:608:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:609:12: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:610:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:624:32: warning: parameter name 'q' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:626:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:626:2: warning: uninitialized record type: 'qr' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/Math.cpp:626:2: warning: uninitialized record type: 'qw' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/Math.cpp:626:13: warning: variable name 'qw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:626:17: warning: variable name 'qr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:637:34: warning: parameter name 'q' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:637:43: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:640:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:640:8: warning: variable 'A' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:640:8: warning: variable name 'A' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:640:11: warning: variable 'B' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:640:11: warning: variable name 'B' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:644:2: warning: variable 'fSinYaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:644:20: warning: no header providing "sinf" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:645:2: warning: variable 'fCosYaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:645:20: warning: no header providing "cosf" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:646:2: warning: variable 'fSinPitch' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:647:2: warning: variable 'fCosPitch' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:649:2: warning: variable 'fSinRoll' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:650:2: warning: variable 'fCosRoll' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:664:21: warning: no header providing "EERIEMATRIX" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:664:35: warning: parameter name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:666:8: warning: variable 'wx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:8: warning: variable name 'wx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:12: warning: variable 'wy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:12: warning: variable name 'wy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:16: warning: variable 'wz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:16: warning: variable name 'wz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:20: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:20: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:24: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:24: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:28: warning: variable 'yz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:28: warning: variable name 'yz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:32: warning: variable 'xy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:32: warning: variable name 'xy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:36: warning: variable 'xz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:36: warning: variable name 'xz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:40: warning: variable 'zz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:40: warning: variable name 'zz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:44: warning: variable 'x2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:44: warning: variable name 'x2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:48: warning: variable 'y2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:48: warning: variable name 'y2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:666:52: warning: variable 'z2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:52: warning: variable name 'z2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:682:11: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/Math.cpp:685:11: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/Math.cpp:688:11: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/Math.cpp:690:11: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/Math.cpp:694:11: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/Math.cpp:695:11: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/Math.cpp:703:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:703:8: warning: variable name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:720:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:720:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:720:9: warning: variable 'tr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:720:9: warning: variable name 'tr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:720:13: warning: variable 's' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:720:13: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:720:16: warning: variable name 'q' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:722:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:722:2: warning: variable 'nxt' of type 'int[3]' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:729:7: warning: call to 'sqrt' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:729:7: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Math.cpp:729:7: warning: no header providing "sqrt" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:739:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:741:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:743:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:745:3: warning: variable 'j' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:745:7: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:746:3: warning: variable 'k' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:746:7: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:748:7: warning: call to 'sqrt' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:748:7: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Math.cpp:752:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:772:2: warning: variable 'in' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:772:8: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:773:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:773:12: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:774:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/Math.cpp:774:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:774:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:774:12: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:775:6: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:781:2: warning: variable 'in' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:781:8: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:782:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:783:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/Math.cpp:783:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:783:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:783:12: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:784:6: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:790:2: warning: variable 'in' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:790:8: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:791:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:792:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/Math.cpp:792:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:792:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:792:12: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:793:6: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:799:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:800:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/Math.cpp:800:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:800:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:800:12: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:801:6: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:807:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:808:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/Math.cpp:808:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:808:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:808:12: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:809:6: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:814:33: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:814:43: warning: no header providing "TexturedVertex" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:814:60: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:816:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:816:8: warning: variable 'Ax' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:816:8: warning: variable name 'Ax' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:816:12: warning: variable 'Ay' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:816:12: warning: variable name 'Ay' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:816:16: warning: variable 'Az' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:816:16: warning: variable name 'Az' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:816:20: warning: variable 'Bx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:816:20: warning: variable name 'Bx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:816:24: warning: variable 'By' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:816:24: warning: variable name 'By' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:816:28: warning: variable 'Bz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:816:28: warning: variable name 'Bz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:829:38: warning: parameter name 'v0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:829:56: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:829:74: warning: parameter name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:830:37: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:832:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:832:8: warning: variable 'Ax' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:832:8: warning: variable name 'Ax' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:832:12: warning: variable 'Ay' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:832:12: warning: variable name 'Ay' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:832:16: warning: variable 'Az' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:832:16: warning: variable name 'Az' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:832:20: warning: variable 'Bx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:832:20: warning: variable name 'Bx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:832:24: warning: variable 'By' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:832:24: warning: variable name 'By' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:832:28: warning: variable 'Bz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:832:28: warning: variable name 'Bz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:845:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:848:39: warning: parameter name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:848:42: warning: 2 adjacent parameters of 'MatrixSetByVectors' of similar type ('const Vec3f *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Math.cpp:848:56: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:848:73: warning: parameter name 'u' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:850:8: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:850:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:851:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:851:8: warning: variable name 'D' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:851:11: warning: variable name 'U' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:851:14: warning: variable name 'R' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:859:6: warning: no header providing "cross" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:875:2: warning: variable 'zAxis' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:882:7: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/graphics/Math.cpp:882:19: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/graphics/Math.cpp:882:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:884:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:888:2: warning: variable 'xAxis' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:895:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:895:2: warning: uninitialized record type: 'roll' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/Math.cpp:895:2: warning: uninitialized record type: 'rot' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/Math.cpp:911:13: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:912:14: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:913:13: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:914:13: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.cpp:927:35: warning: parameter name 'q' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:927:58: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:927:81: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:929:16: warning: variable name 'pA' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:930:16: warning: variable name 'pB' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:931:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Math.cpp:931:8: warning: variable name 'pM' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:935:7: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:935:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:936:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:937:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Math.cpp:940:2: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:945:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:945:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:946:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:946:8: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.cpp:947:2: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:947:8: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:57:1: warning: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers] +Arx/src/graphics/Math.h:58:1: warning: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers] +Arx/src/graphics/Math.h:65:9: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/graphics/Math.h:65:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/Math.h:65:9: warning: rand() has limited randomness; use C++11 random library instead [cert-msc50-cpp] +Arx/src/graphics/Math.h:75:2: warning: variable 'range' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:76:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/graphics/Math.h:80:9: warning: function-like macro 'EEcos' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.h:80:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.h:81:9: warning: function-like macro 'EEsin' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.h:81:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.h:82:9: warning: function-like macro 'EEfabs' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/Math.h:97:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Math.h:107:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Math.h:112:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Math.h:113:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Math.h:113:27: warning: call to 'ceil' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/Math.h:117:73: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:120:24: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:122:4: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:127:27: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:144:2: warning: variable 'half' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:170:34: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:170:57: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:170:66: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:174:34: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:174:57: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:174:66: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:178:34: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:178:57: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:178:66: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:183:33: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:184:2: warning: variable 'len' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:191:39: warning: parameter name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:191:56: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:191:73: warning: parameter name 'u' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:193:35: warning: parameter name 'q' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:193:58: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:193:81: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:199:36: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:200:8: warning: variable 'tempy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.h:221:42: warning: 4 adjacent parameters of 'Quat_Init' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Math.h:221:48: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:221:61: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:221:74: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:221:87: warning: parameter name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:238:2: warning: variable 'rx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:238:8: warning: variable name 'rx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:239:2: warning: variable 'ry' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:239:8: warning: variable name 'ry' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:240:2: warning: variable 'rz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:240:8: warning: variable name 'rz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:241:2: warning: variable 'rw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:241:8: warning: variable name 'rw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:249:56: warning: parameter name 'q1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:249:79: warning: parameter name 'q2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:250:59: warning: parameter name 'q1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:250:82: warning: parameter name 'q2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:252:6: warning: function 'Quat_Slerp' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/Math.h:252:76: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:252:86: warning: parameter name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:257:54: warning: parameter 'angle' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/graphics/Math.h:258:54: warning: parameter 'angle' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/graphics/Math.h:259:6: warning: function 'VRotateX' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/Math.h:259:23: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:259:27: warning: parameter 'angle' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/graphics/Math.h:260:6: warning: function 'VRotateY' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/Math.h:260:23: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:260:27: warning: parameter 'angle' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/graphics/Math.h:261:6: warning: function 'VRotateZ' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/Math.h:261:23: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:261:27: warning: parameter 'angle' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/graphics/Math.h:264:33: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:264:60: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:265:38: warning: parameter name 'v0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:265:56: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:265:74: warning: parameter name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:265:91: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:266:44: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:266:65: warning: parameter name 'u' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:267:59: warning: parameter name 'q' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:269:27: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:277:54: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:285:54: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:289:71: warning: parameter name 'pt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:291:2: warning: variable 'pos1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:308:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Math.h:308:76: warning: parameter name 'pt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:310:2: warning: variable 'pos1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:325:34: warning: parameter name 'q' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:327:36: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:328:26: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Math.h:332:33: 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/Renderer.cpp:26:1: warning: included header CrashHandler.h is not used directly [misc-include-cleaner] +Arx/src/graphics/Renderer.cpp:28:12: warning: variable 'GRenderer' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Renderer.cpp:28:12: warning: variable 'GRenderer' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Renderer.cpp:31:83: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/Renderer.cpp:31:83: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/Renderer.cpp:51:11: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/graphics/Renderer.cpp:54:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/Renderer.cpp:54:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/Renderer.cpp:59:36: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/Renderer.cpp:59:87: warning: parameter name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Renderer.cpp:61:2: warning: uninitialized record type: 'mat' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/Renderer.h:40: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:40:7: warning: class 'Renderer' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/Renderer.h:45:7: warning: enum 'RenderState' 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:57: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:69:7: warning: enum 'PixelBlendingFactor' 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:84:7: 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:90: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:97:7: warning: enum 'FogMode' 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:105: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:112: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:120: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:165:135: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/Renderer.h:179:2: warning: function 'GetTextureStageCount' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/Renderer.h:179:2: warning: function 'GetTextureStageCount' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/Renderer.h:185:2: warning: function 'GetMaxAnisotropy' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/Renderer.h:188:38: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Renderer.h:188:47: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Renderer.h:188:56: warning: parameter name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Renderer.h:188:65: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Renderer.h:194:99: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/Renderer.h:201:30: warning: member variable 'm_TextureStages' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/Renderer.h:205:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Renderer.h:205:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Renderer.h:205:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Renderer.h:205:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Renderer.h:207:19: warning: variable 'GRenderer' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Renderer.h:207:19: warning: variable 'GRenderer' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/Vertex.h:52:8: warning: accessing fields in struct 'TexturedVertex' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/Vertex.h:52:8: warning: class 'TexturedVertex' defines a copy constructor but does not define a destructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/Vertex.h:62:31: warning: parameter name '_p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Vertex.h:62:35: warning: 3 adjacent parameters of 'TexturedVertex' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/Vertex.h:62:92: warning: the parameter '_uv' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/Vertex.h:64:2: warning: use '= default' to define a trivial copy constructor [modernize-use-equals-default] +Arx/src/graphics/Vertex.h:64:40: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/Vertex.h:66:2: warning: constructor does not initialize these fields: rhw, color, specular [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/Vertex.h:66:2: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/graphics/Vertex.h:73:8: warning: accessing fields in struct 'SMY_VERTEX' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/Vertex.h:73:8: warning: constructor does not initialize these fields: color [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/Vertex.h:79:8: warning: accessing fields in struct 'SMY_VERTEX3' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/Vertex.h:79:8: warning: constructor does not initialize these fields: color [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/Vertex.h:82:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/Vertex.h:85:8: warning: accessing fields in struct 'EERIE_VERTEX' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +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:37:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/VertexBuffer.h:37:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/VertexBuffer.h:37:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/VertexBuffer.h:37:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/VertexBuffer.h:40:7: warning: class 'IndexBuffer' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/VertexBuffer.h:44:2: warning: function 'capacity' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/VertexBuffer.h:44:2: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/VertexBuffer.h:46:100: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/VertexBuffer.h:48:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/VertexBuffer.h:48:80: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/VertexBuffer.h:51:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/VertexBuffer.h:57:15: warning: member '_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:57:15: warning: member variable '_capacity' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/VertexBuffer.h:61:7: warning: class 'VertexBuffer' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/VertexBuffer.h:65:2: warning: function 'capacity' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/VertexBuffer.h:65:2: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/VertexBuffer.h:67:101: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/VertexBuffer.h:69:44: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/VertexBuffer.h:69:81: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/VertexBuffer.h:73:87: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/VertexBuffer.h:75:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/VertexBuffer.h:81:15: warning: member '_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:81:15: warning: member variable '_capacity' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/VertexBuffer.h:85:7: warning: class 'CircularVertexBuffer' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/VertexBuffer.h:89:31: warning: member 'vb' of type 'VertexBuffer *const' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/graphics/VertexBuffer.h:91:9: warning: use default member initializer for 'pos' [modernize-use-default-member-init] +Arx/src/graphics/VertexBuffer.h:113:3: warning: variable 'dst_offset' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:46:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/graphics/data/CinematicTexture.cpp:67:13: warning: function 'ReajustUV' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/CinematicTexture.cpp:67:13: warning: function 'ReajustUV' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/data/CinematicTexture.cpp:67:40: warning: parameter name 'bi' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:76:51: warning: 2 adjacent parameters of 'AllocGrille' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/CinematicTexture.cpp:76:66: warning: parameter name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:76:70: warning: 2 adjacent parameters of 'AllocGrille' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/CinematicTexture.cpp:76:76: warning: parameter name 'ty' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:76:86: warning: parameter name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:76:96: warning: parameter name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:79:2: warning: variable 'oldnbx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:83:2: warning: variable 'olddx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:84:2: warning: variable 'olddy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:85:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:86:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:93:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:93:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/CinematicTexture.cpp:93:21: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/data/CinematicTexture.cpp:93:29: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/CinematicTexture.cpp:94:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:94:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/CinematicTexture.cpp:94:24: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/CinematicTexture.cpp:95:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:95:17: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/CinematicTexture.cpp:95:26: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/CinematicTexture.cpp:102:2: warning: variable 'depx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:105:10: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:112:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/CinematicTexture.cpp:126:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/CinematicTexture.cpp:139:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:152:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:162:2: warning: variable 'matIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:162:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/CinematicTexture.cpp:165:6: warning: variable 'deb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:166:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/CinematicTexture.cpp:168:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/CinematicTexture.cpp:180:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/CinematicTexture.cpp:181:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/CinematicTexture.cpp:182:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/CinematicTexture.cpp:184:16: warning: variable 'mat' of type 'C_INDEXED &' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:191:48: warning: parameter name 'cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:191:56: warning: parameter name 'cy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:191:66: warning: parameter name 'i1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:191:76: warning: parameter name 'i2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:191:86: warning: parameter name 'i3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:191:96: warning: parameter name 'i4' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:199:38: warning: 2 adjacent parameters of 'AddPoly' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/CinematicTexture.cpp:199:54: warning: parameter name 'i0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:199:62: warning: parameter name 'i1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:199:70: warning: parameter name 'i2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:204:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:204:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/CinematicTexture.cpp:204:27: warning: 'grille->inds' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/graphics/data/CinematicTexture.cpp:204:27: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/CinematicTexture.cpp:204:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:207:55: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/CinematicTexture.cpp:208:55: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/CinematicTexture.cpp:209:57: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/CinematicTexture.cpp:214:52: warning: 2 adjacent parameters of 'AddQuadUVs' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/CinematicTexture.cpp:214:72: warning: 2 adjacent parameters of 'AddQuadUVs' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/CinematicTexture.cpp:214:97: warning: 2 adjacent parameters of 'AddQuadUVs' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/CinematicTexture.cpp:216:2: warning: variable 'matIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:226:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:226:17: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/CinematicTexture.cpp:226:25: warning: 'grille->uvs' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/graphics/data/CinematicTexture.cpp:226:25: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/CinematicTexture.cpp:226:33: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:229:8: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:230:2: warning: variable 'du' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:230:8: warning: variable name 'du' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:230:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:231:2: warning: variable 'dv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:231:8: warning: variable name 'dv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:231:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:239:9: warning: variable name 'u' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:245:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/CinematicTexture.cpp:245:8: warning: variable 'i0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:245:8: warning: variable name 'i0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:245:12: warning: variable 'i1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:245:12: warning: variable name 'i1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:245:16: warning: variable 'i2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:245:16: warning: variable name 'i2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:245:20: warning: variable 'i3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:245:20: warning: variable name 'i3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:270:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/CinematicTexture.cpp:270:8: warning: variable 'i0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:270:8: warning: variable name 'i0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:270:12: warning: variable 'i1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:270:12: warning: variable name 'i1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:270:16: warning: variable 'i2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:270:16: warning: variable name 'i2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:270:20: warning: variable 'i3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:270:20: warning: variable name 'i3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:284:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/CinematicTexture.cpp:284:6: warning: variable 'nbx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:284:11: warning: variable 'nby' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:284:16: warning: variable 'w' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:284:16: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:284:19: warning: variable 'h' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:284:19: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:284:22: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:285:20: warning: variable 'bi' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:285:20: warning: variable name 'bi' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:287:2: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:289:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/CinematicTexture.cpp:293:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/CinematicTexture.cpp:294:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/CinematicTexture.cpp:311:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/CinematicTexture.cpp:319:2: warning: variable 'width' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:320:2: warning: variable 'height' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:321:8: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/CinematicTexture.cpp:322:8: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/CinematicTexture.cpp:324:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/CinematicTexture.cpp:327:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/CinematicTexture.cpp:330:10: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/CinematicTexture.cpp:331:10: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/CinematicTexture.cpp:336:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:336:49: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:336:63: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:336:103: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:340:8: warning: variable name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:340:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:344:9: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:344:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:346:7: warning: variable 'h2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:346:7: warning: variable name 'h2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:348:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/CinematicTexture.cpp:349:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/CinematicTexture.cpp:356:4: warning: variable 'w2' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:356:8: warning: variable name 'w2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:365:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:372:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:385:13: warning: function 'ReajustUV' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/CinematicTexture.cpp:385:40: warning: parameter name 'cb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:389:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/CinematicTexture.cpp:389:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/graphics/data/CinematicTexture.cpp:389:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/graphics/data/CinematicTexture.cpp:393:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/CinematicTexture.cpp:396:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/CinematicTexture.cpp:396:7: warning: variable 'w' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:396:7: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:396:10: warning: variable 'h' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:396:10: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:401:13: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:401:13: warning: redundant explicit casting to the same type 'int' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/data/CinematicTexture.cpp:401:41: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:401:41: warning: redundant explicit casting to the same type 'int' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/data/CinematicTexture.cpp:403:4: warning: variable 'dx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:403:10: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:403:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:403:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:404:4: warning: variable 'dy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/CinematicTexture.cpp:404:10: warning: variable name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/CinematicTexture.cpp:404:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.cpp:404:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/CinematicTexture.h:56:8: warning: accessing fields in struct 'C_INDEXED' is inefficient due to padding; only needs 36 bytes but is using 40 bytes [altera-struct-pack-align] +Arx/src/graphics/data/CinematicTexture.h:56:8: warning: accessing fields in struct 'C_INDEXED' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/data/CinematicTexture.h:68:8: warning: accessing fields in struct 'C_IND' is inefficient due to poor alignment; currently aligned to 2 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/data/CinematicTexture.h:69:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/CinematicTexture.h:70:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/CinematicTexture.h:71:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/CinematicTexture.h:74:8: warning: accessing fields in struct 'C_UV' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/data/CinematicTexture.h:79:8: warning: accessing fields in struct 'CinematicGrid' is inefficient due to padding; only needs 92 bytes but is using 96 bytes [altera-struct-pack-align] +Arx/src/graphics/data/CinematicTexture.h:79:8: warning: accessing fields in struct 'CinematicGrid' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/CinematicTexture.h:79:8: warning: constructor does not initialize these fields: nbvertexs, nbfaces, nbinds, nbindsmalloc, nbuvs, nbuvsmalloc, vertexs, uvs, inds, dx, dy, nbx, nby, echelle [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/CinematicTexture.h:97: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/graphics/data/CinematicTexture.h:97:7: warning: class 'CinematicBitmap' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/data/CinematicTexture.h:97:7: warning: constructor does not initialize these fields: w, h, nbx, nby, dreaming [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/CinematicTexture.h:101:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/data/FTL.cpp:77:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:82:6: warning: function 'ARX_FTL_Save' has cognitive complexity of 67 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/FTL.cpp:111:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:112:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:118:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/FTL.cpp:119:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:142:3: warning: uninitialized record type: 'afph' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/FTL.cpp:155:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTL.cpp:161:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:161:34: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:161:34: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:164:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:167:24: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:168:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:168:36: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:168:36: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:171:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:173:22: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:174:21: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:175:20: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:176:22: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:177:22: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:178:26: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:179:19: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:183:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:183:61: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:183:61: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:186:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:192:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:194:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:194:27: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:194:27: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:195:20: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:201:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:201:27: warning: no header providing "IOPOLYVERT" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:213:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:218:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:220:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTL.cpp:223:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:229:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:235:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:235:61: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:235:61: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:238:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:242:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:242:83: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:242:83: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:242:84: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:250:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:250:61: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:250:61: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:253:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:259:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:259:61: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:259:61: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:262:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:265:9: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:265:86: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:265:86: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:268:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:281:36: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:282:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:282:54: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:282:54: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:285:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:287:24: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:289:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:289:69: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:289:69: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:292:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:294:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:298:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/FTL.cpp:304:31: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:305:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:305:41: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:305:41: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:308:23: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:311:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:314:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:314:74: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:314:74: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:317:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:320:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:320:69: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:320:69: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:323:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/FTL.cpp:349:24: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:364:8: warning: accessing fields in struct 'MCACHE_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTL.cpp:364:8: warning: constructor does not initialize these fields: data, size [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/FTL.cpp:369:28: warning: variable 'meshCache' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/FTL.cpp:369:28: warning: variable 'meshCache' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/FTL.cpp:372:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:372:13: warning: function 'MCache_Get' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/FTL.cpp:376:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTL.cpp:384:13: warning: function 'MCache_Push' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/FTL.cpp:402:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/FTL.cpp:402:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:410:15: warning: function 'MCache_Pop' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/FTL.cpp:412:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:412:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/FTL.cpp:414:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/FTL.cpp:421:15: warning: function 'ARX_FTL_Load' has cognitive complexity of 41 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/FTL.cpp:424:2: warning: variable 'filename' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/FTL.cpp:427:2: warning: no header providing "PakFile" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:427:12: warning: variable name 'pf' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTL.cpp:429:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/FTL.cpp:440:71: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/graphics/data/FTL.cpp:440:75: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/graphics/data/FTL.cpp:445:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/FTL.cpp:448:9: warning: variable 'allocsize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/FTL.cpp:452:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/FTL.cpp:462:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:469:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/FTL.cpp:477:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/FTL.cpp:484:35: warning: variable 'afsh' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/FTL.cpp:489:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/FTL.cpp:494:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:496:33: warning: variable 'af3Ddh' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/FTL.cpp:513:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/FTL.cpp:532:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:534:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:561:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:563:34: warning: variable 'tex' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/FTL.cpp:570:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/FTL.cpp:573:5: warning: variable 'name' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/FTL.cpp:586:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:588:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:599:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:601:5: warning: variable 'oldpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/FTL.cpp:603:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:603:15: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:603:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:603:42: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:603:42: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:609:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/FTL.cpp:615:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/FTL.cpp:617:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:625:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:626:13: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:626:13: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:626:39: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:626:39: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/FTL.cpp:630:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/FTL.cpp:637:49: warning: variable 'afcsdh' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/FTL.cpp:646:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:648:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:649:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:662:39: warning: variable 'afcdh' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/FTL.cpp:664:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/FTL.cpp:664:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:670:27: warning: no header providing "CLOTHESVERTEX" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:672:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:673:3: warning: undefined behavior, destination object type 'CLOTHESVERTEX' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/FTL.cpp:673:3: warning: undefined behavior, source object type 'CLOTHESVERTEX' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/FTL.cpp:677:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:679:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/FTL.cpp:680:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTLFormat.h:56:9: warning: macro 'CURRENT_FTL_VERSION' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/FTLFormat.h:72:8: warning: accessing fields in struct 'ARX_FTL_PRIMARY_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:73:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:77:8: warning: accessing fields in struct 'ARX_FTL_SECONDARY_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:86:8: warning: accessing fields in struct 'ARX_FTL_PROGRESSIVE_DATA_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 4 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:90:8: warning: accessing fields in struct 'ARX_FTL_CLOTHES_DATA_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:95:8: warning: accessing fields in struct 'ARX_FTL_COLLISION_SPHERES_DATA_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 4 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:99:8: warning: accessing fields in struct 'ARX_FTL_3D_DATA_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:107:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:110:8: warning: accessing fields in struct 'Texture_Container_FTL' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 256 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:111:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:116:8: warning: accessing fields in struct 'EERIE_FACE_FTL' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:120:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:121:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:123:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:124:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:125:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:126:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:130:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:135:8: warning: accessing fields in struct 'EERIE_GROUPLIST_FTL' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:137:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:143:58: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:145:12: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTLFormat.h:146:14: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTLFormat.h:154:8: warning: accessing fields in struct 'EERIE_ACTIONLIST_FTL' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:156:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:161:2: warning: function 'operator EERIE_ACTIONLIST' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:161:9: warning: 'operator EERIE_ACTIONLIST' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/data/FTLFormat.h:162:20: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:170:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:170:67: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:172:9: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTLFormat.h:173:12: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTLFormat.h:174:9: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTLFormat.h:180:8: warning: accessing fields in struct 'EERIE_SELECTIONS_FTL' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:182:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FTLFormat.h:186:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:186:67: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:188:17: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTLFormat.h:195:8: warning: accessing fields in struct 'COLLISION_SPHERE_FTL' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:201:2: warning: function 'operator COLLISION_SPHERE' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:201:9: warning: 'operator COLLISION_SPHERE' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/data/FTLFormat.h:202:3: warning: uninitialized record type: 'a' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/FTLFormat.h:202:20: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:209:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:209:67: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:218:8: warning: accessing fields in struct 'EERIE_SPRINGS_FTL' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:227:2: warning: function 'operator EERIE_SPRINGS' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:227:9: warning: 'operator EERIE_SPRINGS' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/data/FTLFormat.h:228:3: warning: uninitialized record type: 'a' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/FTLFormat.h:228:17: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:238:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:238:61: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:244:10: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/FTLFormat.h:250:8: warning: accessing fields in struct 'EERIE_OLD_VERTEX' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:256:2: warning: function 'operator EERIE_VERTEX' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:256:9: warning: 'operator EERIE_VERTEX' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/data/FTLFormat.h:257:16: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:262:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:262:59: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:269:8: warning: accessing fields in struct 'CLOTHESVERTEX_FTL' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FTLFormat.h:285:2: warning: function 'operator CLOTHESVERTEX' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:285:9: warning: 'operator CLOTHESVERTEX' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/data/FTLFormat.h:286:17: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FTLFormat.h:301:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/data/FTLFormat.h:301:61: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FastSceneFormat.h:56:8: warning: accessing fields in struct 'UNIQUE_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:57:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FastSceneFormat.h:61:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FastSceneFormat.h:64:8: warning: accessing fields in struct 'UNIQUE_HEADER2' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 256 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:65:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FastSceneFormat.h:68:8: warning: accessing fields in struct 'UNIQUE_HEADER3' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:70:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FastSceneFormat.h:73:8: warning: accessing fields in struct 'FAST_VERTEX' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:81:8: warning: accessing fields in struct 'FAST_EERIEPOLY' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:82:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FastSceneFormat.h:86:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FastSceneFormat.h:94:8: warning: accessing fields in struct 'FAST_SCENE_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:107:8: warning: accessing fields in struct 'FAST_TEXTURE_CONTAINER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:110:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FastSceneFormat.h:113:8: warning: accessing fields in struct 'FAST_ANCHOR_DATA' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:121:8: warning: accessing fields in struct 'FAST_SCENE_INFO' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:126:8: warning: accessing fields in struct 'ROOM_DIST_DATA_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:132:8: warning: accessing fields in struct 'SAVE_EERIEPOLY' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:138:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FastSceneFormat.h:139:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FastSceneFormat.h:140:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/FastSceneFormat.h:149:8: warning: accessing fields in struct 'EERIE_SAVE_PORTALS' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:157:8: warning: accessing fields in struct 'FAST_EP_DATA' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:164:2: warning: 'operator EP_DATA' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/graphics/data/FastSceneFormat.h:165:3: warning: uninitialized record type: 'b' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/FastSceneFormat.h:165:11: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FastSceneFormat.h:173:43: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/FastSceneFormat.h:183:8: warning: accessing fields in struct 'EERIE_SAVE_ROOM_DATA' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/data/FastSceneFormat.h:186:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/Mesh.cpp:53:1: warning: included header scoped_array.hpp is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:54:1: warning: included header unordered_map.hpp is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:62:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:96:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:97:12: warning: using decl 'vector' is unused [misc-unused-using-decls] +Arx/src/graphics/data/Mesh.cpp:99:44: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:101:13: warning: function 'EERIE_PORTAL_Release' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:103:7: warning: variable 'Xratio' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:104:7: warning: variable 'Yratio' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:107:12: warning: function 'RayIn3DPolyNoCull' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:107:30: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:109:13: warning: variable 'ProjectionMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:111:33: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:111:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:113:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/Mesh.cpp:113:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:113:31: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:117:4: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:118:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:121:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:122:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:126:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:129:24: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:129:33: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:129:36: warning: 3 adjacent parameters of 'DebugSphere' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:129:42: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:129:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:129:66: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:129:72: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/Mesh.cpp:133:17: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:143:10: warning: slicing object from type 'Color4' to 'Color3' discards 4 bytes of state [cppcoreguidelines-slicing] +Arx/src/graphics/data/Mesh.cpp:146:45: warning: 4 adjacent parameters of 'EERIE_CreateMatriceProj' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:149:2: warning: variable 'fAspect' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:150:2: warning: variable 'fFOV' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:150:15: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:151:2: warning: variable 'fFarPlane' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:152:2: warning: variable 'fNearPlane' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:153:2: warning: variable 'w' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:153:8: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:153:23: warning: no header providing "cosf" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:153:40: warning: no header providing "sinf" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:154:2: warning: variable 'h' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:154:8: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:155:2: warning: variable 'Q' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:155:8: warning: variable name 'Q' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:163:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:166:2: warning: uninitialized record type: 'mat' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/Mesh.cpp:190:42: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:193:37: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:195:20: warning: variable name 'et' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:198:2: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:203:2: warning: variable 'fZTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:211:13: warning: function 'IntersectLinePlane' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:211:46: warning: parameter name 'l1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:211:64: warning: parameter name 'l2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:211:86: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:213:2: warning: variable 'v' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:213:8: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:215:8: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:215:12: warning: no header providing "dot" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:218:3: warning: variable 'v1' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:218:9: warning: variable name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:229:63: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:233:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:239:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:246:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:248:20: warning: no header providing "componentwise_min" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:249:20: warning: no header providing "componentwise_max" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:253:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:253:6: warning: function 'MakeTopObjString' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:253:32: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:276:8: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:276:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:281:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/Mesh.cpp:283:30: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:283:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:284:34: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:284:69: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:302:6: warning: the 'empty' method should be used to check for emptiness instead of 'length' [readability-container-size-empty] +Arx/src/graphics/data/Mesh.cpp:302:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:308:13: warning: function 'CheckInPoly' has cognitive complexity of 30 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:308:31: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:308:40: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:308:49: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:310:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:310:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:310:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:310:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:310:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:310:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:311:2: warning: variable 'poss' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:313:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:314:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:319:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:320:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:322:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:322:8: warning: variable 'rx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:322:8: warning: variable name 'rx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:322:12: warning: variable 'rz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:322:12: warning: variable name 'rz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:323:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:323:29: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:324:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:324:29: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:326:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:326:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:327:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:328:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:331:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:331:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:331:8: warning: variable 'pzi' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:331:13: warning: variable 'pza' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:331:18: warning: variable 'pxi' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:331:23: warning: variable 'pxa' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:333:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:334:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:335:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:335:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:335:2: warning: variable 'sPz' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:335:26: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:339:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:340:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:344:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:350:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:358:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:359:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:360:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:360:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:360:2: warning: variable 'sPx' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:360:26: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:364:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:365:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:370:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:376:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:384:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:384:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:384:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:384:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:384:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:384:12: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:384:12: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:386:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:398:23: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:398:36: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:398:49: warning: no header providing "POLY_NOCOL" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:406:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:406:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:416:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:420:13: warning: function 'CheckInPolyPrecis' has cognitive complexity of 30 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:420:37: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:420:46: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:420:55: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:422:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:422:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:422:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:422:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:422:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:422:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:423:2: warning: variable 'poss' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:425:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:426:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:431:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:432:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:434:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:434:8: warning: variable 'rx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:434:8: warning: variable name 'rx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:434:12: warning: variable 'rz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:434:12: warning: variable name 'rz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:435:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:435:29: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:436:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:436:29: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:438:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:438:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:439:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:440:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:443:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:443:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:443:8: warning: variable 'pzi' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:443:13: warning: variable 'pza' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:443:18: warning: variable 'pxi' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:443:23: warning: variable 'pxa' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:445:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:446:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:447:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:447:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:447:2: warning: variable 'sPz' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:447:26: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:451:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:452:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:456:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:462:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:470:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:471:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:472:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:472:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:472:2: warning: variable 'sPx' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:472:26: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:476:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:477:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:481:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:487:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:495:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:495:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:495:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:495:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:495:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:495:12: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:495:12: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:497:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:517:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:517:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:527:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:536:24: warning: function 'getFastBackgroundData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:536:46: warning: 2 adjacent parameters of 'getFastBackgroundData' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:536:52: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:536:61: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:538:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:538:2: warning: variable 'px' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:538:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:538:12: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:540:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:543:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:543:2: warning: variable 'pz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:543:7: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:543:12: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:545:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:551:32: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:551:41: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:551:50: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:555:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:558:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:559:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:561:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:573:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:574:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:584:27: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:584:36: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:591:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:593:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:603:27: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:603:36: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:605:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:607:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:607:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:612:30: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:612:39: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:612:48: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:616:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:619:2: warning: variable 'pos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:621:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:623:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:625:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:627:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:629:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:631:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:634:10: warning: variable 'ret' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:647:30: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:647:39: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:647:48: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:651:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:654:2: warning: variable 'pos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:656:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:658:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:660:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:662:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:664:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:666:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:669:10: warning: variable 'ret' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:686:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:689:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:690:6: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:692:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:705:37: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:709:2: warning: variable 's31' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:711:8: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:713:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:723:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:724:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:732:20: warning: variable 'ACTIVEBKG' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:732:20: warning: variable 'ACTIVEBKG' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:732:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:737:16: warning: variable 'ACTIVECAM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:737:16: warning: variable 'ACTIVECAM' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:737:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:744:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:747:39: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:764:8: warning: variable 'fZTemp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:772:40: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:789:8: warning: variable 'fZTemp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:798:29: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:814:30: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:830:36: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:832:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:832:20: warning: variable name 'et' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:832:25: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:832:25: warning: redundant explicit casting to the same type 'EERIE_TRANSFORM *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/data/Mesh.cpp:835:2: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:842:21: warning: function 'clamp_and_invert' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:842:44: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:849:26: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:851:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:851:20: warning: variable name 'et' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:851:25: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:851:25: warning: redundant explicit casting to the same type 'EERIE_TRANSFORM *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/data/Mesh.cpp:853:2: warning: variable 'fZTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:861:19: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:863:2: warning: variable 'fZTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:871:29: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:873:8: warning: variable 'fZTemp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:882:30: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:896:8: warning: variable 'fZTemp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:904:13: warning: function 'camEE_RTP' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:904:40: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:942:30: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:949:13: warning: function 'EERIERTPPolyCam' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:949:41: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:955:17: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:955:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:958:14: warning: variable 'GLOBAL_LIGHT_FACTOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:962:7: warning: function 'GetColorz' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:962:23: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:962:32: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:962:41: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:966:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:966:8: warning: variable 'ffr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:966:13: warning: variable 'ffg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:966:18: warning: variable 'ffb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:967:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:967:8: warning: variable 'dd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:967:8: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:967:12: warning: variable 'dc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:967:12: warning: variable name 'dc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:968:8: warning: variable 'p' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:968:8: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:970:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:972:69: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:978:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:987:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:989:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:997:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1003:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1005:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1018:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1018:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1019:8: warning: variable 'needy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1022:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1027:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1027:8: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1027:8: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1028:9: warning: variable 'div' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1043:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1044:4: warning: variable 'col' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1045:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1046:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1047:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1053:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1053:9: warning: variable 'ratio' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1053:16: warning: variable 'ratio2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1054:11: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:1068:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1069:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1071:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1071:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1071:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1071:37: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1073:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1080:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:1087:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1087:6: warning: variable 'EERIEDrawnPolys' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:1090:31: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1090:41: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1090:50: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1092:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1092:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1092:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1092:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1092:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1092:12: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1098:114: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1102:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1103:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:1103:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1108:115: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1118:41: warning: no header providing "EERIE_FACE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1118:54: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1118:64: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1118:73: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1120:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1120:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1120:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1120:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1120:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1120:12: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1126:252: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1130:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1132:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:1132:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1136:63: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1136:73: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1136:82: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1138:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1138:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1138:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1138:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1138:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1138:12: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1144:258: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1148:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1149:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:1149:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1152:39: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1152:49: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1152:58: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1154:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1154:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1154:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1154:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1154:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1154:12: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1154:19: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1160:108: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1164:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1169:109: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1180:48: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1180:57: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1180:66: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1182:66: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1184:18: warning: no header providing "degrees" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1184:26: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1184:75: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1189:37: warning: parameter name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1190:110: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1192:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:1192:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1195:21: warning: variable 'raycam' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:1197:13: warning: function 'SP_PrepareCamera' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:1200:36: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1200:43: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:1201:36: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1201:43: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:1203:36: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1203:43: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:1204:36: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1204:43: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:1206:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1206:21: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:1207:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1207:21: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:1212:12: warning: function 'RayIn3DPolyNoCull' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:1212:30: warning: 2 adjacent parameters of 'RayIn3DPolyNoCull' of similar type ('Vec3f *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:1214:12: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1215:2: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1215:2: warning: undefined behavior, destination object type 'EERIEPOLY' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:1215:2: warning: undefined behavior, source object type 'EERIEPOLY' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:1221:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1226:5: warning: function 'EERIELaunchRay3' has cognitive complexity of 74 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:1226:35: warning: 2 adjacent parameters of 'EERIELaunchRay3' of similar type ('Vec3f *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:1226:80: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1228:8: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1229:8: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1230:8: warning: variable name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1231:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1232:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1232:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1232:7: warning: variable 'lpx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1232:12: warning: variable 'lpz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1233:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1233:7: warning: variable 'voidlast' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1234:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1234:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1234:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1234:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1234:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1234:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1235:2: warning: variable 'pas' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1237:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1238:2: warning: variable 'maxstepp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1300:6: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:1305:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1305:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1306:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1306:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1325:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1325:3: warning: variable 'jx1' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1326:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1326:3: warning: variable 'jx2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1327:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1327:3: warning: variable 'jz1' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1328:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1328:3: warning: variable 'jz2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1330:20: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1336:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1338:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1339:17: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1359:6: warning: function 'Visible' has cognitive complexity of 62 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:1361:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1361:10: warning: variable 'x' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1361:10: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1361:13: warning: variable 'y' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1361:13: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1361:16: warning: variable 'z' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1361:16: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1362:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1362:10: warning: variable 'dx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1362:10: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1362:14: warning: variable 'dy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1362:14: warning: variable name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1362:18: warning: variable 'dz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1362:18: warning: variable name 'dz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1363:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1363:10: warning: variable 'adx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1363:15: warning: variable 'ady' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1363:20: warning: variable 'adz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1364:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1364:10: warning: variable 'ix' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1364:10: warning: variable name 'ix' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1364:14: warning: variable 'iy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1364:14: warning: variable name 'iy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1364:18: warning: variable 'iz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1364:18: warning: variable name 'iz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1365:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1365:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1365:9: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1365:9: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1365:13: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1365:13: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1366:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1366:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1367:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1367:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1370:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1371:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1371:8: warning: variable 'iter' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1371:14: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1371:14: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1377:10: warning: variable 'distance' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1380:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1383:8: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:1385:8: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:1387:8: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:1438:8: warning: variable 'dd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1438:8: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1450:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1450:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1451:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1451:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1453:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1453:35: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/graphics/data/Mesh.cpp:1453:35: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/data/Mesh.cpp:1454:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1454:24: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/graphics/data/Mesh.cpp:1456:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1456:35: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/graphics/data/Mesh.cpp:1456:35: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/data/Mesh.cpp:1457:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1457:24: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/graphics/data/Mesh.cpp:1462:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1466:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1467:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1468:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1490:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1492:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1503:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1503:40: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1505:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1506:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1506:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1508:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1508:23: warning: performing an implicit widening conversion to type 'long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/data/Mesh.cpp:1521:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1521:47: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1523:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1524:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1524:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1525:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1527:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1527:23: warning: performing an implicit widening conversion to type 'long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/data/Mesh.cpp:1531:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1535:20: warning: no header providing "POLY_IGNORE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1535:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1544:39: warning: parameter name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1545:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1546:7: warning: multilevel pointer conversion from 'EERIEPOLY **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/graphics/data/Mesh.cpp:1546:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1551:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1551:33: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1551:37: warning: 2 adjacent parameters of 'ARX_PORTALS_SWAP_EPs' of similar type ('short') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:1551:37: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1551:43: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1551:47: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1551:61: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1553:7: warning: no header providing "portals" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1553:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1555:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1557:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1562:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1564:65: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1574:29: warning: parameter name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1574:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1576:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1576:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1577:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1579:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1579:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:1579:16: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1579:23: warning: 'ad->linked' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/graphics/data/Mesh.cpp:1579:23: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:1579:50: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1585:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1590:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1590:2: warning: variable 'roo' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1592:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1593:33: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1598:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1608:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1609:19: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1611:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1623:18: warning: variable 'RoomDistance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:1623:18: warning: variable 'RoomDistance' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:1623:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1624:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1624:13: warning: variable 'NbRoomDistance' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:1624:13: warning: variable 'NbRoomDistance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:1626:13: warning: function 'SetRoomDistance' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:1626:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1626:34: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1626:37: warning: 2 adjacent parameters of 'SetRoomDistance' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:1626:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1626:42: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1626:70: warning: parameter name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1626:88: warning: parameter name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1632:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1632:2: warning: variable 'offs' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1634:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1636:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1640:14: warning: function 'GetRoomDistance' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:1640:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1640:35: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1640:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1640:43: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1640:54: warning: parameter name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1640:66: warning: parameter name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1642:75: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1645:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1645:2: warning: variable 'offs' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1647:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1649:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1653:50: warning: 2 adjacent parameters of 'SP_GetRoomDist' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:1653:50: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1653:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1655:2: warning: variable 'dst' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1657:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1659:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1662:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1662:2: warning: variable 'Room' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1666:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1666:9: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1666:13: warning: variable name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1667:9: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1681:41: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1683:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1689:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1691:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1691:22: warning: performing an implicit widening conversion to type 'long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/data/Mesh.cpp:1694:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1696:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1700:32: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1700:36: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1700:42: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1700:46: warning: 2 adjacent parameters of 'InitBkg' of similar type ('short') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:1700:46: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1700:52: warning: parameter name 'sz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1700:56: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1700:68: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1702:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1702:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1704:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1704:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1712:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1717:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1719:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1723:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1724:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1727:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1727:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:1727:32: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:1737:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1740:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1740:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1748:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1748:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:1748:32: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:1762:9: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1768:20: warning: 2 adjacent parameters of 'DeclareEGInfo' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:1768:26: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1768:35: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1770:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1770:2: warning: variable 'posx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1770:14: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:1772:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1772:16: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/data/Mesh.cpp:1773:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:1773:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1775:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1775:2: warning: variable 'posz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1775:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1775:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1775:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1775:20: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/data/Mesh.cpp:1777:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1777:16: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/data/Mesh.cpp:1778:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:1778:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1780:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1780:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1785:44: warning: parameter name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1785:60: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1787:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1788:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1791:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1791:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:1791:29: warning: 'eg->polyin' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/graphics/data/Mesh.cpp:1791:29: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:1791:37: warning: multilevel pointer conversion from 'EERIEPOLY **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/graphics/data/Mesh.cpp:1797:33: warning: no header providing "EERIE_2D_BBOX" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1797:49: warning: parameter name 'bb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1803:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1804:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/graphics/data/Mesh.cpp:1809:6: warning: function 'EERIEPOLY_Compute_PolyIn' has cognitive complexity of 61 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:1811:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1811:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1812:19: warning: variable 'eg2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1813:14: warning: variable 'ep2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1815:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1815:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1815:7: warning: variable 'ii' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1815:7: warning: variable name 'ii' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1815:11: warning: variable 'ij' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1815:11: warning: variable name 'ij' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1816:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1816:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:1816:7: warning: variable 'ai' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1816:7: warning: variable name 'ai' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1816:11: warning: variable 'aj' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1816:11: warning: variable name 'aj' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1817:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1817:7: warning: variable 'nbvert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1819:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1819:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1820:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1824:9: warning: multilevel pointer conversion from 'EERIEPOLY **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/graphics/data/Mesh.cpp:1824:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:1827:20: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/data/Mesh.cpp:1828:20: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/data/Mesh.cpp:1829:39: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/data/Mesh.cpp:1830:39: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/data/Mesh.cpp:1832:18: warning: variable name 'bb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1833:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1833:26: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:1834:15: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1834:33: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:1835:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1835:26: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:1836:15: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:1836:33: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:1841:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1841:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1842:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1847:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1847:16: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1852:10: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1856:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1857:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1863:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1864:13: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1871:11: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:1873:16: warning: variable name 'pt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1883:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1884:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1887:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1888:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1890:29: warning: performing an implicit widening conversion to type 'long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/data/Mesh.cpp:1894:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1896:17: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1915:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1915:24: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1915:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1915:32: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1918:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1918:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1921:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1923:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1929:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1929:24: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1929:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1929:32: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1932:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:1932:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1935:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1937:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1947:9: warning: macro 'TYPE_PORTAL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.cpp:1948:9: warning: macro 'TYPE_ROOM' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.cpp:1949:39: warning: 2 adjacent parameters of 'GetNameInfo' of similar type ('long &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:1949:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1949:51: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1949:63: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1957:11: warning: 'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead [cert-err34-c] +Arx/src/graphics/data/Mesh.cpp:1966:11: warning: 'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead [cert-err34-c] +Arx/src/graphics/data/Mesh.cpp:1977:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/Mesh.cpp:1978:3: warning: no header providing "strcpy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1980:10: warning: 'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead [cert-err34-c] +Arx/src/graphics/data/Mesh.cpp:1981:10: warning: 'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead [cert-err34-c] +Arx/src/graphics/data/Mesh.cpp:1990:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:1992:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1995:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:1997:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1997:8: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2007:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2014:9: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2016:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2018:15: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:2023:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2028:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2028:36: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2028:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2028:44: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2028:89: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2036:13: warning: function 'EERIE_PORTAL_Release' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:2042:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2046:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2047:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2048:66: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2049:79: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2050:72: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2051:10: warning: multilevel pointer conversion from 'TextureContainer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/graphics/data/Mesh.cpp:2052:44: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2055:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2058:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2061:7: warning: function 'EERIE_TransformOldFocalToNewFocal' has cognitive complexity of 35 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:2067:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:2073:3: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:2079:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:2085:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:2091:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:2097:7: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:2103:8: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:2118:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2118:27: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2119:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2119:27: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2121:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2121:27: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2122:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2122:27: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2124:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2124:27: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2125:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2125:27: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2130:2: warning: variable 'cx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2130:8: warning: variable name 'cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2131:2: warning: variable 'sx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2131:8: warning: variable name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2132:2: warning: variable 'cy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2132:8: warning: variable name 'cy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2133:2: warning: variable 'sy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2133:8: warning: variable name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2134:2: warning: variable 'cz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2134:8: warning: variable name 'cz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2135:2: warning: variable 'sz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2135:8: warning: variable name 'sz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2136:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:2136:8: warning: variable 'const1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2136:16: warning: variable 'const2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2136:24: warning: variable 'const3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2136:32: warning: variable 'const4' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2163:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2163:21: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2164:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2164:21: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2166:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2166:21: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2167:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2167:21: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2188:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2188:2: warning: variable 'l' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2188:7: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2188:11: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:2189:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2189:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2192:32: warning: parameter name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2201:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/Mesh.cpp:2207:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/Mesh.cpp:2217:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2224:32: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2224:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2227:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:2236:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2238:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2238:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:2238:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2238:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2238:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2238:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2239:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2239:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2240:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2240:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2241:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2243:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2248:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2248:14: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2252:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2254:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2255:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2264:57: warning: 2 adjacent parameters of 'DrawEERIEObjEx' of similar type ('Vec3f *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:2266:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2270:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:2270:11: warning: variable 'Xcos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2270:17: warning: variable 'Ycos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2270:23: warning: variable 'Zcos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2270:29: warning: variable 'Xsin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2270:35: warning: variable 'Ysin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2270:41: warning: variable 'Zsin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2271:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2272:17: warning: variable name 'rv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2273:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/Mesh.cpp:2277:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2277:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2278:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2278:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2280:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2280:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2281:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2281:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2283:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2283:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2284:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2284:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2300:2: warning: no header providing "ColorBGRA" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:2300:2: warning: variable 'coll' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2315:60: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2324:36: warning: no header providing "POLY_DOUBLESIDED" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:2324:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2326:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2337:24: warning: 2 adjacent parameters of 'DrawEERIEObjExEx' of similar type ('Vec3f *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:2339:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2339:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2341:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:2341:11: warning: variable 'Xcos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2341:17: warning: variable 'Ycos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2341:23: warning: variable 'Zcos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2341:29: warning: variable 'Xsin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2341:35: warning: variable 'Ysin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2341:41: warning: variable 'Zsin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2342:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2343:17: warning: variable name 'rv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2344:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/Mesh.cpp:2348:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2348:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2349:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2349:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2351:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2351:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2352:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2352:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2354:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2354:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2355:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2355:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2386:60: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2395:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2397:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2405:7: warning: initialization of 'BBOXMIN' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/data/Mesh.cpp:2405:7: warning: variable 'BBOXMIN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:2405:16: warning: initialization of 'BBOXMAX' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/data/Mesh.cpp:2405:16: warning: variable 'BBOXMAX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:2410:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2415:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2418:40: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2424:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2435:2: warning: redundant return statement at the end of a function with a void return type [readability-redundant-control-flow] +Arx/src/graphics/data/Mesh.cpp:2438:45: warning: 2 adjacent parameters of 'IsVertexIdxInGroup' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:2438:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2438:55: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2441:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2441:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2443:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/Mesh.cpp:2445:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2445:3: warning: variable 'ii' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2445:8: warning: variable name 'ii' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2447:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2454:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2456:14: warning: variable 'PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:2464:2: warning: variable 'toread' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2468:9: warning: throwing an exception whose type 'file_truncated_exception' is not derived from 'std::exception' [hicpp-exception-baseclass] +Arx/src/graphics/data/Mesh.cpp:2479:13: warning: function 'loadFastScene' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:2483:7: warning: class 'scoped_malloc' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/data/Mesh.cpp:2494:2: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/data/Mesh.cpp:2500:2: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2502:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:2502:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2502:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2503:9: warning: no header providing "boost::scoped_array" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:2509:10: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2521:9: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:2521:25: warning: variable name 'uh' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2537:3: warning: variable 'input_size' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2550:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:2550:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2571:13: warning: function 'loadFastScene' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:2571:13: warning: function 'loadFastScene' has cognitive complexity of 91 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:2575:8: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:2592:33: warning: variable 'ftc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2594:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2595:3: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2596:22: warning: variable 'tmpTC' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2608:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2609:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2611:10: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:2615:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2615:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2616:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2616:18: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2619:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2619:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2619:33: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2621:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2630:27: warning: variable 'eps' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2632:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2634:28: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2637:5: warning: undefined behavior, destination object type 'EERIEPOLY' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:2646:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:2646: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:2649:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2666:5: warning: undefined behavior, destination object type 'TexturedVertex[4]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:2666:5: warning: undefined behavior, source object type 'TexturedVertex[4]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:2668:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/Mesh.cpp:2672:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2672:10: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2672:10: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2673:11: warning: variable 'div' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2683:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2683:14: warning: loop variable name 'h' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2695:13: warning: loop variable name 'h' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2696:6: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2696:12: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2697:6: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2697:12: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2698:6: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2698:12: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2699:6: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2699:12: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2699:16: warning: call to 'sqrt' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:2699:16: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:2699:16: warning: no header providing "sqrt" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:2714:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2716:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2716:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2716:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2716:28: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2716:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2730:3: warning: variable 'anchorsize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2731:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2731:24: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2731:39: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2732:3: warning: undefined behavior, destination object type 'ANCHOR_DATA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:2734:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2736:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2738:9: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:2748:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2750:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2750:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2750:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2750:28: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2750:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2760:3: warning: no header providing "USE_PORTALS" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:2765:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2765:13: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2765:34: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2767:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2767:19: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2767:38: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2770:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2770:22: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2770:39: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2775:30: warning: variable 'epos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2777:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2782:4: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/data/Mesh.cpp:2782:4: warning: undefined behavior, destination object type 'EERIE_PORTALS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:2806:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2808:33: warning: variable 'erd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2813:4: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/data/Mesh.cpp:2813:4: warning: undefined behavior, destination object type 'EERIE_ROOM_DATA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:2821:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2821:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2821:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2821:28: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2821:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2825:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2829:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2829:19: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2829:30: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2830:26: warning: variable 'ed' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2830:26: warning: variable name 'ed' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2834:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2844:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2848:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2848:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2848:36: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2852:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2852:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2853:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2853:13: warning: loop variable name 'm' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2854:33: warning: variable 'rdds' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:2856:5: warning: variable 'start' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2857:5: warning: variable 'end' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2889:46: warning: parameter name 'po' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2889:62: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2891:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2893:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2895:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2897:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2901:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2905:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2909:3: warning: variable 'temp' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2918:6: warning: function 'ComputeRoomDistance' has cognitive complexity of 89 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:2920:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2923:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2929:3: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2929:3: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2929:21: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2931:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2931:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2931:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2932:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2932:13: warning: loop variable name 'm' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2932:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:2933:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2933:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2935:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2935:2: warning: variable 'nb_anchors' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:2936:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:2936:16: warning: variable name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:2936:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2936:21: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2936:36: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2938:2: warning: undefined behavior, destination object type 'ANCHOR_DATA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:2940:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:2941:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2941:8: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:2941:17: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:2942:9: warning: multilevel pointer conversion from 'void **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/graphics/data/Mesh.cpp:2945:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2948:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2951:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2956:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/Mesh.cpp:2958:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2964:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2972:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:2980:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2985:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:2987:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3000:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3003:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3004:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3010:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3010:12: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3011:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3011:12: warning: variable name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3013:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3015:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3015:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3018:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3018:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3032:2: warning: variable 'pathfinder' of type 'PathFinder' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3032:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3034:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3035:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3039:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3039:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3043:23: warning: variable name 'rl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3045:4: warning: variable 'found' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3049:11: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3056:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/data/Mesh.cpp:3056:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3058:5: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3058:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3058:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3060:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3069:79: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3069:85: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3070:79: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3070:85: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3083:7: warning: multilevel pointer conversion from 'void **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/graphics/data/Mesh.cpp:3086:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3086:6: warning: variable 'NEED_ANCHORS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.cpp:3088:13: warning: function 'EERIE_PORTAL_Room_Poly_Add' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:3088:52: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3088:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3088:61: warning: parameter name 'nr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3088:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3088:70: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3088:74: warning: 2 adjacent parameters of 'EERIE_PORTAL_Room_Poly_Add' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/Mesh.cpp:3088:74: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3088:79: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3088:83: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3090:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3090:29: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:3090:40: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:3091:80: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3092:79: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3093:79: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3094:32: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3098:13: warning: function 'EERIE_PORTAL_Poly_Add' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:3098:47: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3098:76: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3098:81: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3098:85: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3098:90: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3098:94: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3100:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3100:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:3100:7: warning: variable 'type' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3100:13: warning: variable 'val1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3100:19: warning: variable 'val2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3102:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3104:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3106:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3106:13: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:3106:34: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:3108:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3111:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3113:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3119:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3119:22: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:3119:39: warning: 'portals->portals' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/graphics/data/Mesh.cpp:3119:39: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:3122:3: warning: undefined behavior, destination object type 'EERIEPOLY' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3122:3: warning: undefined behavior, source object type 'EERIEPOLY' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3124:25: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3126:3: warning: variable 'nbvert' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3129:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3133:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3136:4: warning: variable 'fDist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3150:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3150:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:3150:39: warning: 'portals->room' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/graphics/data/Mesh.cpp:3150:39: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:3154:5: warning: undefined behavior, destination object type 'EERIE_ROOM_DATA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3156:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3156:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3158:6: warning: undefined behavior, destination object type 'EERIE_ROOM_DATA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3168:12: warning: function 'BkgAddPoly' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:3168:12: warning: function 'BkgAddPoly' has cognitive complexity of 27 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:3168:35: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3170:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3170:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:3170:7: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3170:7: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3170:10: warning: variable 'posx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3170:16: warning: variable 'posz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3170:22: warning: variable 'posy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3171:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:3171:8: warning: variable 'cx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3171:8: warning: variable name 'cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3171:12: warning: variable 'cy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3171:12: warning: variable name 'cy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3171:16: warning: variable 'cz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3171:16: warning: variable name 'cz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3172:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3172:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3173:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3173:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:3173:7: warning: variable 'type' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3173:13: warning: variable 'val1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3177:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3182:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3182:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3182:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3182:15: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/data/Mesh.cpp:3183:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3183:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3183:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3183:15: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/data/Mesh.cpp:3184:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3184:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3184:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3184:15: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/data/Mesh.cpp:3184:61: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3186:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3186:16: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/data/Mesh.cpp:3187:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:3187:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3189:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3189:16: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/data/Mesh.cpp:3190:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:3190:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3192:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3192:16: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/data/Mesh.cpp:3193:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/data/Mesh.cpp:3193:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3205:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3205:2: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3205:7: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3206:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3206:2: warning: variable 'tt' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3206:7: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3208:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3210:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3210:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:3210:31: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:3214:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3214:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:3214:31: warning: 'eg->polydata' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/graphics/data/Mesh.cpp:3214:31: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:3217:2: warning: undefined behavior, destination object type 'EERIEPOLY' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3217:2: warning: undefined behavior, source object type 'EERIEPOLY' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3251:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3252:34: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3253:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3260:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3260:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3261:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3261:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3264:74: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3264:83: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/data/Mesh.cpp:3264:95: warning: no header providing "POLY_STONE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3265:80: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3266:78: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3266:95: warning: no header providing "POLY_WOOD" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3267:78: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3268:80: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3268:95: warning: no header providing "POLY_GRAVEL" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3269:79: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3269:95: warning: no header providing "POLY_EARTH" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3276:13: warning: function 'EERIEAddPolyToBackground' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:3276:95: warning: the parameter 'render' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/Mesh.cpp:3278:12: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3280:2: warning: undefined behavior, destination object type 'TexturedVertex[4]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3282:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3283:3: warning: undefined behavior, destination object type 'TexturedVertex[4]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3283:3: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3285:3: warning: undefined behavior, destination object type 'TexturedVertex[4]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3294:13: warning: function 'SceneAddObjToBackground' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:3294:13: warning: function 'SceneAddObjToBackground' has cognitive complexity of 27 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:3296:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:3296:14: warning: variable 'Xcos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3296:20: warning: variable 'Ycos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3296:26: warning: variable 'Zcos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3296:32: warning: variable 'Xsin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3296:38: warning: variable 'Ysin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3296:44: warning: variable 'Zsin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3297:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:3297:13: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3297:16: warning: variable name 'rp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3299:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/Mesh.cpp:3301:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3301:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:3302:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3302:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:3304:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3304:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:3305:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3305:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:3307:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3307:16: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:3308:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3308:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:3320:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3320:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:3320:7: warning: variable 'type' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3320:13: warning: variable 'val1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3320:19: warning: variable 'val2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3326:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3331:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3333:6: warning: undefined behavior, destination object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3333:6: warning: undefined behavior, source object type 'TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3338:6: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/graphics/data/Mesh.cpp:3338:6: warning: undefined behavior, destination object type 'EERIEPOLY' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3338:6: warning: undefined behavior, source object type 'EERIEPOLY' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/Mesh.cpp:3339:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3345:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3363:36: warning: no header providing "POLY_NO_SHADOW" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3372:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:3375:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3384:13: warning: function 'FastSceneSave' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:3384:13: warning: function 'FastSceneSave' has cognitive complexity of 93 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:3386:2: warning: variable 'path' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3400:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3404:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3413:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3417:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3418:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3429:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3429:18: warning: variable name 'uh' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3431:2: warning: no header providing "strncpy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3434:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3438:3: warning: variable 'path' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3444:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3448:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/Mesh.cpp:3462:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3463:2: warning: variable 'file' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3464:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3464:2: warning: variable 'compressedstart' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3464:25: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3466:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3475:20: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3480:21: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3481:19: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3490:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3491:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3492:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3494:17: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3501:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3518:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3519:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3520:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3531:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3534:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3534:22: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3551:16: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3553:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3562:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3563:19: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3563:19: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:3569:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3574:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3576:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3584:16: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3590:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3597:11: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3603:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3605:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3610:18: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3611:18: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3615:21: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3630:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3632:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3636:20: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3637:22: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3639:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3642:12: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3646:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3646:15: warning: variable name 'ed' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3658:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3658:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3659:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3659:13: warning: loop variable name 'm' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3660:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/Mesh.cpp:3672:25: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3685:9: warning: variable 'compressedSize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:3693:24: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:3700:56: warning: parameter name 'ms' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3702:2: warning: variable 'ftemp' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3712:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3713:4: warning: no header providing "EERIE_3DSCENE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3714:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3750:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3752:75: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3753:68: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3754:8: warning: multilevel pointer conversion from 'TextureContainer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/graphics/data/Mesh.cpp:3754:84: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.cpp:3760:8: warning: accessing fields in struct 'SINFO_TEXTURE_VERTEX' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.cpp:3762:6: warning: use default member initializer for 'opaque' [modernize-use-default-member-init] +Arx/src/graphics/data/Mesh.cpp:3763:6: warning: use default member initializer for 'multiplicative' [modernize-use-default-member-init] +Arx/src/graphics/data/Mesh.cpp:3764:6: warning: use default member initializer for 'additive' [modernize-use-default-member-init] +Arx/src/graphics/data/Mesh.cpp:3765:6: warning: use default member initializer for 'blended' [modernize-use-default-member-init] +Arx/src/graphics/data/Mesh.cpp:3766:6: warning: use default member initializer for 'subtractive' [modernize-use-default-member-init] +Arx/src/graphics/data/Mesh.cpp:3774:6: warning: function 'ComputePortalVertexBuffer' has cognitive complexity of 60 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/Mesh.cpp:3789:17: warning: no header providing "boost::unordered_map" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3805:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:3807:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:3807:4: warning: variable 'x' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3807:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3807:32: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3808:4: warning: variable 'cell' of type 'EERIE_BKG_INFO &' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3816:19: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3827:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3827:26: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:3827:40: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:3833:4: warning: variable 'nvertices' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3834:4: warning: variable 'nindices' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3875:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3875:22: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:3875:23: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3875:40: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:3875:54: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3886:3: warning: no header providing "SMY_VERTEX" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:3891:3: warning: variable 'ntextures' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3898:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:3898:30: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Mesh.cpp:3898:51: warning: 'room->ppTextureContainer' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/graphics/data/Mesh.cpp:3898:51: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Mesh.cpp:3899:4: warning: multilevel pointer conversion from 'TextureContainer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/graphics/data/Mesh.cpp:3900:4: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/graphics/data/Mesh.cpp:3903:30: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3909:4: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3913:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/Mesh.cpp:3913:5: warning: variable 'x' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3913:9: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3913:33: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3914:5: warning: variable 'cell' of type 'EERIE_BKG_INFO &' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:3965:17: warning: variable name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.cpp:3997:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:3997:30: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:57:35: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/data/Mesh.h:61:8: warning: accessing fields in struct 'ANIM_HANDLE' is inefficient due to padding; only needs 50 bytes but is using 56 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:61:8: warning: accessing fields in struct 'ANIM_HANDLE' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:68:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:70:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:74:8: warning: accessing fields in struct 'EERIE_TRANSFORM' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:74:8: warning: constructor does not initialize these fields: ycos, ysin, xsin, xcos, use_focal [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/Mesh.h:84:8: warning: accessing fields in struct 'EERIE_CAMERA' is inefficient due to padding; only needs 357 bytes but is using 368 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:84:8: warning: accessing fields in struct 'EERIE_CAMERA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:84:8: warning: constructor does not initialize these fields: Ycos, Ysin, Xcos, Xsin, Zcos, Zsin, focal, use_focal, Zmul, matrix, lastinfovalid, clipz0, clipz1, smoothing, Xsnap, Zsnap, Zdiv, clip3D, type, nbdrawn, cdepth [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/Mesh.h:116:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:117:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:120:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:121:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:123:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:130:8: warning: accessing fields in struct 'EERIE_BKG_INFO' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:134:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:135:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:136:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:141:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:142:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:147:8: warning: accessing fields in struct 'EERIE_SMINMAX' is inefficient due to poor alignment; currently aligned to 2 bytes, but recommended alignment is 4 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:149:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:150:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:153:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:153:9: warning: macro 'FBD_TREAT' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:153:9: warning: macro 'FBD_TREAT' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:154:9: warning: macro 'FBD_NOTHING' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:154:9: warning: macro 'FBD_NOTHING' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:156:8: warning: accessing fields in struct 'FAST_BKG_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:160:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:161:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:162:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:163:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:168:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:170:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:170:9: warning: macro 'MAX_BKGX' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:170:9: warning: macro 'MAX_BKGX' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:171:9: warning: macro 'MAX_BKGZ' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:171:9: warning: macro 'MAX_BKGZ' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:172:9: warning: macro 'BKG_SIZX' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:172:9: warning: macro 'BKG_SIZX' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:173:9: warning: macro 'BKG_SIZZ' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:173:9: warning: macro 'BKG_SIZZ' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:177:8: warning: accessing fields in struct 'EERIE_BACKGROUND' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:177:8: warning: constructor does not initialize these fields: exist, Xsize, Zsize, Xdiv, Zdiv, Xmul, Zmul, Backg, minmax, nbanchors, anchors [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/Mesh.h:179:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/Mesh.h:180:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:181:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:182:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:183:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:184:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:191:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:193:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/Mesh.h:198:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:198:9: warning: macro 'MAX_TRANSPOL' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:198:9: warning: macro 'MAX_TRANSPOL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:200:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:200:9: warning: macro 'CAM_SUBJVIEW' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:200:9: warning: macro 'CAM_SUBJVIEW' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:201:9: warning: macro 'CAM_TOPVIEW' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:201:9: warning: macro 'CAM_TOPVIEW' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:203:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:203:13: warning: variable 'EERIEDrawnPolys' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:204:14: warning: variable 'BBOXMIN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:204:22: warning: variable 'BBOXMAX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:205:27: warning: variable 'ACTIVEBKG' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:205:27: warning: variable 'ACTIVEBKG' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:206:23: warning: variable 'ACTIVECAM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:206:23: warning: variable 'ACTIVECAM' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:208:14: warning: variable 'Xratio' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:209:14: warning: variable 'Yratio' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:211:27: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:211:35: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:215:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:216:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:218:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:220:24: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:220:33: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:220:42: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:220:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:222:32: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:222:40: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:222:48: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:223:34: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:223:42: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:223:50: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:224:31: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:224:39: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:224:47: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:224:65: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.h:225:61: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.h:226:33: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:226:41: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:226:49: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:227:37: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:227:45: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:227:53: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:227:71: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Mesh.h:243:37: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:244:27: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:244:36: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:245:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:245:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:246:30: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:246:39: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:246:48: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:247:30: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:247:39: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:247:48: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:249:23: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:249:32: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:249:41: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:250:39: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:250:49: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:250:58: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:252:75: warning: parameter name 'tp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:252:79: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:253:5: warning: function 'EERIELaunchRay3' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/data/Mesh.h:253:75: warning: parameter name 'tp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:253:79: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:255:30: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:256:29: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:258:32: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:259:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:261:33: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:261:62: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:261:71: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:262:33: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:262:62: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:262:71: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:263:33: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:263:62: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:263:71: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:264:29: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:266:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:268:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:284:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:284:40: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:285:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:285:45: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:286:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:286:47: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:289:56: warning: parameter name 'ms' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:292:41: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:293:32: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:293:36: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:293:42: warning: parameter name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:293:46: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:293:52: warning: parameter name 'sz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:293:56: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:293:68: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:295:90: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:302:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:302:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:302:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:302:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:304:6: warning: function 'PrecalcDynamicLighting' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/data/Mesh.h:304:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:304:34: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:304:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:304:42: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:304:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:304:50: warning: parameter name 'z0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:304:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:304:58: warning: parameter name 'z1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:305:31: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:306:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:313:47: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:313:55: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:313:64: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:321:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:322:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:326:28: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:327:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:327:32: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:328:26: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:328:35: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:329:31: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:331:37: warning: parameter name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:337:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:337:30: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:339:22: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:341:33: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:341:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:343:47: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:343:50: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:343:55: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:343:59: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:343:64: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:343:68: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:343:73: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:343:77: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:343:82: warning: parameter name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:344:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:344:36: warning: parameter name 'ah' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:344:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:345:26: warning: parameter name 'au' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:348:32: warning: parameter name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:349:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:349:24: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:349:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:349:32: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:349:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:349:40: warning: parameter name 'z0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:349:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:349:48: warning: parameter name 'z1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:351:53: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:351:63: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:351:72: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:352:55: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:352:65: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:352:74: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:355:23: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:355:31: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:355:39: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:361:35: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:363:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:363:33: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:363:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:363:40: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:363:54: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:365:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:365:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:365:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:365:36: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:368:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:373:45: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:374:46: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:375:61: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:380:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:380:24: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:380:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:380:31: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:381:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:381:24: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:381:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:381:31: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:383:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:383:9: warning: macro 'MAX_FRUSTRUMS' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:383:9: warning: macro 'MAX_FRUSTRUMS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:385:8: warning: accessing fields in struct 'EERIE_FRUSTRUM_PLANE' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:393:8: warning: accessing fields in struct 'EERIE_FRUSTRUM' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:395:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/Mesh.h:396:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:399:8: warning: accessing fields in struct 'EERIE_FRUSTRUM_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:401:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:402:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/Mesh.h:405:8: warning: accessing fields in struct 'PORTAL_ROOM_DRAW' is inefficient due to padding; only needs 2332 bytes but is using 2336 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:405:8: warning: accessing fields in struct 'PORTAL_ROOM_DRAW' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:405:8: warning: constructor does not initialize these fields: count, flags, frustrum [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/Mesh.h:407:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:408:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:414:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:414:9: warning: macro 'NPC_ITEMS_AMBIENT_VALUE_255' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/data/Mesh.h:414:9: warning: macro 'NPC_ITEMS_AMBIENT_VALUE_255' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/data/Mesh.h:416:8: warning: accessing fields in struct 'ROOM_DIST_DATA' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:423:25: warning: variable 'RoomDistance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:423:25: warning: variable 'RoomDistance' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/Mesh.h:425:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:426:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:426:61: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:427:62: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:427:72: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:427:81: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Mesh.h:430:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:430:55: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:430:66: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:432:8: warning: accessing fields in struct 'TILE_LIGHTS' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/data/Mesh.h:434:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Mesh.h:435:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:49:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/graphics/data/MeshManipulation.cpp:79:58: warning: no header providing "res::path" is directly included [misc-include-cleaner] +Arx/src/graphics/data/MeshManipulation.cpp:79:65: warning: parameter name 's1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:79:87: warning: parameter name 's2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:83:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:93:2: warning: variable 'skinname' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:96:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:98:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:98:27: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/MeshManipulation.cpp:98:35: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/MeshManipulation.cpp:103:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:109:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:109:49: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:123:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:125:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:132:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:132:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:132:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:132:61: warning: parameter name 'tw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:134:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:134:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:136:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:138:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:142:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:143:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:149:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:149:13: warning: function 'GetEquivalentVertex' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:155:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:156:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:162:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:162:13: warning: function 'ObjectAddVertex' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:168:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:169:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:173: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:176:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:176:13: warning: function 'GetActionPoint' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:178:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:180:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:180:14: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:190:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:190:13: warning: function 'ObjectAddFace' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:203:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:208:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:208:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/MeshManipulation.cpp:208:7: warning: variable 'f0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/MeshManipulation.cpp:208:7: warning: variable name 'f0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:208:11: warning: variable 'f1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/MeshManipulation.cpp:208:11: warning: variable name 'f1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:208:15: warning: variable 'f2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/MeshManipulation.cpp:208:15: warning: variable name 'f2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:213:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:218:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:218:33: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:219:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:219:33: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:220:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:220:33: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:225:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:227:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:227:34: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:232: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:235:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:235:13: warning: function 'ObjectAddAction' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:235:69: warning: 2 adjacent parameters of 'ObjectAddAction' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/data/MeshManipulation.cpp:235:69: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:236:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:238:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:238:2: warning: variable 'newvert' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:240:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:242:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:242:7: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:243:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:243:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/graphics/data/MeshManipulation.cpp:251:18: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/graphics/data/MeshManipulation.cpp:260: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:263:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:263:57: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:265:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:265:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:269:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:270:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:275: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:278:13: warning: function 'AddVertexToGroup' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:278:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:286:36: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:291:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:291:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:293:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:302:13: warning: function 'ObjectAddSelection' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:302:51: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:302:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:304:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:306:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:312:22: warning: function 'CreateIntermediaryMesh' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:312:22: warning: function 'CreateIntermediaryMesh' has cognitive complexity of 145 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/data/MeshManipulation.cpp:312:97: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:312:102: warning: parameter name 'tw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:314:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:315:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:316:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:317:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:318:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:319:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:320:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:321:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:322:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:323:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:328:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:330:17: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:332:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:338:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:340:17: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:342:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:346:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:346:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:348:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:348:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:350:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:350:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:352:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:352:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:354:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:354:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:356:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:356:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:382:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:382:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:386:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:386:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/MeshManipulation.cpp:386:8: warning: variable 'idx_head1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/MeshManipulation.cpp:386:19: warning: variable 'idx_head2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/MeshManipulation.cpp:387:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:387:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/data/MeshManipulation.cpp:387:8: warning: variable 'idx_torso1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/MeshManipulation.cpp:387:20: warning: variable 'idx_torso2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/MeshManipulation.cpp:391:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:391:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:395:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:395:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:399:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:399:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:403:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:403:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:411:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/data/MeshManipulation.cpp:425:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:425:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/MeshManipulation.cpp:425:34: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/MeshManipulation.cpp:426:3: warning: undefined behavior, destination object type 'EERIE_LINKED' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/MeshManipulation.cpp:426:3: warning: undefined behavior, source object type 'EERIE_LINKED' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/MeshManipulation.cpp:431:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:431:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/MeshManipulation.cpp:431:34: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/MeshManipulation.cpp:432:3: warning: undefined behavior, destination object type 'EERIE_LINKED' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/MeshManipulation.cpp:432:3: warning: undefined behavior, source object type 'EERIE_LINKED' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/data/MeshManipulation.cpp:437:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:476:28: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:477:35: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:486:27: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:496:21: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:496:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:509:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:527:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:542:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:545:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:545:3: warning: variable 'v' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:545:8: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:552:75: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:565:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:565:3: warning: variable 'v' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:565:8: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:571:66: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:585:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:585:14: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:588:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:588:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:588:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:596:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:596:7: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:596:19: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:600:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:600:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:600:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:611:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:611:15: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:615:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:615:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:615:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:623:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:623:7: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:623:19: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:627:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:627:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:627:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:638:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:638:15: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:642:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:642:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:642:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:650:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:650:7: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:650:19: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:654:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:654:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:654:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:663:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:667:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:667:4: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:667:15: 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:671:16: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:675:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:675:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:675:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:683:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:683:4: warning: variable 'ii' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:683:9: warning: variable name 'ii' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:685:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:686:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:686:17: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:690:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:690:6: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:690:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:700:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/data/MeshManipulation.cpp:704:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:704:4: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:704:15: 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:708:16: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:712:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:712:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:712:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:723:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:731:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.cpp:744:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:744:49: warning: parameter name 'tw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.cpp:744:49: warning: the parameter 'tw' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/MeshManipulation.cpp:746:2: warning: variable 'ftl_file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:748:69: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:750:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:752:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:752:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:754:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:754:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:762:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:768:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:769:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:770:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:775:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:779:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:779:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:779:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:781:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:783:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:789:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:789:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:794:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:794:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:799:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:799:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/MeshManipulation.cpp:812:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:813:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:815:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/MeshManipulation.cpp:815:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.cpp:816:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/MeshManipulation.h:54: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/MeshManipulation.h:64:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.h:64:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.h:64:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/MeshManipulation.h:64:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/MeshManipulation.h:66:8: warning: accessing fields in struct 'TWEAK_INFO' is inefficient due to padding; only needs 68 bytes but is using 72 bytes [altera-struct-pack-align] +Arx/src/graphics/data/MeshManipulation.h:66:8: warning: accessing fields in struct 'TWEAK_INFO' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/data/MeshManipulation.h:74:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.h:74:49: warning: parameter name 'tw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.h:75:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.h:75:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.h:75:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.h:75:61: warning: parameter name 'tw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/MeshManipulation.h:76:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.h:76:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.h:77:6: warning: function 'EERIE_MESH_TWEAK_Skin' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/data/MeshManipulation.h:78:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/MeshManipulation.h:78:57: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Progressive.cpp:49:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/graphics/data/Progressive.cpp:61:46: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:61:51: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Progressive.cpp:61:54: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:61:59: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Progressive.cpp:63:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Progressive.cpp:66:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Progressive.cpp:68:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Progressive.cpp:68:27: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Progressive.cpp:68:28: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:68:36: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Progressive.cpp:68:50: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:69:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Progressive.cpp:69:31: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:75:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:75:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Progressive.cpp:76:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Progressive.cpp:78:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Progressive.cpp:78:26: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Progressive.cpp:78:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:78:35: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Progressive.cpp:78:73: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:79:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Progressive.cpp:79:53: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:86:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:86:49: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Progressive.cpp:86:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:86:57: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/Progressive.cpp:88:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Progressive.cpp:90:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Progressive.cpp:90:26: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Progressive.cpp:90:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:90:35: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Progressive.cpp:90:49: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:91:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Progressive.cpp:91:30: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:97:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:97:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Progressive.cpp:98:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Progressive.cpp:100:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Progressive.cpp:100:25: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Progressive.cpp:100:26: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:100:34: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Progressive.cpp:100:71: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:101:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Progressive.cpp:101:51: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/data/Progressive.cpp:120:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Progressive.cpp:122:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/Progressive.cpp:122:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/data/Progressive.cpp:122:35: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/data/Progressive.cpp:124:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Progressive.cpp:128:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Progressive.cpp:129:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Progressive.cpp:139:31: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Progressive.cpp:140:31: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Progressive.cpp:141:31: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Progressive.cpp:142:29: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Progressive.cpp:142:32: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/Progressive.cpp:155:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Progressive.cpp:156:56: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Progressive.cpp:159:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/Progressive.cpp:163:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +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:71:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.cpp:71:6: warning: variable 'GLOBAL_EERIETEXTUREFLAG_LOADSCENE_RELEASE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/TextureContainer.cpp:78:51: warning: initialization of 'UI' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/data/TextureContainer.cpp:78:51: warning: variable name 'UI' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/TextureContainer.cpp:80:27: warning: variable 'g_ptcTextureList' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/TextureContainer.cpp:80:27: warning: variable 'g_ptcTextureList' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/TextureContainer.cpp:80:27: warning: variable 'g_ptcTextureList' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/TextureContainer.cpp:80:46: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:111:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:112:79: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:113:73: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:114:81: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:115:85: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:116:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:123:71: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/TextureContainer.cpp:128:2: warning: 'm_dwWidth' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/data/TextureContainer.cpp:129:2: warning: 'm_dwHeight' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/data/TextureContainer.cpp:130:2: warning: 'm_dwFlags' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/data/TextureContainer.cpp:132:2: warning: 'm_pTexture' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/data/TextureContainer.cpp:132:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:134:2: warning: 'userflags' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/data/TextureContainer.cpp:135:2: warning: 'TextureRefinement' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/data/TextureContainer.cpp:135:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:136:2: warning: 'TextureHalo' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/data/TextureContainer.cpp:136:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:144:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:148:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:152:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:156:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:160:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:164:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:168:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:170:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:181:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:200:66: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:211:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:217:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:235:2: warning: variable 'storedSize' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/TextureContainer.cpp:236:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/TextureContainer.cpp:236:32: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.cpp:236:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/TextureContainer.cpp:236:66: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.cpp:237:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.cpp:237:39: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.cpp:242:24: warning: method 'hasColorKey' can be made const [readability-make-member-function-const] +Arx/src/graphics/data/TextureContainer.cpp:243:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:246:45: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/TextureContainer.cpp:248:75: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/TextureContainer.cpp:260:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:272:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:284:80: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/TextureContainer.cpp:308:8: warning: variable name 'im' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/TextureContainer.cpp:310:2: warning: variable 'width' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/TextureContainer.cpp:310:14: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.cpp:311:2: warning: variable 'height' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/TextureContainer.cpp:311:15: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.cpp:335:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:340:2: warning: variable 'storedSize' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/TextureContainer.cpp:342:3: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/TextureContainer.cpp:342:35: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.cpp:343:3: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/data/TextureContainer.cpp:343:36: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.cpp:345:32: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.cpp:345:52: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.cpp:363:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:366:42: warning: the parameter 'flag' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/TextureContainer.cpp:369:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:375:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/TextureContainer.cpp:385:13: warning: function 'ConvertData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/TextureContainer.cpp:390:2: warning: variable 'posStart' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/TextureContainer.cpp:394:3: warning: variable 'posEnd' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/TextureContainer.cpp:405:13: warning: function 'LoadRefinementMap' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/TextureContainer.cpp:414:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.cpp:456:53: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/TextureContainer.cpp:458:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.cpp:462:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/TextureContainer.cpp:463:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/data/TextureContainer.cpp:469:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/graphics/data/TextureContainer.cpp:469:32: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/TextureContainer.h:76:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:76:13: warning: variable 'GLOBAL_EERIETEXTUREFLAG_LOADSCENE_RELEASE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/data/TextureContainer.h:87: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:87:7: warning: class 'TextureContainer' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/data/TextureContainer.h:91: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:100:23: warning: variable name 'UI' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/TextureContainer.h:113:76: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.h:116:78: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.h:137: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/data/TextureContainer.h:137:69: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/data/TextureContainer.h:148:18: warning: member variable 'm_texName' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:150:6: warning: member variable 'm_dwWidth' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:151:6: warning: member variable 'm_dwHeight' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:152:8: warning: method 'size' can be made const [readability-make-member-function-const] +Arx/src/graphics/data/TextureContainer.h:152:24: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/graphics/data/TextureContainer.h:152:30: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.h:152:41: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/TextureContainer.h:154:10: warning: member variable 'm_dwFlags' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:155:6: warning: member variable 'userflags' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:157:14: warning: member variable 'm_pTexture' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:163:8: warning: member variable 'uv' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:166:8: warning: member variable 'hd' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:168:21: warning: member variable 'TextureRefinement' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:169:21: warning: member variable 'm_pNext' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:170:10: warning: member variable 'systemflags' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:173:17: warning: member variable 'delayed' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:174:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:174:7: warning: member variable 'delayed_nb' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:175:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:175:7: warning: member variable 'delayed_max' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:177:27: warning: member variable 'vPolyZMap' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:178:29: warning: member variable 'vPolyInterZMap' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:180:15: warning: member variable 'tMatRoom' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:182:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:182:16: warning: member variable 'ulMaxVertexListCull' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:183:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:183:16: warning: member variable 'ulNbVertexListCull' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:184:19: warning: member variable 'pVertexListCull' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:186:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:186:16: warning: member variable 'ulMaxVertexListCull_TNormalTrans' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:187:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:187:16: warning: member variable 'ulNbVertexListCull_TNormalTrans' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:188:19: warning: member variable 'pVertexListCull_TNormalTrans' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:190:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:190:16: warning: member variable 'ulMaxVertexListCull_TAdditive' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:191:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:191:16: warning: member variable 'ulNbVertexListCull_TAdditive' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:192:19: warning: member variable 'pVertexListCull_TAdditive' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:194:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:194:16: warning: member variable 'ulMaxVertexListCull_TSubstractive' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:195:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:195:16: warning: member variable 'ulNbVertexListCull_TSubstractive' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:196:19: warning: member variable 'pVertexListCull_TSubstractive' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:198:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:198:16: warning: member variable 'ulMaxVertexListCull_TMultiplicative' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:199:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/data/TextureContainer.h:199:16: warning: member variable 'ulNbVertexListCull_TMultiplicative' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:200:19: warning: member variable 'pVertexListCull_TMultiplicative' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/data/TextureContainer.h:208:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/data/TextureContainer.h:214:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/TextureContainer.h:214:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/data/TextureContainer.h:214:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/data/TextureContainer.h:214:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/effects/CinematicEffects.cpp:58:8: warning: no header providing "EERIE_CAMERA" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/CinematicEffects.cpp:58:21: warning: variable 'Camera' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:60:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/effects/CinematicEffects.cpp:60:10: warning: macro 'NBOLDPOS' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/effects/CinematicEffects.cpp:60:10: warning: macro 'NBOLDPOS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/effects/CinematicEffects.cpp:62:8: warning: variable 'SpecialFadeDx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:63:8: warning: variable 'FlashAlpha' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:64:7: warning: variable 'TotOldPos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:65:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/CinematicEffects.cpp:65:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/CinematicEffects.cpp:65:14: warning: initialization of 'OldPos' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/effects/CinematicEffects.cpp:65:14: warning: variable 'OldPos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/CinematicEffects.cpp:65:14: warning: variable 'OldPos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:66:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/CinematicEffects.cpp:66:14: warning: variable 'OldAz' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/CinematicEffects.cpp:66:14: warning: variable 'OldAz' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:69:15: warning: 2 adjacent parameters of 'FX_FadeIN' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/effects/CinematicEffects.cpp:69:21: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:71:7: warning: variable 'c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:71:7: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:72:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/CinematicEffects.cpp:72:8: warning: variable 'r' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:72:8: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:72:11: warning: variable 'g' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:72:11: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:72:14: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:72:14: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:73:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/CinematicEffects.cpp:73:8: warning: variable 'rd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:73:8: warning: variable name 'rd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:73:12: warning: variable 'gd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:73:12: warning: variable name 'gd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:73:16: warning: variable 'bd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:73:16: warning: variable name 'bd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:75:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:76:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:77:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:79:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:80:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:81:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:87:6: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/effects/CinematicEffects.cpp:87:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:87:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:87:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:92:16: warning: 2 adjacent parameters of 'FX_FadeOUT' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/effects/CinematicEffects.cpp:92:22: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:94:6: warning: variable 'c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:94:6: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:95:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/CinematicEffects.cpp:95:8: warning: variable 'r' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:95:8: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:95:11: warning: variable 'g' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:95:11: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:95:14: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:95:14: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:96:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/CinematicEffects.cpp:96:8: warning: variable 'rd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:96:8: warning: variable name 'rd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:96:12: warning: variable 'gd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:96:12: warning: variable name 'gd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:96:16: warning: variable 'bd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:96:16: warning: variable name 'bd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:100:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:101:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:102:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:104:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:105:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:106:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:112:6: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/effects/CinematicEffects.cpp:112:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:112:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:112:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:117:14: warning: variable 'LastTime' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/CinematicEffects.cpp:117:14: warning: variable 'LastTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:119:26: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:119:47: warning: parameter name 'tb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:121:8: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:121:8: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:122:10: warning: variable 'pos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:123:10: warning: variable 'az' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:123:10: warning: variable name 'az' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:124:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/CinematicEffects.cpp:124:9: warning: variable 'alpha' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:124:16: warning: variable 'dalpha' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:125:8: warning: variable 'col' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:127:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/effects/CinematicEffects.cpp:127:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/CinematicEffects.cpp:133:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/CinematicEffects.cpp:134:29: 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/graphics/effects/CinematicEffects.cpp:154:3: warning: no header providing "SetTargetCamera" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/CinematicEffects.cpp:157:3: warning: no header providing "PrepareCamera" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/CinematicEffects.cpp:159:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:161:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/effects/CinematicEffects.cpp:172:26: warning: parameter name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:172:29: warning: 3 adjacent parameters of 'FX_FlashBlanc' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/effects/CinematicEffects.cpp:172:35: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:174:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/CinematicEffects.cpp:174:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:175:8: warning: variable 'col' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:182:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/CinematicEffects.cpp:184:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/CinematicEffects.cpp:188:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:212:43: warning: 3 adjacent parameters of 'SpecialFade' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/effects/CinematicEffects.cpp:212:49: warning: parameter name 'ws' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:212:59: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:214:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/CinematicEffects.cpp:214:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:215:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/CinematicEffects.cpp:215:9: warning: variable 'w' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:215:9: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:215:12: warning: variable 'dv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:215:12: warning: variable name 'dv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:217:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:219:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/CinematicEffects.cpp:221:7: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:221:7: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:221:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/CinematicEffects.cpp:296:44: warning: 3 adjacent parameters of 'SpecialFadeR' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/effects/CinematicEffects.cpp:296:50: warning: parameter name 'ws' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:296:60: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:298:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/CinematicEffects.cpp:298:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:299:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/CinematicEffects.cpp:299:9: warning: variable 'w' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:299:9: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:299:12: warning: variable 'dv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:299:12: warning: variable name 'dv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:301:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:303:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/CinematicEffects.cpp:305:7: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:305:7: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:305:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/CinematicEffects.cpp:392:7: warning: variable 'DreamAng' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:392:17: warning: variable 'DreamAng2' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:393:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/CinematicEffects.cpp:393:7: warning: variable 'DreamTable' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:395:40: warning: parameter name 'bi' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:395:44: warning: 2 adjacent parameters of 'FX_DreamPrecalc' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/effects/CinematicEffects.cpp:397:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/CinematicEffects.cpp:397:7: warning: variable 'nx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:397:7: warning: variable name 'nx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:397:11: warning: variable 'ny' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:397:11: warning: variable name 'ny' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:398:10: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:398:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:399:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/CinematicEffects.cpp:399:8: warning: variable 's1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:399:8: warning: variable name 's1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:399:12: warning: variable 's2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:399:12: warning: variable name 's2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:399:16: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:399:16: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:399:19: warning: variable 'a2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:399:19: warning: variable name 'a2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:399:23: warning: variable 'ox' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:399:23: warning: variable name 'ox' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:399:27: warning: variable 'oy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:399:27: warning: variable name 'oy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.cpp:400:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/CinematicEffects.cpp:400:8: warning: variable 'nnx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:400:13: warning: variable 'nny' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/CinematicEffects.cpp:406:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/CinematicEffects.cpp:406:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:406:23: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/CinematicEffects.cpp:407:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/CinematicEffects.cpp:407:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:410:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:411:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:413:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:413:27: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:413:27: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/CinematicEffects.cpp:413:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:413:50: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:414:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:414:29: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:414:54: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:414:61: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:414:85: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:414:92: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:415:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:415:37: warning: call to 'hypot' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:415:37: warning: no header providing "hypot" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/CinematicEffects.cpp:416:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:416:23: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:416:23: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/CinematicEffects.cpp:416:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:416:46: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:417:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:417:29: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:417:54: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:417:61: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:417:89: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:417:96: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:418:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:418:29: warning: call to 'hypot' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:431:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/CinematicEffects.cpp:431:19: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:432:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/CinematicEffects.cpp:432:19: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:436:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:437:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:439:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:439:38: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:439:54: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:440:40: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:440:65: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:440:89: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:441:48: warning: call to 'hypot' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:442:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/CinematicEffects.cpp:442:34: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:442:50: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:443:40: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:443:65: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:443:93: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.cpp:444:40: warning: call to 'hypot' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/CinematicEffects.h:52:21: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.h:53:22: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.h:54:26: warning: parameter name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.h:54:35: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.h:55:26: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.h:55:47: warning: parameter name 'tb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.h:56:49: warning: parameter name 'ws' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.h:56:59: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.h:57:50: warning: parameter name 'ws' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.h:57:60: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/CinematicEffects.h:58:40: warning: parameter name 'bi' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:52:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:69:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:69:13: warning: redundant 'DANAESIZX' declaration [readability-redundant-declaration] +Arx/src/graphics/effects/DrawEffects.cpp:69:13: warning: variable 'DANAESIZX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:70:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:70:14: warning: redundant 'SPRmins' declaration [readability-redundant-declaration] +Arx/src/graphics/effects/DrawEffects.cpp:70:14: warning: variable 'SPRmins' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:71:14: warning: redundant 'SPRmaxs' declaration [readability-redundant-declaration] +Arx/src/graphics/effects/DrawEffects.cpp:71:14: warning: variable 'SPRmaxs' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:72:22: warning: variable 'eyeballobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:72:22: warning: variable 'eyeballobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:73:27: warning: variable 'Boom' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:73:27: warning: variable 'Boom' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:75:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/DrawEffects.cpp:75:10: warning: initialization of 'polyboom' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/effects/DrawEffects.cpp:75:10: warning: variable 'polyboom' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:77:8: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:77:14: warning: variable 'ulBKGColor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:86:6: warning: function 'ARXDRAW_DrawInterShadows' has cognitive complexity of 95 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/effects/DrawEffects.cpp:88:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:91:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:93:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:95:47: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:95:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/effects/DrawEffects.cpp:95:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:97:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:105:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:105:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/DrawEffects.cpp:105:9: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/DrawEffects.cpp:105:9: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:105:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/DrawEffects.cpp:105:12: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:106:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:107:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:111:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/effects/DrawEffects.cpp:111:25: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:111:25: warning: redundant explicit casting to the same type 'FAST_BKG_DATA *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/effects/DrawEffects.cpp:113:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:116:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:117:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:120:17: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/DrawEffects.cpp:120:17: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:121:20: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:123:5: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/DrawEffects.cpp:129:5: warning: variable 's1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:129:11: warning: variable name 's1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:130:5: warning: variable 's2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:130:11: warning: variable name 's2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:134:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:138:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/effects/DrawEffects.cpp:141:14: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:141:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:145:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:151:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:151:8: warning: variable 'lv' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:151:13: warning: variable name 'lv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:151:18: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:180:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:182:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:182:7: warning: variable 'origin' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:185:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/effects/DrawEffects.cpp:188:14: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:188:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:192:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:194:8: warning: variable 's1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:194:14: warning: variable name 's1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:195:8: warning: variable 's2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:195:14: warning: variable name 's2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:200:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:200:8: warning: variable 'lv' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:200:13: warning: variable name 'lv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:200:18: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:239:6: warning: function 'EERIEDrawLight' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/effects/DrawEffects.cpp:239:35: warning: parameter name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:243:17: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:247:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/effects/DrawEffects.cpp:247:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:253:57: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:261:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:269:7: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:269:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:283:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:283:33: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:283:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:283:41: warning: parameter name 'z0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:283:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:283:49: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:283:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:283:57: warning: parameter name 'z1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:284:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/effects/DrawEffects.cpp:285:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/effects/DrawEffects.cpp:288:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:288:4: warning: variable 'tx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:288:9: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:288:14: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:289:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:289:4: warning: variable 'tz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:289:9: warning: variable name 'tz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:289:14: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:297:5: warning: if with identical then and else branches [bugprone-branch-clone] +Arx/src/graphics/effects/DrawEffects.cpp:301:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:306:17: warning: variable 'CAMERACONTROLLER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:306:17: warning: variable 'CAMERACONTROLLER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:307:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:307:13: warning: variable 'ARX_CONVERSATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:311:2: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:315:8: warning: variable 'd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/DrawEffects.cpp:315:8: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:319:5: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:324:5: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:326:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:329:10: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:349:18: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:354:14: warning: redundant 'FrameDiff' declaration [readability-redundant-declaration] +Arx/src/graphics/effects/DrawEffects.cpp:354:14: warning: variable 'FrameDiff' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:355:6: warning: function 'ARXDRAW_DrawPolyBoom' has cognitive complexity of 90 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/effects/DrawEffects.cpp:357:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/DrawEffects.cpp:359:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:359:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/DrawEffects.cpp:359:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/DrawEffects.cpp:359:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:359:9: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/DrawEffects.cpp:359:9: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:360:8: warning: variable 'tt' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/DrawEffects.cpp:360:8: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:364:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:364:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/effects/DrawEffects.cpp:364:2: warning: variable 'tim' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:364:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:364:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:373:9: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:375:6: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:375:20: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:376:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:379:9: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:381:6: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:381:21: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:382:52: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:387:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:387:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:387:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:387:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:387:76: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:397:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:400:5: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/graphics/effects/DrawEffects.cpp:400:5: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/effects/DrawEffects.cpp:403:11: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:403:11: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/effects/DrawEffects.cpp:403:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:438:7: warning: variable 'div' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:438:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:439:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:439:10: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/effects/DrawEffects.cpp:440:13: warning: variable name 'tr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:442:7: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/effects/DrawEffects.cpp:442:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:444:7: warning: no header providing "ColorBGRA" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:444:7: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:505:7: warning: variable 'div' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:505:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:506:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:506:10: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/effects/DrawEffects.cpp:507:13: warning: variable name 'tr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:509:7: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/effects/DrawEffects.cpp:509:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:511:7: warning: variable 'ttt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:512:7: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/DrawEffects.cpp:524:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:530:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:536:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:542:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:545:8: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/graphics/effects/DrawEffects.cpp:578:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:578:13: warning: variable 'TRANSPOLYSPOS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:579:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/DrawEffects.cpp:579:20: warning: variable 'TransPol' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:581:27: warning: variable 'enviro' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:581:27: warning: variable 'enviro' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.cpp:583:6: warning: function 'ARXDRAW_DrawAllTransPolysPos' has cognitive complexity of 49 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/effects/DrawEffects.cpp:589:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:589:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/effects/DrawEffects.cpp:589:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/DrawEffects.cpp:589:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:589:10: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:591:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/effects/DrawEffects.cpp:591:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.cpp:598:20: warning: no header providing "POLY_DOUBLESIDED" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:598:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:599:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:601:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:603:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:606:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:607:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:628:100: warning: narrowing conversion from 'float' to 'u8' (aka 'unsigned char') [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:628:100: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/DrawEffects.cpp:639:20: warning: no header providing "POLY_LAVA" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:643:6: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/DrawEffects.cpp:646:5: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:648:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:653:57: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:654:57: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:661:56: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:662:56: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:668:57: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:669:57: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:679:19: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:684:5: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/DrawEffects.cpp:690:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.cpp:695:56: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:696:56: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:698:22: warning: no header providing "POLY_FALL" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/DrawEffects.cpp:698:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:698:51: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:698:51: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/effects/DrawEffects.cpp:705:66: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:706:66: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:708:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:708:51: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:708:51: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/effects/DrawEffects.cpp:715:66: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:716:66: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/DrawEffects.cpp:718:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/DrawEffects.cpp:718:51: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/effects/DrawEffects.cpp:718:51: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/effects/DrawEffects.h:53:27: warning: variable 'lightsource_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.h:53:27: warning: variable 'lightsource_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/DrawEffects.h:58:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.h:58:33: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.h:58:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.h:58:42: warning: parameter name 'z0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.h:58:46: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.h:58:51: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/DrawEffects.h:58:55: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/DrawEffects.h:58:60: warning: parameter name 'z1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/Fog.cpp:61:15: warning: variable 'fogobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/Fog.cpp:61:15: warning: variable 'fogobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/Fog.cpp:61:24: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:61:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/effects/Fog.cpp:63:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/Fog.cpp:63:9: warning: initialization of 'fogs' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/effects/Fog.cpp:63:9: warning: variable 'fogs' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/effects/Fog.cpp:82:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/effects/Fog.cpp:82:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:84:3: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:84:3: warning: undefined behavior, destination object type 'FOG_DEF' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/effects/Fog.cpp:88:33: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:89:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/effects/Fog.cpp:89:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:98:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/effects/Fog.cpp:98:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:105:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:107:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/Fog.cpp:108:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/Fog.cpp:112:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:116:3: warning: undefined behavior, destination object type 'FOG_DEF' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/effects/Fog.cpp:122:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:132:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:134:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:136:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/Fog.cpp:143:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:145:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:147:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/effects/Fog.cpp:147:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:149:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/Fog.cpp:160:2: warning: variable 'iDiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fog.cpp:162:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/effects/Fog.cpp:162:2: warning: variable 'flDiv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fog.cpp:166:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:166:20: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:166:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:173:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/Fog.cpp:178:3: warning: variable 'speed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fog.cpp:179:3: warning: variable 'fval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fog.cpp:199:2: warning: variable 'iDiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fog.cpp:201:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/effects/Fog.cpp:201:2: warning: variable 'flDiv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fog.cpp:203:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/effects/Fog.cpp:203:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:209:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:209:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:216:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/Fog.cpp:231:49: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/effects/Fog.cpp:238:24: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/effects/Fog.cpp:238:25: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:244:2: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:246:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:248:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/effects/Fog.cpp:248:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.cpp:252:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/Fog.cpp:253:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/effects/Fog.cpp:255:22: warning: no header providing "BBOXMIN" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:256:22: warning: no header providing "BBOXMAX" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fog.h:57:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.h:58:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.h:60:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/Fog.h:61:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.cpp:52:1: warning: constructor does not initialize these fields: fBetaRad, fBetaRadCos, fBetaRadSin, fOneOnDuration, ulDuration, ulCurrentTime [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/effects/SpellEffects.cpp:65:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.cpp:69:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/effects/SpellEffects.cpp:71:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:77:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.cpp:82:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.cpp:91:13: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:92:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:92:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/SpellEffects.cpp:92:24: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:93:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:93:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/SpellEffects.cpp:93:24: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:97:28: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.cpp:101:20: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:101:26: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:101:26: warning: the parameter 's' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/effects/SpellEffects.cpp:101:35: warning: parameter name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:101:35: warning: the parameter 'e' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/effects/SpellEffects.cpp:101:38: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:101:44: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/effects/SpellEffects.cpp:101:51: warning: 2 adjacent parameters of 'Draw3DLineTex' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/effects/SpellEffects.cpp:103:2: warning: variable 'fBeta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:103:16: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:104:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/effects/SpellEffects.cpp:104:2: warning: variable 'xxs' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:104:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:104:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/SpellEffects.cpp:105:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/effects/SpellEffects.cpp:105:2: warning: variable 'xxe' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:105:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:105:33: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/SpellEffects.cpp:109:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/SpellEffects.cpp:109:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:110:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/SpellEffects.cpp:110:17: warning: variable name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:143:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:143:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/SpellEffects.cpp:144:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:144:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/SpellEffects.cpp:170:27: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:170:27: warning: the parameter 's' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/effects/SpellEffects.cpp:170:36: warning: parameter name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:170:36: warning: the parameter 'e' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/effects/SpellEffects.cpp:170:58: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/effects/SpellEffects.cpp:170:71: warning: the parameter 'color2' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/effects/SpellEffects.cpp:172:2: warning: variable 'fBeta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:173:8: warning: variable name 'zz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:174:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/effects/SpellEffects.cpp:174:2: warning: variable 'xx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:174:8: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:174:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:174:29: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/SpellEffects.cpp:176:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/SpellEffects.cpp:176:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:177:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/effects/SpellEffects.cpp:177:17: warning: variable name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:211:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:211:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/effects/SpellEffects.cpp:237:29: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:237:36: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:237:43: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:237:52: warning: parameter name 'fX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:237:75: warning: parameter name 'fY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:237:98: warning: parameter name 'fZ' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:241:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:241:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:241:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:241:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/SpellEffects.cpp:255:29: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:255:36: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:255:43: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:255:52: warning: parameter name 'yo' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:259:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:259:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.cpp:259:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/SpellEffects.cpp:259:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/effects/SpellEffects.h:58:30: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:60:7: warning: class 'CSpellFx' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/effects/SpellEffects.h:63:9: warning: member variable 'fBeta' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:63:9: warning: use default member initializer for 'fBeta' [modernize-use-default-member-init] +Arx/src/graphics/effects/SpellEffects.h:64:9: warning: member variable 'fBetaRad' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:65:9: warning: member variable 'fBetaRadCos' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:66:9: warning: member variable 'fBetaRadSin' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:68:9: warning: member variable 'fManaCostToLaunch' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:68:9: warning: use default member initializer for 'fManaCostToLaunch' [modernize-use-default-member-init] +Arx/src/graphics/effects/SpellEffects.h:69:9: warning: member variable 'fManaCostPerSecond' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:69:9: warning: use default member initializer for 'fManaCostPerSecond' [modernize-use-default-member-init] +Arx/src/graphics/effects/SpellEffects.h:71:9: warning: member variable 'fOneOnDuration' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:75:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.h:75:17: warning: member variable 'ulDuration' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:76:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.h:76:17: warning: member variable 'ulCurrentTime' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:77:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.h:77:8: warning: member variable 'lLightId' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:77:8: warning: use default member initializer for 'lLightId' [modernize-use-default-member-init] +Arx/src/graphics/effects/SpellEffects.h:78:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.h:78:8: warning: member variable 'lSrc' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:78:8: warning: use default member initializer for 'lSrc' [modernize-use-default-member-init] +Arx/src/graphics/effects/SpellEffects.h:80:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/effects/SpellEffects.h:82:11: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/effects/SpellEffects.h:85:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/effects/SpellEffects.h:86:28: warning: parameter 'ulaDuration' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/graphics/effects/SpellEffects.h:86:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.h:87:11: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.h:88:11: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.h:92:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/effects/SpellEffects.h:93:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.h:93:10: warning: member variable 'spellinstance' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/effects/SpellEffects.h:93:10: warning: use default member initializer for 'spellinstance' [modernize-use-default-member-init] +Arx/src/graphics/effects/SpellEffects.h:94:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/effects/SpellEffects.h:94:36: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/effects/SpellEffects.h:95:10: warning: function 'CSpellFx::Update' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/effects/SpellEffects.h:102:9: warning: function-like macro 'frand2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/effects/SpellEffects.h:104:27: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:104:36: warning: parameter name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:105:25: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/effects/SpellEffects.h:107:29: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:107:36: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:107:43: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:107:52: warning: parameter name 'fX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:107:75: warning: parameter name 'fY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:107:98: warning: parameter name 'fZ' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:108:29: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:108:36: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:108:43: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/effects/SpellEffects.h:108:52: warning: parameter name 'yo' is too short, expected at least 3 characters [readability-identifier-length] +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:26:1: warning: included header ft2build.h is not used directly [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:27:10: warning: no header providing "FT_FREETYPE_H" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:47:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/Font.cpp:83:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:102:53: warning: no header providing "std::hex" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:113:2: warning: no header providing "FT_Error" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:113:11: warning: variable 'error' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/font/Font.cpp:114:2: warning: no header providing "FT_UInt" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:114:2: warning: variable 'glyphIndex' of type 'FT_UInt' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:135:17: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:136:17: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:137:20: warning: narrowing conversion from 'FT_Fixed' (aka 'long') to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:138:20: warning: narrowing conversion from 'FT_Fixed' (aka 'long') to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:139:20: warning: narrowing conversion from 'FT_Pos' (aka 'long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:140:20: warning: narrowing conversion from 'FT_Pos' (aka 'long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:142:24: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:159:3: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:159:20: 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/graphics/font/Font.cpp:172:29: warning: narrowing conversion from 'unsigned int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:182:7: warning: variable name 'ok' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.cpp:187:21: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.cpp:189:26: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:189:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/Font.cpp:207:7: warning: variable 'chr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/font/Font.cpp:221:57: warning: parameter name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.cpp:223:2: warning: variable 'chr' of type 'Char' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:228:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/graphics/font/Font.cpp:255:21: warning: 2 adjacent parameters of 'process' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/font/Font.cpp:255:25: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.cpp:255:32: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.cpp:255:75: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:268:3: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:268:3: warning: variable 'viewport' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:269:32: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:269:47: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:270:32: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:270:49: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:282:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:283:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:290:11: warning: narrowing conversion from 'FT_Pos' (aka 'long') to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:294:2: warning: no header providing "FT_Pos" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:299:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/graphics/font/Font.cpp:299: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:308:5: warning: no header providing "FT_Vector" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:310:13: warning: narrowing conversion from 'FT_Pos' (aka 'long') to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:327:5: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:327:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/font/Font.cpp:327:40: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:327:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/font/Font.cpp:328:5: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:328:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:332:4: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:339:10: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:339:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:339:39: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:363:2: warning: variable 'sizeX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:364:2: warning: variable 'sizeY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:364:14: warning: narrowing conversion from 'FT_Pos' (aka 'long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/font/Font.cpp:366:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/graphics/font/Font.cpp:369:21: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.cpp:369:28: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.cpp:369:77: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/font/Font.cpp:378:9: warning: narrowing conversion from 'FT_Pos' (aka 'long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +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/Font.h:33:7: warning: class 'Font' 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/Font.h:39:9: warning: accessing fields in struct 'Info' is inefficient due to padding; only needs 36 bytes but is using 40 bytes [altera-struct-pack-align] +Arx/src/graphics/font/Font.h:39:9: warning: accessing fields in struct 'Info' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/font/Font.h:58:9: warning: accessing fields in struct 'Glyph' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/font/Font.h:58:9: warning: constructor does not initialize these fields: index, lsb_delta, rsb_delta, texture [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/font/Font.h:95:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/font/Font.h:97:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/font/Font.h:99:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/font/Font.h:101:2: warning: function 'getInfo' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/font/Font.h:102:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/font/Font.h:103:2: warning: function 'getSize' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/font/Font.h:105:33: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.h:109:16: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.h:109:23: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.h:109:57: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/font/Font.h:113:16: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.h:113:23: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.h:121:2: warning: function 'getLineHeight' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/font/Font.h:152:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/font/Font.h:155:20: warning: parameter name 'pX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.h:155:28: warning: parameter name 'pY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.h:158:15: warning: use default member initializer for 'referenceCount' [modernize-use-default-member-init] +Arx/src/graphics/font/Font.h:162:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/font/Font.h:169:46: warning: parameter name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/Font.h:171:24: warning: use default member initializer for 'textures' [modernize-use-default-member-init] +Arx/src/graphics/font/FontCache.cpp:24:1: warning: included header ft2build.h is not used directly [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:25:10: warning: no header providing "FT_FREETYPE_H" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:27:1: warning: included header FilePath.h is not used directly [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:32:19: warning: variable 'g_FTLibrary' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/font/FontCache.cpp:32:19: warning: variable 'g_FTLibrary' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/font/FontCache.cpp:32:33: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:32:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/FontCache.cpp:33:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/FontCache.cpp:43:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/FontCache.cpp:50:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/font/FontCache.cpp:50:2: warning: no header providing "FT_Int" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:50:9: warning: variable 'ftMajor' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/font/FontCache.cpp:50:18: warning: variable 'ftMinor' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/font/FontCache.cpp:50:27: warning: variable 'ftPatch' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/font/FontCache.cpp:61:2: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:63:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/FontCache.cpp:66:1: warning: no header providing "Font" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:66:38: warning: no header providing "res::path" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:70:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/FontCache.cpp:71:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/graphics/font/FontCache.cpp:71: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:71:20: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/font/FontCache.cpp:90:19: warning: method 'create' can be made static [readability-convert-member-functions-to-static] +Arx/src/graphics/font/FontCache.cpp:96:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/FontCache.cpp:102:10: warning: variable 'face' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/font/FontCache.cpp:103:8: warning: no header providing "FT_Byte" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:103:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/font/FontCache.cpp:104:2: warning: no header providing "FT_Error" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:104:57: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'FT_Long' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/font/FontCache.cpp:108:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/FontCache.cpp:109:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/font/FontCache.cpp:112:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/FontCache.cpp:117:36: warning: performing an implicit widening conversion to type 'FT_F26Dot6' (aka 'long') of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/font/FontCache.cpp:119:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/FontCache.cpp:141:4: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.h:31: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:31: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:33:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/font/FontCache.h:35:9: warning: accessing fields in struct 'FontFile' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/font/FontCache.h:37:10: warning: use default member initializer for 'size' [modernize-use-default-member-init] +Arx/src/graphics/font/FontCache.h:40:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/font/FontCache.h:63:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/image/Image.cpp:34:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:40:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:56:1: warning: constructor does not initialize these fields: mWidth, mHeight, mDepth, mNumMipmaps, mFormat, mDataSize [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/image/Image.cpp:56:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.cpp:60:1: warning: constructor does not initialize these fields: mWidth, mHeight, mDepth, mNumMipmaps, mFormat, mDataSize [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/image/Image.cpp:60:44: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.cpp:69:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.cpp:78:1: warning: operator=() should return 'Image&' [misc-unconventional-assign-operator] +Arx/src/graphics/image/Image.cpp:85:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.cpp:112:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/image/Image.cpp:117:63: warning: 4 adjacent parameters of 'GetSizeWithMipmaps' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/image/Image.cpp:146:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/graphics/image/Image.cpp:149:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/graphics/image/Image.cpp:151:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/graphics/image/Image.cpp:154:3: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/graphics/image/Image.cpp:156:25: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:173:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:175:2: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:186:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/Image.cpp:186:6: warning: variable 'width' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:186:13: warning: variable 'height' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:186:21: warning: variable 'bpp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:186:26: warning: variable 'fmt' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:189:2: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:189:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:189:40: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/Image.cpp:189:69: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:190:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:193:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:193:52: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/Image.cpp:193:81: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:204:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:220:2: warning: variable 'dataSize' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:220:86: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:224:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.cpp:241:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.cpp:244:20: warning: 2 adjacent parameters of 'Create' of similar type ('unsigned int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/image/Image.cpp:244:86: warning: 2 adjacent parameters of 'Create' of similar type ('unsigned int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/image/Image.cpp:258:2: warning: variable 'dataSize' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:258:86: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:260:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.cpp:273:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:276:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:279:2: warning: variable 'numComponents' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:280:2: warning: variable 'size' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:289:9: warning: no header providing "std::swap" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:293:3: warning: no header providing "arx_error_msg" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:319:24: warning: narrowing conversion from 'unsigned int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:319:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:321:20: warning: loop variable name 'y' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:324:27: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:327:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:331:25: warning: narrowing conversion from 'unsigned int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:331:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:333:21: warning: loop variable name 'x' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:336:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/image/Image.cpp:336:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:362:61: warning: 2 adjacent parameters of 'Copy' of similar type ('unsigned int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/image/Image.cpp:367:2: warning: variable 'bpp' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:385:25: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:386:31: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:390:12: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:390:30: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:390:47: warning: performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:393:3: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:394:3: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:424:2: warning: variable 'numComponents' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:425:2: warning: variable 'size' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:431:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:446:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:449:25: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:454:4: warning: variable 'reciprocal' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:460:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:465:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:471:38: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:477:2: warning: variable 'numComponents' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:478:2: warning: variable 'size' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:492:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:505:25: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:511:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:511:57: warning: no header providing "powf" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:511:62: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:520:28: warning: 2 adjacent parameters of 'ApplyThreshold' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/image/Image.cpp:525:2: warning: variable 'numComponents' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:526:2: warning: variable 'size' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:542:20: warning: function 'sample' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/Image.cpp:542:33: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:542:47: warning: parameter name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:542:54: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:542:61: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:542:68: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:542:81: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:542:87: warning: the parameter 'key' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/image/Image.cpp:544:14: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:544:18: warning: result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:573:25: warning: performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:586:2: warning: variable 'dataSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:586:81: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:592:13: warning: loop variable name 'y' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:593:14: warning: loop variable name 'x' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:606:26: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:606:34: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:606:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:606:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:607:26: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:607:34: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:607:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:607:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:608:26: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:608:34: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:608:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:608:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:609:26: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:609:34: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:609:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:609:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:610:26: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:610:34: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:610:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:610:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:611:26: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:611:34: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:611:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:611:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:612:26: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:612:34: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:612:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:612:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:613:26: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:613:34: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:613:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:613:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:632:2: warning: variable 'srcNumChannels' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:632:23: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:633:2: warning: variable 'dstNumChannels' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:633:23: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:639:2: warning: variable 'newSize' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:639:80: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:640:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/image/Image.cpp:646:3: warning: variable 'grayVal' of type 'unsigned char' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:647:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:668:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/Image.cpp:668:18: warning: variable 'row0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:668:26: warning: variable 'row1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:668:34: warning: variable 'row2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:669:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/Image.cpp:669:15: warning: variable 'x' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:669:15: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:669:17: warning: variable 'y' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:669:17: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:669:19: warning: variable 'w' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:669:19: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:669:21: warning: variable 'h' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:669:21: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:669:23: warning: variable 'mipmap' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:670:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/Image.cpp:670:15: warning: variable 'sx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:670:15: warning: variable name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:670:19: warning: variable 'sy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:670:19: warning: variable name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:670:23: warning: variable 'len' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:670:28: warning: variable 'predx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:670:35: warning: variable 'succx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:673:67: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:675:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/image/Image.cpp:685:10: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:715:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:715:49: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:727:3: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:746:13: warning: function 'Blur' has cognitive complexity of 46 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/image/Image.cpp:753:2: warning: variable 'kernelSize' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:762:3: warning: variable 'szi' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:776:2: warning: variable 'numChannels' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:776:20: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:777:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:778:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:779:10: warning: loop variable name 'c' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:780:34: 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/graphics/image/Image.cpp:781:41: 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/graphics/image/Image.cpp:788:6: warning: variable name 'yi' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:789:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:790:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:791:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:793:8: warning: variable name 'ri' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:796:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:798:14: warning: loop variable name 'c' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:798:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:805:12: warning: loop variable name 'c' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:805:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:808:9: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:813:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:814:3: warning: variable 'ym' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:814:7: warning: variable name 'ym' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:815:3: warning: variable 'riw' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:815:13: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:816:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:817:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:819:8: warning: variable name 'ri' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:822:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:823:14: warning: loop variable name 'c' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:823:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:828:13: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:831:12: warning: loop variable name 'c' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:831:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:834:9: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:838:10: warning: loop variable name 'c' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:850:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:856:2: warning: variable 'srcChannelCount' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:857:2: warning: variable 'dstChannelCount' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:867:2: warning: variable 'pixelCount' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:870:95: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:873:95: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/Image.cpp:909:8: warning: accessing fields in struct 'DXTColBlock' is inefficient due to poor alignment; currently aligned to 2 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/image/Image.cpp:910:2: warning: no header providing "u16" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:912:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:915:8: warning: accessing fields in struct 'DXT3AlphaBlock' is inefficient due to poor alignment; currently aligned to 2 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/image/Image.cpp:916:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:919:8: warning: accessing fields in struct 'DXT5AlphaBlock' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/graphics/image/Image.cpp:922:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:929:63: warning: 2 adjacent parameters of 'FlipY' of similar type ('unsigned int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/image/Image.cpp:935:15: warning: variable 'offset' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:939:3: warning: variable 'imageSize' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:940:3: warning: variable 'lineSize' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:942:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/image/Image.cpp:942:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:942:29: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/Image.cpp:942:46: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/image/Image.cpp:942:46: warning: no header providing "malloc" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:945:20: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/image/Image.cpp:967:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.cpp:969:3: warning: variable 'xBlocks' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:970:3: warning: variable 'yBlocks' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:971:3: warning: variable 'blockSize' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:972:3: warning: variable 'lineSize' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:974:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/image/Image.cpp:974:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:974:29: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/Image.cpp:974:46: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/image/Image.cpp:977:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.cpp:978:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.cpp:1000:10: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:1000:10: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/Image.cpp:1000:25: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:1001:13: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:1001:13: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/Image.cpp:1001:28: warning: result of multiplication in type 'unsigned int' is used as a pointer offset after an implicit widening conversion to type 'size_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/Image.cpp:1003:16: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:1003:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/Image.cpp:1004:16: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:1004:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/Image.cpp:1018:16: warning: variable 'tmp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:1031:6: warning: variable 'tmp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/Image.cpp:1044:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:1058:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/Image.cpp:1080:24: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/image/Image.cpp:1080:24: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/Image.cpp:1110:57: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:1110:65: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:1110:74: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:1112:57: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:1112:65: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:1112:74: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:1114:57: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:1114:65: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.cpp:1114:74: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/Image.h:32: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/Image.h:52:2: warning: operator=() should return 'Image&' [misc-unconventional-assign-operator] +Arx/src/graphics/image/Image.h:56:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.h:70:2: warning: function 'GetWidth' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:71:2: warning: function 'GetHeight' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:72:2: warning: function 'GetDepth' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:73:2: warning: function 'GetNumMipmaps' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:74:2: warning: function 'GetFormat' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:75:2: warning: function 'GetDataSize' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:76:2: warning: function 'GetNumChannels' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:79:2: warning: function 'IsValid' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:79:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/Image.h:80:2: warning: function 'IsCompressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:81:2: warning: function 'IsVolume' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:82:2: warning: function 'HasAlpha' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:85:2: warning: function 'GetData' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/image/Image.h:85:2: warning: function 'GetData' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:86:2: warning: function 'GetData' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/image/Image.h:101:7: warning: function 'Image::Copy' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/image/Image.h:104:2: warning: function 'save' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/image/Image.h:117:32: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.h:118:37: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.h:119:35: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/Image.h:140:17: warning: use default member initializer for 'mData' [modernize-use-default-member-init] +Arx/src/graphics/image/stb_image.h:205:9: warning: macro 'STBI_VERSION' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +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/image/stb_image.h:232:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/image/stb_image.h:247:76: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image.h:247:84: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image.h:308:76: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image.h:308:84: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:6:10: warning: inclusion of deprecated C++ header 'stdarg.h'; consider using 'cstdarg' instead [modernize-deprecated-headers] +Arx/src/graphics/image/stb_image_write.cpp:7:10: warning: inclusion of deprecated C++ header 'stdlib.h'; consider using 'cstdlib' instead [modernize-deprecated-headers] +Arx/src/graphics/image/stb_image_write.cpp:8:10: warning: inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead [modernize-deprecated-headers] +Arx/src/graphics/image/stb_image_write.cpp:9:10: warning: inclusion of deprecated C++ header 'string.h'; consider using 'cstring' instead [modernize-deprecated-headers] +Arx/src/graphics/image/stb_image_write.cpp:10:10: warning: inclusion of deprecated C++ header 'assert.h'; consider using 'cassert' instead [modernize-deprecated-headers] +Arx/src/graphics/image/stb_image_write.cpp:16:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/image/stb_image_write.cpp:17:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/image/stb_image_write.cpp:17:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:19:12: warning: function 'writefv' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:19:26: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:19:54: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:24:22: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/image/stb_image_write.cpp:24:22: warning: variable 'x' of type 'unsigned char' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:24:36: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:24:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:24:72: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/graphics/image/stb_image_write.cpp:25:22: warning: variable 'x' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:25:26: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:25:45: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:25:59: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:26:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:26:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:27:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:28:22: warning: variable 'x' of type 'stbiw_uint32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:28:35: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:28:54: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:28:68: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:29:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:29:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:30:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:30:56: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:31:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:40:12: warning: function 'write3' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:40:25: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:40:42: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:40:59: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:40:76: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:42:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:44:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:47:12: warning: function 'write_pixels' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:47:12: warning: function 'write_pixels' has cognitive complexity of 48 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/image/stb_image_write.cpp:47:31: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:47:34: warning: 4 adjacent parameters of 'write_pixels' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/image/stb_image_write.cpp:47:61: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:47:68: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:47:99: warning: 2 adjacent parameters of 'write_pixels' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/image/stb_image_write.cpp:49:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:49:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:49:4: warning: variable 'bg' of type 'unsigned char[3]' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:49:18: warning: variable name 'bg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:49:43: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:51:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:51:8: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:51:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:51:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:51:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:51:12: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:51:12: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:51:15: warning: variable 'j_end' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:53:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:56:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:58:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:63:31: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:63:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:63:35: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:63:35: warning: result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/stb_image_write.cpp:64:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:65:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:66:10: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/graphics/image/stb_image_write.cpp:66:10: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/image/stb_image_write.cpp:68:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:73:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:75:68: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:80:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:83:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:84:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:86:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:91:12: warning: do not define a C-style variadic function; consider using a function parameter pack or currying instead [cert-dcl50-cpp] +Arx/src/graphics/image/stb_image_write.cpp:91:12: warning: function 'outfile' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:91:69: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:91:76: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:93:10: warning: variable 'f' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:93:10: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:94:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:97:15: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:101:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:102:7: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/graphics/image/stb_image_write.cpp:103:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:105:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/stb_image_write.cpp:108:57: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:108:64: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:110:4: warning: variable 'pad' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:117:57: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:117:64: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:119:4: warning: variable 'has_alpha' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:125:9: warning: function-like macro 'stbi_sbraw' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:126:9: warning: function-like macro 'stbi_sbm' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:127:9: warning: function-like macro 'stbi_sbn' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:129:9: warning: function-like macro 'stbi_sbneedgrow' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:129:54: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/image/stb_image_write.cpp:130:9: warning: function-like macro 'stbi_sbmaybegrow' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:131:9: warning: function-like macro 'stbi_sbgrow' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:133:9: warning: function-like macro 'stbi_sbpush' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:134:9: warning: function-like macro 'stbi_sbcount' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:135:9: warning: function-like macro 'stbi_sbfree' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:137:9: warning: function-like macro 'stbi_size' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:139:14: warning: function 'stbi_sbgrowf' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:139:39: warning: 2 adjacent parameters of 'stbi_sbgrowf' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/image/stb_image_write.cpp:141:4: warning: variable 'm' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:141:8: warning: variable name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:141:21: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:142:10: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:142:14: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/image/stb_image_write.cpp:142:29: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:142:48: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/stb_image_write.cpp:142:51: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/stb_image_write.cpp:145:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:145:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:145:19: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:146:14: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:146:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:146:24: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:147:7: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:154:23: warning: function 'stbi_zlib_flushf' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:157:7: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:164:12: warning: function 'stbi_zlib_bitrev' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:164:29: warning: 2 adjacent parameters of 'stbi_zlib_bitrev' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/image/stb_image_write.cpp:174:21: warning: function 'stbi_zlib_countm' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:174:53: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:174:53: warning: pointer parameter 'a' can be pointer to const [readability-non-const-parameter] +Arx/src/graphics/image/stb_image_write.cpp:174:71: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:174:71: warning: pointer parameter 'b' can be pointer to const [readability-non-const-parameter] +Arx/src/graphics/image/stb_image_write.cpp:176:8: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:176:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:177:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:178:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:182:21: warning: function 'stbi_zhash' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:182:47: warning: pointer parameter 'data' can be pointer to const [readability-non-const-parameter] +Arx/src/graphics/image/stb_image_write.cpp:194:9: warning: function-like macro 'stbi_zlib_flush' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:195:9: warning: function-like macro 'stbi_zlib_add' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:197:9: warning: function-like macro 'stbi_zlib_huffa' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:199:9: warning: function-like macro 'stbi_zlib_huff1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:200:9: warning: function-like macro 'stbi_zlib_huff2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:201:9: warning: function-like macro 'stbi_zlib_huff3' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:202:9: warning: function-like macro 'stbi_zlib_huff4' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:203:9: warning: function-like macro 'stbi_zlib_huff' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:204:9: warning: function-like macro 'stbi_zlib_huffb' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:206:9: warning: macro 'stbi_ZHASH' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:208:17: warning: function 'stbi_zlib_compress' has cognitive complexity of 95 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/image/stb_image_write.cpp:210:4: warning: variable 'lengthc' of type 'unsigned short[30]' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:210:11: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/image/stb_image_write.cpp:210:11: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:211:4: warning: variable 'lengtheb' of type 'unsigned char[29]' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:211:11: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:212:4: warning: variable 'distc' of type 'unsigned short[31]' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:212:11: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/image/stb_image_write.cpp:212:11: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:213:4: warning: variable 'disteb' of type 'unsigned char[30]' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:213:11: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:215:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:215:8: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:215:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:215:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:215:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:216:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/stb_image_write.cpp:217:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:218:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/image/stb_image_write.cpp:218:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:220:4: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:221:4: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:225:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:226:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/stb_image_write.cpp:231:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:231:11: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:231:15: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:232:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/stb_image_write.cpp:234:11: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:234:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:237:13: warning: variable 'd' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:237:17: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:237:21: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:238:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:242:28: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:243:17: warning: multilevel pointer conversion from 'unsigned char **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/graphics/image/stb_image_write.cpp:243:32: warning: multilevel pointer conversion from 'unsigned char **' to 'const void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/graphics/image/stb_image_write.cpp:244:10: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:246:7: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:250:14: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:252:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:255:16: warning: variable 'e' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:255:20: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:255:24: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:257:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/stb_image_write.cpp:265:10: warning: variable 'd' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:265:14: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:265:18: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:267:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:269:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:270:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:272:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:280:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:284:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:287:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:288:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:292:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:292:20: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:292:25: warning: variable name 's1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:292:31: warning: variable name 's2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:293:11: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:295:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:297:15: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:300:7: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:301:7: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:302:7: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:303:7: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:305:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:307:12: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:308:11: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:308:11: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:308:29: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:311:40: warning: pointer parameter 'buffer' can be pointer to const [readability-non-const-parameter] +Arx/src/graphics/image/stb_image_write.cpp:313:11: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:315:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:315:8: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:315:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:315:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:315:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:316:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:317:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:318:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:320:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:325:9: warning: function-like macro 'stbi_wpng4' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:326:9: warning: function-like macro 'stbi_wp32' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:327:9: warning: function-like macro 'stbi_wptag' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/graphics/image/stb_image_write.cpp:327:45: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/image/stb_image_write.cpp:327:50: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/image/stb_image_write.cpp:327:55: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/image/stb_image_write.cpp:327:60: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/image/stb_image_write.cpp:329:13: warning: function 'stbi_wpcrc' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:331:4: warning: variable 'crc' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:335:22: warning: function 'stbi_paeth' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/stb_image_write.cpp:335:37: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:335:44: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:335:51: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:337:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:337:4: warning: variable 'p' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:337:8: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:337:23: warning: variable name 'pa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:337:38: warning: variable name 'pb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:337:53: warning: variable name 'pc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:338:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:338:37: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:339:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:339:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:340:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:343:16: warning: function 'stbi_write_png_to_mem' has cognitive complexity of 47 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/image/stb_image_write.cpp:343:89: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:343:96: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:345:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:345:4: warning: variable 'ctype' of type 'int[5]' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:346:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:347:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:347:19: warning: variable 'out' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:347:24: warning: variable 'o' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:347:24: warning: variable name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:347:28: warning: variable 'filt' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:347:35: warning: variable 'zlib' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:348:17: warning: variable 'line_buffer' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:349:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:349:8: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:349:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:349:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:349:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:349:12: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:349:12: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:349:14: warning: variable 'p' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:349:14: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:349:16: warning: variable 'zlen' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:351:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:354:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:354:11: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:354:29: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/image/stb_image_write.cpp:354:36: 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/graphics/image/stb_image_write.cpp:354:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:354:68: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/stb_image_write.cpp:355:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:355:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:355:34: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/image/stb_image_write.cpp:355:41: 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/graphics/image/stb_image_write.cpp:355:88: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/stb_image_write.cpp:357:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:358:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/image/stb_image_write.cpp:360:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:363:13: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/image/stb_image_write.cpp:363:13: warning: variable 'type' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/stb_image_write.cpp:364:34: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:364:38: warning: result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/stb_image_write.cpp:365:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:366:16: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/graphics/image/stb_image_write.cpp:366:16: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/image/stb_image_write.cpp:367:19: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/graphics/image/stb_image_write.cpp:367:44: warning: narrowing conversion from 'unsigned char' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:368:44: warning: narrowing conversion from 'unsigned char' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:369:44: warning: narrowing conversion from 'int' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:370:44: warning: narrowing conversion from 'int' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:371:44: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:372:19: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/graphics/image/stb_image_write.cpp:372:44: warning: narrowing conversion from 'unsigned char' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:373:44: warning: narrowing conversion from 'unsigned char' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:376:16: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/graphics/image/stb_image_write.cpp:376:16: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/image/stb_image_write.cpp:377:44: warning: narrowing conversion from 'unsigned char' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:378:44: warning: narrowing conversion from 'int' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:379:44: warning: narrowing conversion from 'int' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:380:44: warning: narrowing conversion from 'int' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:381:44: warning: narrowing conversion from 'int' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:382:44: warning: narrowing conversion from 'int' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:383:44: warning: narrowing conversion from 'int' to signed type 'signed char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image_write.cpp:386:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:387:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:388:27: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:388:27: warning: redundant explicit casting to the same type 'signed char' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/image/stb_image_write.cpp:393:7: warning: result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/stb_image_write.cpp:393:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:394:14: warning: result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/image/stb_image_write.cpp:394:45: 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/graphics/image/stb_image_write.cpp:399:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:399:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/stb_image_write.cpp:402:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:402:10: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:402:28: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/image/stb_image_write.cpp:403:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:403:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/image/stb_image_write.cpp:413:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/stb_image_write.cpp:433:57: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:433:64: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:435:10: warning: variable 'f' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:435:10: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.cpp:436:8: warning: variable 'len' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/image/stb_image_write.cpp:437:47: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/image/stb_image_write.cpp:438:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:441:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/image/stb_image_write.cpp:442:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/graphics/image/stb_image_write.h:55:12: warning: function 'stbi::stbi_write_png' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/image/stb_image_write.h:55:53: warning: parameter name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.h:55:60: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.h:56:12: warning: function 'stbi::stbi_write_bmp' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/image/stb_image_write.h:56:53: warning: parameter name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.h:56:60: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.h:57:12: warning: function 'stbi::stbi_write_tga' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/image/stb_image_write.h:57:53: warning: parameter name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/image/stb_image_write.h:57:60: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:34:2: warning: variable 'c' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:34:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:39:2: warning: variable 'w' of type 'GLfloat' (aka 'float') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:39:10: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:46:2: warning: variable 'c' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:46:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:57:2: warning: variable 'c' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:57:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:67:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:70:7: warning: class 'GLNoVertexBuffer' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:78:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:86:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:86:35: warning: 2 adjacent parameters of 'lock' of similar type ('size_t') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:91:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:95:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:95:43: warning: 2 adjacent parameters of 'draw' of similar type ('size_t') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:112:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:112:79: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:112:96: warning: pointer parameter 'indices' can be pointer to const [readability-non-const-parameter] +Arx/src/graphics/opengl/GLNoVertexBuffer.h:133:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTexture2D.cpp:26:1: warning: constructor does not initialize these fields: wrapMode, minFilter, magFilter, mipFilter [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/opengl/GLTexture2D.cpp:26:81: warning: no header providing "GL_NONE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:33:2: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:35:2: warning: no header providing "glGenTextures" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:38:13: warning: no header providing "TextureStage" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:43:5: warning: no header providing "GLEW_ARB_texture_non_power_of_two" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:46:22: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLTexture2D.cpp:46:47: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLTexture2D.cpp:49:2: warning: no header providing "CHECK_GL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:56:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:58:2: warning: no header providing "glBindTexture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:58:16: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:61:2: warning: no header providing "GLint" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:61:8: warning: variable 'internal' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/opengl/GLTexture2D.cpp:62:2: warning: no header providing "GLenum" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:62:9: warning: variable 'format' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/opengl/GLTexture2D.cpp:63:16: warning: no header providing "Image" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:64:14: warning: no header providing "GL_LUMINANCE8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:64:38: warning: no header providing "GL_LUMINANCE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:66:14: warning: no header providing "GL_ALPHA8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:66:34: warning: no header providing "GL_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:68:14: warning: no header providing "GL_LUMINANCE8_ALPHA8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:68:45: warning: no header providing "GL_LUMINANCE_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:70:14: warning: no header providing "GL_RGB8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:70:32: warning: no header providing "GL_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:72:32: warning: no header providing "GL_BGR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:74:14: warning: no header providing "GL_RGBA8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:74:33: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:76:33: warning: no header providing "GL_BGRA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:83:3: warning: no header providing "glTexParameteri" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:83:34: warning: no header providing "GL_GENERATE_MIPMAP" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:83:54: warning: no header providing "GL_TRUE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:89:3: warning: no header providing "glTexImage2D" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:89:83: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:89:101: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:89:101: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLTexture2D.cpp:90:3: warning: no header providing "glTexSubImage2D" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:96:3: warning: no header providing "glTexParameterf" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:96:34: warning: no header providing "GL_TEXTURE_MAX_ANISOTROPY_EXT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:105:3: warning: no header providing "glDeleteTextures" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:109:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:112:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLTexture2D.cpp:115:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLTexture2D.cpp:120:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLTexture2D.cpp:121:2: warning: no header providing "GL_REPEAT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:122:2: warning: no header providing "GL_MIRRORED_REPEAT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:123:2: warning: no header providing "GL_CLAMP_TO_EDGE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:126:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLTexture2D.cpp:130:3: warning: no header providing "GL_NEAREST" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:131:3: warning: no header providing "GL_LINEAR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:136:3: warning: no header providing "GL_NEAREST_MIPMAP_NEAREST" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:137:3: warning: no header providing "GL_LINEAR_MIPMAP_NEAREST" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:142:3: warning: no header providing "GL_NEAREST_MIPMAP_LINEAR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:143:3: warning: no header providing "GL_LINEAR_MIPMAP_LINEAR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:154:3: warning: variable 'glwrap' of type 'GLint' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTexture2D.cpp:155:34: warning: no header providing "GL_TEXTURE_WRAP_T" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:156:34: warning: no header providing "GL_TEXTURE_WRAP_S" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:159:2: warning: variable 'newMipFilter' of type 'TextureStage::FilterMode' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTexture2D.cpp:164:34: warning: no header providing "GL_TEXTURE_MIN_FILTER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.cpp:170:34: warning: no header providing "GL_TEXTURE_MAG_FILTER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture2D.h:32:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/opengl/GLTexture2D.h:34:7: warning: class 'GLTexture2D' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/opengl/GLTexture2D.h:34:7: warning: class 'GLTexture2D' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/opengl/GLTexture2D.h:39:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTexture2D.h:41:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTexture2D.h:42:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTexture2D.h:43:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTexture2D.h:51:9: warning: use default member initializer for 'tex' [modernize-use-default-member-init] +Arx/src/graphics/opengl/GLTextureStage.cpp:25:78: warning: no header providing "TextureStage" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:25:124: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:25:124: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLTextureStage.cpp:25:139: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLTextureStage.cpp:28:2: warning: 'wrapMode' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/opengl/GLTextureStage.cpp:28:13: warning: no header providing "TextureStage::WrapRepeat" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:29:2: warning: 'minFilter' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/opengl/GLTextureStage.cpp:29:14: warning: no header providing "TextureStage::FilterLinear" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:30:2: warning: 'magFilter' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/opengl/GLTextureStage.cpp:31:2: warning: 'mipFilter' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/opengl/GLTextureStage.cpp:33:22: warning: no header providing "TextureStage::ArgTexture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:34:22: warning: no header providing "TextureStage::ArgCurrent" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:38:16: warning: no header providing "TextureStage::OpModulate" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:39:16: warning: no header providing "TextureStage::OpSelectArg1" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:40:3: warning: no header providing "glActiveTexture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:40:19: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:41:3: warning: no header providing "glTexEnvi" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:41:13: warning: no header providing "GL_TEXTURE_ENV" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:41:29: warning: no header providing "GL_TEXTURE_ENV_MODE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:41:50: warning: no header providing "GL_COMBINE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:42:3: warning: no header providing "glEnable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:42:12: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:44:16: warning: no header providing "TextureStage::OpDisable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:53:33: warning: no header providing "Texture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:55:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:61:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLTextureStage.cpp:64:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLTextureStage.cpp:64:14: warning: no header providing "GLint" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:65:2: warning: no header providing "GL_PRIMARY_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:66:2: warning: no header providing "GL_PREVIOUS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:67:2: warning: no header providing "GL_TEXTURE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:70:8: warning: accessing fields in struct 'GLTexEnvParam' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/opengl/GLTextureStage.cpp:72:2: warning: no header providing "GLenum" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:74:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLTextureStage.cpp:75:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLTextureStage.cpp:84:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLTextureStage.cpp:85:2: warning: use designated initializer list to initialize 'GLTexEnvParam' [modernize-use-designated-initializers] +Arx/src/graphics/opengl/GLTextureStage.cpp:86:3: warning: no header providing "GL_COMBINE_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:87:5: warning: no header providing "GL_SOURCE0_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:87:21: warning: no header providing "GL_SOURCE1_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:88:5: warning: no header providing "GL_OPERAND0_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:88:22: warning: no header providing "GL_OPERAND1_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:89:3: warning: no header providing "GL_SRC_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:90:3: warning: no header providing "GL_ONE_MINUS_SRC_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:91:3: warning: no header providing "GL_RGB_SCALE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:92:5: warning: use designated initializer list to initialize 'GLTexEnvParam' [modernize-use-designated-initializers] +Arx/src/graphics/opengl/GLTextureStage.cpp:93:3: warning: no header providing "GL_COMBINE_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:94:5: warning: no header providing "GL_SOURCE0_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:94:23: warning: no header providing "GL_SOURCE1_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:95:5: warning: no header providing "GL_OPERAND0_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:95:24: warning: no header providing "GL_OPERAND1_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:96:3: warning: no header providing "GL_SRC_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:97:3: warning: no header providing "GL_ONE_MINUS_SRC_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:98:3: warning: no header providing "GL_ALPHA_SCALE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:102:22: warning: method 'setArg' can be made static [readability-convert-member-functions-to-static] +Arx/src/graphics/opengl/GLTextureStage.cpp:104:76: warning: no header providing "TextureStage::ArgMask" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:105:2: warning: variable 'op' of type 'GLint' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTextureStage.cpp:105:8: warning: variable name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLTextureStage.cpp:105:20: warning: no header providing "TextureStage::ArgComplement" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:109:22: warning: method 'setOp' can be made static [readability-convert-member-functions-to-static] +Arx/src/graphics/opengl/GLTextureStage.cpp:109:49: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLTextureStage.cpp:111:53: warning: narrowing conversion from 'GLenum' (aka 'unsigned int') to signed type 'GLint' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLTextureStage.cpp:115:52: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLTextureStage.cpp:121:2: warning: variable 'wasEnabled' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTextureStage.cpp:125:2: warning: variable 'enabled' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTextureStage.cpp:130:37: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:130:41: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:132:4: warning: no header providing "glDisable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:135:21: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLTextureStage.cpp:145:2: warning: no header providing "CHECK_GL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:150:17: warning: no header providing "GL_REPLACE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:163:8: warning: no header providing "TextureStage::OpSelectArg2" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:171:17: warning: no header providing "GL_MODULATE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:178:8: warning: no header providing "TextureStage::OpModulate2X" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:186:8: warning: no header providing "TextureStage::OpModulate4X" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:194:8: warning: no header providing "TextureStage::OpAddSigned" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:195:17: warning: no header providing "GL_ADD_SIGNED" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:210:52: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLTextureStage.cpp:224:43: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLTextureStage.cpp:228:43: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLTextureStage.cpp:232:43: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLTextureStage.cpp:236:43: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLTextureStage.cpp:262:2: warning: no header providing "glTexEnvf" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:262:12: warning: no header providing "GL_TEXTURE_FILTER_CONTROL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:262:39: warning: no header providing "GL_TEXTURE_LOD_BIAS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:282:3: warning: no header providing "glBindTexture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:282:49: warning: no header providing "GL_NONE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.h:29: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:29:7: warning: class 'GLTextureStage' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/opengl/GLTextureStage.h:34:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:36:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:37:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:39:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:40:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:41:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:42:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:44:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:46:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:47:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:48:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:50:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLTextureStage.h:56:2: warning: function 'isEnabled' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/opengl/GLTextureStage.h:60: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/GLTextureStage.h:65:7: warning: enum 'Arg' 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/GLTextureStage.h:70:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLTextureStage.h:71:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLTextureStage.h:75:34: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLTextureStage.h:76:37: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLTextureStage.h:77:37: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/GLVertexBuffer.h:33: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:40:27: warning: variable 'glArrayClientState' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/opengl/GLVertexBuffer.h:41:21: warning: variable 'glArrayClientStateRef' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/opengl/GLVertexBuffer.h:41:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLVertexBuffer.h:42:12: warning: variable 'glArrayClientStateTexCount' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/opengl/GLVertexBuffer.h:48:33: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:73:6: warning: function template specialization 'setVertexArray' has a primary template declaration with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/opengl/GLVertexBuffer.h:92:6: warning: function template specialization 'setVertexArray' has a primary template declaration with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/opengl/GLVertexBuffer.h:110:6: warning: function template specialization 'setVertexArray' has a primary template declaration with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/opengl/GLVertexBuffer.h:129:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLVertexBuffer.h:135:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/GLVertexBuffer.h:135:21: warning: redundant 'arxToGlPrimitiveType' declaration [readability-redundant-declaration] +Arx/src/graphics/opengl/GLVertexBuffer.h:137:23: warning: variable 'glShortIndexBuffer' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] +Arx/src/graphics/opengl/GLVertexBuffer.h:137:23: warning: variable 'glShortIndexBuffer' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/opengl/GLVertexBuffer.h:138:21: warning: variable 'glIntIndexBuffer' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] +Arx/src/graphics/opengl/GLVertexBuffer.h:138:21: warning: variable 'glIntIndexBuffer' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/opengl/GLVertexBuffer.h:141:7: warning: class 'GLVertexBuffer' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/opengl/GLVertexBuffer.h:154:60: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLVertexBuffer.h:159:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLVertexBuffer.h:177:4: warning: variable 'obytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:178:4: warning: variable 'nbytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:179:51: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLintptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:179:59: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:183:5: warning: undefined behavior, source object type 'const SMY_VERTEX' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/opengl/GLVertexBuffer.h:183:5: warning: undefined behavior, source object type 'const SMY_VERTEX3' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/opengl/GLVertexBuffer.h:183:5: warning: undefined behavior, source object type 'const TexturedVertex' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/opengl/GLVertexBuffer.h:185:5: warning: variable 'ret' of type 'GLboolean' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:197:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLVertexBuffer.h:209:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLVertexBuffer.h:214:12: warning: variable 'buf' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/opengl/GLVertexBuffer.h:230:4: warning: variable 'obytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:231:4: warning: variable 'nbytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:233:71: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLintptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:233:79: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:239:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLVertexBuffer.h:255:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLVertexBuffer.h:259:3: warning: variable 'ret' of type 'GLboolean' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:269:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLVertexBuffer.h:277:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLVertexBuffer.h:279:49: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLint' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:279:57: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:284:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLVertexBuffer.h:284:79: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/opengl/GLVertexBuffer.h:293:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/GLVertexBuffer.h:297:81: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:297:120: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLint' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:305:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/opengl/GLVertexBuffer.h:308:85: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:308:115: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer] +Arx/src/graphics/opengl/GLVertexBuffer.h:316:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/opengl/GLVertexBuffer.h:319:85: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/GLVertexBuffer.h:319:113: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer] +Arx/src/graphics/opengl/GLVertexBuffer.h:325:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/GLVertexBuffer.h:333:9: warning: use default member initializer for 'buffer' [modernize-use-default-member-init] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:31:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:55:6: 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/OpenGLRenderer.cpp:61:24: warning: variable 'currentTransform' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:61:24: warning: variable 'currentTransform' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:63:13: warning: function 'checkShader' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:63:25: warning: no header providing "GLuint" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:63:53: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:65:2: warning: no header providing "GLint" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:65:8: warning: variable 'status' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:66:2: warning: no header providing "glGetObjectParameterivARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:68:7: warning: variable 'logLength' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:69:37: warning: no header providing "GL_OBJECT_INFO_LOG_LENGTH_ARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:71:3: warning: no header providing "glGetInfoLogARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:71:38: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:71:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:80:15: warning: function 'loadVertexShader' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:82:2: warning: variable 'shader' of type 'GLuint' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:82:18: warning: no header providing "glCreateProgramObjectARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:88:2: warning: variable 'obj' of type 'GLuint' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:88:15: warning: no header providing "glCreateShaderObjectARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:88:39: warning: no header providing "GL_VERTEX_SHADER_ARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:91:3: warning: no header providing "glDeleteObjectARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:95:2: warning: no header providing "glShaderSourceARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:95:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:96:2: warning: no header providing "glCompileShaderARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:97:34: warning: no header providing "GL_OBJECT_COMPILE_STATUS_ARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:103:2: warning: no header providing "glAttachObjectARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:106:2: warning: no header providing "glLinkProgramARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:107:34: warning: no header providing "GL_OBJECT_LINK_STATUS_ARB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:117:5: warning: no header providing "glewInit" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:117:19: warning: no header providing "GLEW_OK" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:121:44: warning: no header providing "glewGetString" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:121:58: warning: no header providing "GLEW_VERSION" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:123:32: warning: no header providing "glGetString" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:123:44: warning: no header providing "GL_VERSION" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:126:47: warning: no header providing "GL_VENDOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:129:47: warning: no header providing "GL_RENDERER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:137:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:139:6: warning: no header providing "GLEW_ARB_vertex_array_bgra" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:142:50: warning: no header providing "GL_TRUE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:144:6: warning: no header providing "GLEW_ARB_draw_elements_base_vertex" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:149:17: warning: no header providing "GLEW_ARB_map_buffer_range" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:153:2: warning: no header providing "glEnable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:153:11: warning: no header providing "GL_POLYGON_OFFSET_FILL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:155:2: warning: no header providing "glDepthFunc" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:155:14: warning: no header providing "GL_LEQUAL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:157:2: warning: no header providing "glPixelStorei" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:157:16: warning: no header providing "GL_UNPACK_ALIGNMENT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:158:16: warning: no header providing "GL_PACK_ALIGNMENT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:162:2: warning: no header providing "glGetIntegerv" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:162:16: warning: no header providing "GL_MAX_TEXTURE_UNITS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:163:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:164:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:168:17: warning: no header providing "Renderer::ColorKey" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:171:8: warning: no header providing "Renderer::ColorBuffer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:171:22: warning: no header providing "Renderer::DepthBuffer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:176:2: warning: no header providing "CHECK_GL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:179:7: warning: no header providing "GLEW_ARB_shader_objects" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:181:14: warning: no header providing "GLEW_ARB_vertex_program" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:192:5: warning: no header providing "GLEW_EXT_texture_filter_anisotropic" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:193:3: warning: no header providing "glGetFloatv" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:193:15: warning: no header providing "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:209:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:224:2: warning: no header providing "glFlush" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:227:8: warning: no header providing "EERIEMATRIX" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:227:20: warning: variable 'projection' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:227:20: warning: variable 'projection' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:228:20: warning: variable 'view' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:228:20: warning: variable 'view' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:230:22: warning: method 'enableTransform' can be made const [readability-make-member-function-const] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:237:3: warning: no header providing "glUseProgram" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:240:2: warning: no header providing "glMatrixMode" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:240:15: warning: no header providing "GL_MODELVIEW" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:241:2: warning: no header providing "glLoadMatrixf" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:243:15: warning: no header providing "GL_PROJECTION" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:264:3: warning: no header providing "glLoadIdentity" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:271:2: warning: no header providing "glTranslatef" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:272:2: warning: no header providing "glScalef" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:272:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:272:38: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:275:21: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:275:42: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:284:6: warning: comparing object representation of type 'EERIEMATRIX' which does not have a unique object representation; consider comparing the members of the object manually [bugprone-suspicious-memory-comparison] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:284:6: warning: no header providing "memcmp" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:301:6: warning: comparing object representation of type 'EERIEMATRIX' which does not have a unique object representation; consider comparing the members of the object manually [bugprone-suspicious-memory-comparison] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:317:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:323:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:328:1: warning: no header providing "Texture2D" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:329:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:334:20: warning: function 'setGLState' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:334:31: warning: no header providing "GLenum" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:338:3: warning: no header providing "glDisable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:346:8: warning: no header providing "Renderer::AlphaBlending" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:347:15: warning: no header providing "GL_BLEND" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:351:8: warning: no header providing "Renderer::AlphaTest" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:352:15: warning: no header providing "GL_ALPHA_TEST" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:358:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:359:18: warning: no header providing "Renderer::CmpNotEqual" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:363:8: warning: no header providing "Renderer::DepthTest" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:364:15: warning: no header providing "GL_DEPTH_TEST" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:368:8: warning: no header providing "Renderer::DepthWrite" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:369:4: warning: no header providing "glDepthMask" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:369:35: warning: no header providing "GL_FALSE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:373:8: warning: no header providing "Renderer::Fog" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:374:15: warning: no header providing "GL_FOG" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:378:8: warning: no header providing "Renderer::Lighting" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:379:15: warning: no header providing "GL_LIGHTING" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:383:8: warning: no header providing "Renderer::ZBias" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:395:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:396:2: warning: no header providing "GL_NEVER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:397:2: warning: no header providing "GL_LESS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:398:2: warning: no header providing "GL_EQUAL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:400:2: warning: no header providing "GL_GREATER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:401:2: warning: no header providing "GL_NOTEQUAL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:402:2: warning: no header providing "GL_GEQUAL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:403:2: warning: no header providing "GL_ALWAYS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:407:2: warning: no header providing "glAlphaFunc" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:411:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:412:2: warning: no header providing "GL_ZERO" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:413:2: warning: no header providing "GL_ONE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:414:2: warning: no header providing "GL_SRC_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:415:2: warning: no header providing "GL_SRC_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:416:2: warning: no header providing "GL_ONE_MINUS_SRC_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:417:2: warning: no header providing "GL_ONE_MINUS_SRC_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:418:2: warning: no header providing "GL_SRC_ALPHA_SATURATE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:419:2: warning: no header providing "GL_DST_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:420:2: warning: no header providing "GL_DST_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:421:2: warning: no header providing "GL_ONE_MINUS_DST_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:422:2: warning: no header providing "GL_ONE_MINUS_DST_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:426:2: warning: no header providing "glBlendFunc" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:436:2: warning: variable 'height' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:438:2: warning: no header providing "glViewport" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:452:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:460:53: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:460:71: warning: 2 adjacent parameters of 'Clear' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:462:2: warning: no header providing "GLbitfield" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:465:3: warning: no header providing "Color4f" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:465:3: warning: variable 'col' of type 'Color4f' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:466:3: warning: no header providing "glClearColor" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:467:14: warning: no header providing "GL_COLOR_BUFFER_BIT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:471:3: warning: no header providing "glClearDepth" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:472:14: warning: no header providing "GL_DEPTH_BUFFER_BIT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:475:19: warning: no header providing "Renderer::StencilBuffer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:476:14: warning: no header providing "GL_STENCIL_BUFFER_BIT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:481:12: warning: no header providing "GL_SCISSOR_TEST" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:483:3: warning: variable 'height' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:486:4: warning: no header providing "glScissor" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:487:4: warning: no header providing "glClear" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:502:2: warning: variable 'colorf' of type 'Color4f' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:503:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:503:2: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:504:2: warning: no header providing "glFogfv" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:504:10: warning: no header providing "GL_FOG_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:508:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:510:2: warning: no header providing "GL_EXP" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:511:2: warning: no header providing "GL_EXP2" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:512:2: warning: no header providing "GL_LINEAR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:518:2: warning: no header providing "glFogi" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:518:9: warning: no header providing "GL_FOG_MODE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:520:2: warning: no header providing "glFogf" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:520:9: warning: no header providing "GL_FOG_START" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:521:9: warning: no header providing "GL_FOG_END" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:522:9: warning: no header providing "GL_FOG_DENSITY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:530:13: warning: no header providing "GL_MULTISAMPLE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:535:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:536:2: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:537:2: warning: no header providing "GL_BACK" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:538:2: warning: no header providing "GL_FRONT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:542:13: warning: no header providing "Renderer::CullNone" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:543:13: warning: no header providing "GL_CULL_FACE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:546:3: warning: no header providing "glCullFace" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:553:2: warning: variable 'bias' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:553:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:555:2: warning: no header providing "glPolygonOffset" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:560:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:561:2: warning: no header providing "GL_POINT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:562:2: warning: no header providing "GL_LINE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:563:2: warning: no header providing "GL_FILL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:567:2: warning: no header providing "glPolygonMode" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:567:16: warning: no header providing "GL_FRONT_AND_BACK" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:571:45: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:571:54: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:571:63: warning: parameter name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:571:66: warning: 2 adjacent parameters of 'DrawTexturedRect' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:571:72: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:579:2: warning: no header providing "glColor3ub" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:581:2: warning: no header providing "glBegin" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:581:10: warning: no header providing "GL_QUADS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:583:3: warning: no header providing "glMultiTexCoord2f" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:583:21: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:584:3: warning: no header providing "glVertex3f" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:595:2: warning: no header providing "glEnd" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:600:1: warning: no header providing "VertexBuffer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:600:14: warning: no header providing "TexturedVertex" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:603:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:608:14: warning: no header providing "SMY_VERTEX" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:611:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:616:14: warning: no header providing "SMY_VERTEX3" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:619:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:624:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:625:2: warning: no header providing "GL_TRIANGLES" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:626:2: warning: no header providing "GL_TRIANGLE_STRIP" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:627:2: warning: no header providing "GL_TRIANGLE_FAN" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:628:2: warning: no header providing "GL_LINES" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:629:2: warning: no header providing "GL_LINE_STRIP" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:632:106: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:638:3: warning: no header providing "glBindBuffer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:638:16: warning: no header providing "GL_ARRAY_BUFFER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:638:33: warning: no header providing "GL_NONE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:642:3: warning: no header providing "glDrawRangeElements" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:642:74: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:642:84: warning: no header providing "GL_UNSIGNED_SHORT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:659:34: warning: no header providing "Image" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:661:2: warning: variable 'size' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:665:2: warning: no header providing "glReadPixels" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:665:37: warning: no header providing "GL_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:665:45: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:680:2: warning: variable 'size' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:701:8: warning: no header providing "GL_NO_ERROR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:702:8: warning: no header providing "GL_INVALID_ENUM" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:703:8: warning: no header providing "GL_INVALID_VALUE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:704:8: warning: no header providing "GL_INVALID_OPERATION" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:705:8: warning: no header providing "GL_STACK_OVERFLOW" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:706:8: warning: no header providing "GL_STACK_UNDERFLOW" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:707:8: warning: no header providing "GL_OUT_OF_MEMORY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.h:31: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:31:7: warning: class 'OpenGLRenderer' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/opengl/OpenGLRenderer.h:36:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:38:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:44:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:45:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:48:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:49:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:50:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:51:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:54:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:55:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:58:14: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:61:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:64:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:64:7: warning: function 'OpenGLRenderer::SetAlphaFunc' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/opengl/OpenGLRenderer.h:65:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:68:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:69:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:72:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:73:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:76:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:76:127: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/opengl/OpenGLRenderer.h:79:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:80:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:83:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:84:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:85:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:86:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:88:2: warning: function 'GetMaxAnisotropy' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/opengl/OpenGLRenderer.h:88:2: warning: function 'GetMaxAnisotropy' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/opengl/OpenGLRenderer.h:88:15: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:91:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:91:30: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/OpenGLRenderer.h:91:39: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/OpenGLRenderer.h:91:48: warning: parameter name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/OpenGLRenderer.h:91:57: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/opengl/OpenGLRenderer.h:93:33: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:94:29: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:95:30: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:97:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:97:91: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/opengl/OpenGLRenderer.h:99:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:100:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:102:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/opengl/OpenGLRenderer.h:104:2: warning: function 'GetTextureStage' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/opengl/OpenGLRenderer.h:108:2: warning: function 'isInitialized' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/opengl/OpenGLRenderer.h:108:14: warning: method 'isInitialized' can be made const [readability-make-member-function-const] +Arx/src/graphics/opengl/OpenGLRenderer.h:112:7: warning: use default member initializer for 'useVertexArrays' [modernize-use-default-member-init] +Arx/src/graphics/opengl/OpenGLRenderer.h:113:7: warning: use default member initializer for 'useVBOs' [modernize-use-default-member-init] +Arx/src/graphics/opengl/OpenGLRenderer.h:126:2: warning: function 'beforeDraw' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/opengl/OpenGLRenderer.h:135:9: warning: use default member initializer for 'maxTextureStage' [modernize-use-default-member-init] +Arx/src/graphics/opengl/OpenGLRenderer.h:137:9: warning: use default member initializer for 'shader' [modernize-use-default-member-init] +Arx/src/graphics/opengl/OpenGLRenderer.h:139:8: warning: use default member initializer for 'maximumAnisotropy' [modernize-use-default-member-init] +Arx/src/graphics/opengl/OpenGLRenderer.h:141:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/opengl/OpenGLRenderer.h:144:7: warning: use default member initializer for 'initialized' [modernize-use-default-member-init] +Arx/src/graphics/particle/Particle.cpp:49:1: warning: constructor does not initialize these fields: iRot, fRotStart, fRotation [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/particle/Particle.cpp:55:2: warning: 'ulTTL' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/particle/Particle.cpp:55:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/Particle.cpp:56:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/Particle.cpp:68:11: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/particle/Particle.cpp:80:15: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Particle.cpp:91:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/Particle.cpp:95:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/Particle.cpp:98:14: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/Particle.cpp:99:2: warning: variable 'fTimeSec' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Particle.cpp:99:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/Particle.cpp:103:3: warning: variable 'ft' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Particle.cpp:103:9: warning: variable name 'ft' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/Particle.cpp:103:26: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/Particle.cpp:110:3: warning: no header providing "Color4f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Particle.cpp:115:23: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Particle.h:50: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/Particle.h:50:7: warning: class 'Particle' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/particle/Particle.h:59:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/Particle.h:59:7: warning: use default member initializer for 'ulTime' [modernize-use-default-member-init] +Arx/src/graphics/particle/Particle.h:60:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/Particle.h:63:8: warning: use default member initializer for 'fSize' [modernize-use-default-member-init] +Arx/src/graphics/particle/Particle.h:64:8: warning: use default member initializer for 'fSizeStart' [modernize-use-default-member-init] +Arx/src/graphics/particle/Particle.h:65:8: warning: use default member initializer for 'fSizeEnd' [modernize-use-default-member-init] +Arx/src/graphics/particle/Particle.h:68:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/Particle.h:69:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/Particle.h:78:6: warning: use default member initializer for 'iTexTime' [modernize-use-default-member-init] +Arx/src/graphics/particle/Particle.h:79:6: warning: use default member initializer for 'iTexNum' [modernize-use-default-member-init] +Arx/src/graphics/particle/Particle.h:81:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/particle/Particle.h:87:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/Particle.h:87:18: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/particle/Particle.h:89:7: warning: method 'isAlive' can be made const [readability-make-member-function-const] +Arx/src/graphics/particle/ParticleEffects.cpp:79:12: warning: using decl 'max' is unused [misc-unused-using-decls] +Arx/src/graphics/particle/ParticleEffects.cpp:82:8: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:82:14: warning: variable 'ulBKGColor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:84:8: warning: accessing fields in struct 'OBJFX' is inefficient due to padding; only needs 281 bytes but is using 288 bytes [altera-struct-pack-align] +Arx/src/graphics/particle/ParticleEffects.cpp:84:8: warning: accessing fields in struct 'OBJFX' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/particle/ParticleEffects.cpp:84:8: warning: constructor does not initialize these fields: obj, special, tim_start, duration, exist, dynlight [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/particle/ParticleEffects.cpp:85:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:88:2: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:90:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:91:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:91:2: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:92:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:93:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:94:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:96:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:99:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:100:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:100:13: warning: variable 'ParticleCount' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:100:13: warning: variable 'ParticleCount' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:101:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:101:21: warning: initialization of 'particle' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/particle/ParticleEffects.cpp:101:21: warning: variable 'particle' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:101:21: warning: variable 'particle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:103:11: warning: variable 'flaretc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:104:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:104:10: warning: initialization of 'flare' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/particle/ParticleEffects.cpp:104:10: warning: variable 'flare' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:105:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:105:27: warning: variable 'bloodsplat' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:105:27: warning: variable 'bloodsplat' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:106:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:106:20: warning: variable 'water_splat' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:107:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:107:27: warning: variable 'water_drop' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:107:27: warning: variable 'water_drop' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:108:27: warning: variable 'smokeparticle' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:108:27: warning: variable 'smokeparticle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:108:27: warning: variable 'smokeparticle' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:108:43: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:108:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:109:27: warning: variable 'bloodsplatter' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:109:27: warning: variable 'bloodsplatter' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:109:27: warning: variable 'bloodsplatter' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:109:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:110:27: warning: variable 'healing' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:110:27: warning: variable 'healing' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:110:27: warning: variable 'healing' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:110:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:111:27: warning: variable 'tzupouf' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:111:27: warning: variable 'tzupouf' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:111:27: warning: variable 'tzupouf' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:111:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:112:20: warning: variable 'fire2' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:112:20: warning: variable 'fire2' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:112:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:114:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:114:14: warning: initialization of 'objfx' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/graphics/particle/ParticleEffects.cpp:114:14: warning: variable 'objfx' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:114:14: warning: variable 'objfx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:115:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:115:8: warning: variable 'BoomCount' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:117:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:117:8: warning: variable 'flarenum' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:118:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:118:9: warning: variable 'OPIPOrgb' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:119:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:119:9: warning: variable 'PIPOrgb' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:120:8: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:120:14: warning: variable 'shinum' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:120:14: warning: variable 'shinum' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:121:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:121:8: warning: variable 'NewSpell' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:123:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:124:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:126:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:133:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:139:17: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:144:2: warning: variable 'f' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:144:8: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:144:12: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:145:30: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:145:54: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:153:59: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:159:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:161:25: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:162:41: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:176:17: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:193: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:193:82: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/particle/ParticleEffects.cpp:195:17: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:207:10: warning: slicing object from type 'Color4' to 'Color3' discards 4 bytes of state [cppcoreguidelines-slicing] +Arx/src/graphics/particle/ParticleEffects.cpp:208:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:208:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:214:13: warning: function 'ARX_PARTICLES_Spawn_Blood3' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:214:77: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/particle/ParticleEffects.cpp:215:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:217:17: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:220:3: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:221:24: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:221:25: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:221:25: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:221:29: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:221:55: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:221:55: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:221:59: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:222:18: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:222:18: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:222:18: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:222:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:223:13: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:223:28: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:223:32: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:228:11: warning: slicing object from type 'Color4' to 'Color3' discards 4 bytes of state [cppcoreguidelines-slicing] +Arx/src/graphics/particle/ParticleEffects.cpp:239:9: warning: macro 'SPLAT_MULTIPLY' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.cpp:241:6: warning: function 'ARX_POLYSPLAT_Add' has cognitive complexity of 119 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/particle/ParticleEffects.cpp:241:53: warning: 2 adjacent parameters of 'ARX_POLYSPLAT_Add' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/particle/ParticleEffects.cpp:241:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:243:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:245:7: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:246:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:250:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/particle/ParticleEffects.cpp:250:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:258:8: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:258:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:265:8: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:265:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:272:8: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:272:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:280:8: warning: variable 'py' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:280:8: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:281:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:281:17: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:283:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:286:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:304:22: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:324:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/particle/ParticleEffects.cpp:324:8: warning: variable 'hdiv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:324:13: warning: variable 'vdiv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:328:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:328:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/particle/ParticleEffects.cpp:328:7: warning: variable 'x0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:328:7: warning: variable name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:328:10: warning: variable 'x1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:328:10: warning: variable name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:329:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:329:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/particle/ParticleEffects.cpp:329:7: warning: variable 'z0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:329:7: warning: variable name 'z0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:329:10: warning: variable 'z1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:329:10: warning: variable name 'z1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:329:13: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:329:13: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:329:15: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:329:15: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:330:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:330:16: warning: variable 'tim' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:331:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:331:7: warning: variable 'n' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:331:7: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:332:2: warning: no header providing "EERIE_BKG_INFO" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:332:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:332:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:333:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:333:9: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:343:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:343:35: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:344:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:350:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/particle/ParticleEffects.cpp:350:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:352:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:354:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/particle/ParticleEffects.cpp:354:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:356:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:358:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/particle/ParticleEffects.cpp:358:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:360:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:362:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/particle/ParticleEffects.cpp:362:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:364:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:366:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:366:7: warning: variable 'nbvert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:367:2: warning: variable 'vratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:370:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:371:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:372:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:373:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:377:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:380:6: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:380:6: warning: redundant explicit casting to the same type 'EERIE_BKG_INFO *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:382:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:382:14: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:388:22: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:388:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:391:20: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:391:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:393:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:394:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:396:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:398:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:400:10: warning: no header providing "PointIn2DPolyXZ" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:401:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:401:17: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:401:17: warning: no header providing "fabs" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:408:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:408:17: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:416:10: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:416:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:427:17: warning: variable name 'pb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:430:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:436:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:436:6: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:439:6: warning: variable 'fRandom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:441:6: warning: variable 't' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:441:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:443:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:446:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:446:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:446:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:448:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:453:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:454:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:460:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/particle/ParticleEffects.cpp:460:7: warning: variable 'vdiff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:463:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:465:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:469:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:471:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:475:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:475:18: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:482:38: warning: parameter name 'sp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:482:69: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:486:70: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/particle/ParticleEffects.cpp:486:84: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:488:2: warning: variable 'isNpc' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:488:36: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:496:3: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:496:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:499:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:500:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:500:8: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:500:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:500:13: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:505:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:505:8: warning: variable 'MAX_GROUND_SPLATS' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:512:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:513:4: warning: variable 'posi' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:513:55: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:525:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:525:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:538:45: warning: 2 adjacent parameters of 'ARX_PARTICLES_Spawn_Blood' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/particle/ParticleEffects.cpp:538:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:544:28: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:545:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:546:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:546:2: warning: variable 'count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:547:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:548:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:548:3: warning: variable 'vertex' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:549:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:549:16: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:560:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:560:2: warning: variable 'spawn_nb' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:560:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:560:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:562:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:564:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:566:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:572:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:577:35: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:585:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:585:6: warning: variable 'SPARK_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:589:45: warning: 2 adjacent parameters of 'ARX_PARTICLES_Spawn_Spark' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/particle/ParticleEffects.cpp:589:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:595:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:595:2: warning: variable 'spawn_nb' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:595:18: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:600:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:604:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:606:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:616:3: warning: variable 'len' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:616:21: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:617:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:617:17: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:617:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:635:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:642:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:642:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:648:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:650:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:655:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:655:3: warning: variable 'vertex' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:655:32: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:658:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/particle/ParticleEffects.cpp:672:43: warning: 2 adjacent parameters of 'ARX_PARTICLES_Add_Smoke' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/particle/ParticleEffects.cpp:672:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:672:55: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:674:2: warning: variable 'mod' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:678:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:701:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:701:13: warning: variable 'cur_mr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:705:16: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:709:3: warning: variable 'rr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:709:9: warning: variable name 'rr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:737:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:738:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/particle/ParticleEffects.cpp:738:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:745:5: warning: variable 'rr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:745:11: warning: variable name 'rr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:747:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:748:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:751:31: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:751:47: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:751:63: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:758:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:758:3: warning: variable 'vertex' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:763:6: warning: function 'ARX_MAGICAL_FLARES_Draw' has cognitive complexity of 48 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/particle/ParticleEffects.cpp:763:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:770:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:770:2: warning: variable 'TICKS' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:770:15: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:770:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:775:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:779:2: warning: variable 'key' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:781:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:783:22: warning: variable 'surf' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:791:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/particle/ParticleEffects.cpp:791:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:797:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:799:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:801:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:804:10: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:805:10: warning: variable 's' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:805:10: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:835:4: warning: variable 'c' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:835:12: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:839:22: warning: no header providing "componentwise_max" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:842:19: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:865:20: warning: no header providing "componentwise_min" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:872:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/particle/ParticleEffects.cpp:872:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:878:6: warning: function 'ARX_BOOMS_Add' has cognitive complexity of 50 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/particle/ParticleEffects.cpp:878:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:880:17: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:913:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:913:7: warning: variable name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:913:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:913:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:914:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:914:7: warning: variable name 'z0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:914:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:914:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:915:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:915:7: warning: variable name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:916:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:916:7: warning: variable name 'z1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:922:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:922:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:922:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:923:3: warning: variable 'eg' of type 'EERIE_BKG_INFO &' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:923:20: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:924:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:924:12: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:925:16: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:931:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:931:4: warning: variable 'nbvert' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:933:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:936:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:937:5: warning: variable 'ddd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:941:7: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/graphics/particle/ParticleEffects.cpp:949:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:949:4: warning: variable 'n' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:949:9: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:955:15: warning: variable name 'pb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:962:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:962:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:963:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:963:13: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:964:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:964:13: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:968:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:968:17: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:976:2: warning: variable 'poss' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:979:2: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:981:3: warning: variable 'vect' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:985:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/particle/ParticleEffects.cpp:988:58: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:996:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:997:4: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1001:5: warning: variable 'vect' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1008:6: warning: function 'UpdateObjFx' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/particle/ParticleEffects.cpp:1010:2: warning: no header providing "ColorBGRA" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1010:2: warning: variable 'c' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1010:12: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1011:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:1011:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1015:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:1015:17: warning: variable name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1024:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/particle/ParticleEffects.cpp:1024:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1030:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1030:3: warning: variable 'framediff' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1030:29: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1030:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1040:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1040:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1040:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1053:3: warning: no header providing "DrawEERIEObjEx" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1058:4: warning: variable 'c' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1058:12: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1069:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1070:4: warning: variable 'aa' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1070:10: warning: variable name 'aa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1071:4: warning: variable 'bb' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1071:10: warning: variable name 'bb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1078:4: warning: variable 't' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1078:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1080:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1081:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1082:23: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1083:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1083:37: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1084:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1085:23: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1086:4: warning: no header providing "EE_RTP" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1091:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1091:14: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1092:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1093:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1096:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1096:14: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1097:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1097:73: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1098:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1136:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1136:2: warning: undefined behavior, destination object type 'PARTICLE_DEF[2200]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/particle/ParticleEffects.cpp:1143:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:1146:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/particle/ParticleEffects.cpp:1148:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1156:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1156:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1160:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:1162:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:1171:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:1176:17: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1193:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1195:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1212:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1217:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1217:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1218:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1218:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1219:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1219:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1222:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1222:44: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1222:68: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1223:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1230:53: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1230:75: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1233:2: warning: variable 'nb' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1233:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1236:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1241:3: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1241:9: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1242:3: warning: variable 'b' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1242:9: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1246:20: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1246:31: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1246:41: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1246:52: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1246:62: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1254:69: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/particle/ParticleEffects.cpp:1256:2: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1258:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1260:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1268:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1268:17: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1273:11: warning: slicing object from type 'Color4' to 'Color3' discards 4 bytes of state [cppcoreguidelines-slicing] +Arx/src/graphics/particle/ParticleEffects.cpp:1279:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1279:2: warning: variable 'nbParticles' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1280:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1282:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1293:3: warning: variable 't' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1293:7: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1296:3: warning: variable 's' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1296:9: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1302:53: warning: 2 adjacent parameters of 'SpawnFireballTail' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/particle/ParticleEffects.cpp:1302:66: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1308:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1310:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1337:30: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1348:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:1352:17: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1373:6: warning: function 'ARX_PARTICLES_Render' has cognitive complexity of 183 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/particle/ParticleEffects.cpp:1385:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/particle/ParticleEffects.cpp:1385:17: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1387:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1387:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/particle/ParticleEffects.cpp:1387:2: warning: variable 'tim' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1387:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1387:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1392:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1401:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1401:20: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1402:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1402:3: warning: variable 'framediff2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1402:21: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1404:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1404:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1409:25: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1424:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1424:4: warning: variable 'xx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1424:9: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1424:14: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1425:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1425:4: warning: variable 'yy' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1425:9: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1425:14: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1431:4: warning: no header providing "FAST_BKG_DATA" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1431:4: warning: variable 'feg' of type 'FAST_BKG_DATA &' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1460:25: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1463:17: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1473:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1473:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1477:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1480:23: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1501:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1501:15: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1523:3: warning: variable 'fd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1523:9: warning: variable name 'fd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1523:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1523:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1524:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1526:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1526:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1526:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1526:13: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1528:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1528:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1530:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1530:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1536:17: warning: variable name 'sp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1538:4: warning: no header providing "EERIETreatPoint" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1559:5: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.cpp:1559:20: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1582:5: warning: variable 'siz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1596:5: warning: variable 'siz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1632:3: warning: variable 'op' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1632:9: warning: variable name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1638:4: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1638:10: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1646:36: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1651:22: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1653:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1653:4: warning: variable 'animrange' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1654:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1654:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1654:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1654:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1654:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1654:62: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1659:3: warning: variable 'siz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1664:11: warning: variable 'rott' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:1666:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1668:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1671:5: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1685:4: warning: variable 'siz2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1687:5: warning: variable 'in2' of type 'TexturedVertex' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1687:20: warning: local copy 'in2' of the variable 'in' is never modified; consider avoiding the copy [performance-unnecessary-copy-initialization] +Arx/src/graphics/particle/ParticleEffects.cpp:1698:4: warning: variable 'pos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1699:4: warning: variable 'col' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1700:4: warning: variable 'end' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1701:4: warning: variable 'masked' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1707:4: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1727:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/particle/ParticleEffects.cpp:1729:45: warning: no header providing "EXTRAS_STARTEXTINGUISHED" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1740:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1740:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:1743:6: warning: function 'TreatBackgroundActions' has cognitive complexity of 71 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/particle/ParticleEffects.cpp:1749:2: warning: variable 'fZFar' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1749:23: warning: no header providing "ACTIVECAM" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1751:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/particle/ParticleEffects.cpp:1753:17: warning: variable name 'gl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1758:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1762:24: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1766:20: warning: no header providing "EXTRAS_SPAWNFIRE" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1767:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1767:4: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1767:9: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1774:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.cpp:1781:41: warning: no header providing "EXTRAS_SPAWNSMOKE" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1791:4: warning: variable 'pitch' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1797:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1804:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1804:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1807:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1809:6: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1809:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1809:24: warning: no header providing "PI" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1810:6: warning: variable 's' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1810:12: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1810:22: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1810:32: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1810:42: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1815:40: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1823:30: warning: no header providing "EXTRAS_COLORLEGACY" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1832:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1834:6: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1834:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1835:6: warning: variable 's' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1835:12: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1835:22: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1835:32: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1835:42: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1837:6: warning: variable 'vect' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1838:6: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1838:12: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1838:30: warning: no header providing "EXTRAS_FIREPLACE" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1841:41: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1856:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/particle/ParticleEffects.cpp:1856:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1863:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/particle/ParticleEffects.cpp:1863:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1876:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleEffects.cpp:1886:6: warning: function 'AddFlare' has cognitive complexity of 32 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/particle/ParticleEffects.cpp:1886:15: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1886:28: warning: 2 adjacent parameters of 'AddFlare' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/particle/ParticleEffects.cpp:1886:34: warning: parameter name 'sm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1886:38: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1886:58: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1888:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1888:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:1888:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1898:11: warning: variable name 'fl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1902:20: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/graphics/particle/ParticleEffects.cpp:1911:10: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1912:10: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1916:15: warning: variable name 'ka' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1919:2: warning: no header providing "SetActiveCamera" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1920:2: warning: no header providing "PrepareCamera" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1922:2: warning: no header providing "EE_RTT" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1925:2: warning: variable 'vx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1925:8: warning: variable name 'vx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1925:23: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1926:2: warning: variable 'vy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1926:8: warning: variable name 'vy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1926:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:1928:27: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1929:27: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1930:27: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:1932:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1932:31: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] +Arx/src/graphics/particle/ParticleEffects.cpp:1932:57: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1933:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1933:31: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] +Arx/src/graphics/particle/ParticleEffects.cpp:1933:57: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:1938:3: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1947:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/graphics/particle/ParticleEffects.cpp:1947:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/particle/ParticleEffects.cpp:1963:3: warning: variable 'zz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1963:9: warning: variable name 'zz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:1963:48: 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/ParticleEffects.cpp:1986:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:1992:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2017:6: warning: function 'AddFlare2' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/particle/ParticleEffects.cpp:2017:29: warning: 2 adjacent parameters of 'AddFlare2' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/particle/ParticleEffects.cpp:2017:35: warning: parameter name 'sm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2017:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:2017:59: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2019:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:2019:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:2019:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2029:11: warning: variable name 'fl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2033:20: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/graphics/particle/ParticleEffects.cpp:2042:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:2043:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:2047:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/graphics/particle/ParticleEffects.cpp:2047:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/particle/ParticleEffects.cpp:2063:3: warning: variable 'zz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:2063:9: warning: variable name 'zz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2063:48: 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/ParticleEffects.cpp:2086:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:2092:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2116:16: warning: 2 adjacent parameters of 'AddLFlare' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/particle/ParticleEffects.cpp:2116:22: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2116:31: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2116:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2119:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:2119:9: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:2120:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:2120:9: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:2125:53: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2127:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/particle/ParticleEffects.cpp:2127:8: warning: variable 'dx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:2127:8: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2127:11: warning: variable 'dy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:2127:11: warning: variable name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2127:14: warning: variable 'adx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:2127:18: warning: variable 'ady' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:2127:22: warning: variable 'm' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:2127:22: warning: variable name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2128:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:2128:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:2128:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2129:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.cpp:2129:7: warning: variable 'z' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleEffects.cpp:2129:7: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2130:8: warning: variable name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2131:8: warning: variable name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2132:8: warning: variable name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2133:8: warning: variable name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.cpp:2135:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:2137:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleEffects.cpp:2143:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2145:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2146:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2147:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2154:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2156:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2158:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2161:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2162:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:2168:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2170:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2172:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2175:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2176:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:2184:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2185:7: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2186:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2188:7: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2194:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2196:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2198:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2201:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2202:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:2208:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2210:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2212:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2215:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:2216:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.h:64:8: warning: accessing fields in struct 'FLARES' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/particle/ParticleEffects.h:64:8: warning: constructor does not initialize these fields: exist, type, flags, x, y, tolive, size, dynlight, move, io, bDrawBitmap [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/particle/ParticleEffects.h:67:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:75:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:76:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:81:8: warning: accessing fields in struct 'POLYBOOM' is inefficient due to padding; only needs 92 bytes but is using 104 bytes [altera-struct-pack-align] +Arx/src/graphics/particle/ParticleEffects.h:81:8: warning: accessing fields in struct 'POLYBOOM' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/particle/ParticleEffects.h:81:8: warning: constructor does not initialize these fields: exist, tx, tz, ep, tc, timecreation, tolive, type, nbvert [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/particle/ParticleEffects.h:82:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:83:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:84:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:86:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.h:87:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.h:90:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:91:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:92:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:93:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:96:8: warning: accessing fields in struct 'PARTICLE_DEF' is inefficient due to padding; only needs 146 bytes but is using 168 bytes [altera-struct-pack-align] +Arx/src/graphics/particle/ParticleEffects.h:96:8: warning: accessing fields in struct 'PARTICLE_DEF' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/particle/ParticleEffects.h:96:8: warning: constructor does not initialize these fields: exist, type, siz, zdec, timcreation, tolive, delay, tc, special, fparam, mask, source, sourceionum, sval, cval1, cval2 [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/particle/ParticleEffects.h:98:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:105:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:106:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:107:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:110:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:112:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:114:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:115:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:121:8: warning: accessing fields in struct 'FOG_DEF' is inefficient due to padding; only needs 133 bytes but is using 152 bytes [altera-struct-pack-align] +Arx/src/graphics/particle/ParticleEffects.h:121:8: warning: accessing fields in struct 'FOG_DEF' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/particle/ParticleEffects.h:121:8: warning: constructor does not initialize these fields: exist, selected, size, special, scale, speed, rotatespeed, tolive, blend, frequency, lastupdate [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/particle/ParticleEffects.h:124:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:128:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:134:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:137:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:139:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:143:8: warning: accessing fields in struct 'FLARETC' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/graphics/particle/ParticleEffects.h:148:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.h:151:9: warning: macro 'MAX_FOG' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:152:9: warning: macro 'FOG_DIRECTIONAL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:153:9: warning: macro 'MAX_POLYBOOM' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:154:9: warning: macro 'PARTICLE_2D' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:155:9: warning: macro 'MAX_FLARES' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:156:9: warning: macro 'MAX_FLARELIFE' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:157:9: warning: macro 'FLARE_MUL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:183:9: warning: macro 'BOOM_RADIUS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:184:9: warning: macro 'BOOM_RADIUS2' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:185:9: warning: macro 'MAX_OBJFX' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:186:9: warning: macro 'SPECIAL_RAYZ' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:187:9: warning: macro 'FLARELINESTEP' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:188:9: warning: macro 'FLARELINERND' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:189:9: warning: macro 'MAX_EXPLO' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/particle/ParticleEffects.h:192:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.h:192:27: warning: variable 'explo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:193:27: warning: variable 'blood_splat' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:193:27: warning: variable 'blood_splat' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:194:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.h:194:15: warning: variable 'flare' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:195:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:195:13: warning: variable 'flarenum' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:196:8: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:196:14: warning: variable 'OPIPOrgb' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:197:8: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:197:14: warning: variable 'PIPOrgb' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:198:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:198:13: warning: variable 'BoomCount' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:199:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.h:199:17: warning: variable 'polyboom' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:200:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleEffects.h:200:16: warning: variable 'fogs' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:201:27: warning: variable 'fire2' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:201:27: warning: variable 'fire2' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:202:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:202:13: warning: variable 'NewSpell' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:203:16: warning: variable 'flaretc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/particle/ParticleEffects.h:212:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:212:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:213:34: warning: parameter name 'sm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:213:38: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:213:58: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:213:63: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.h:214:35: warning: parameter name 'sm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:214:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:214:59: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:215:22: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:215:31: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:215:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:215:48: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.h:216:53: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:216:58: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.h:220:53: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:220:75: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:222:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:224:38: warning: parameter name 'sp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:224:69: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:227:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:232:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:233:84: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:234:58: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleEffects.h:234:63: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.h:235:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:235:55: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:235:84: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.h:236:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:241:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:245:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleEffects.h:247:72: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.h:247:94: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleEffects.h:248:31: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/particle/ParticleEffects.h:248:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleManager.cpp:62:33: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleManager.cpp:74:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleManager.cpp:76:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleManager.cpp:78:35: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleManager.cpp:83:20: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleManager.cpp:103:35: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleManager.cpp:107:20: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleManager.h:51: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/ParticleManager.h:51:7: warning: class 'ParticleManager' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/particle/ParticleManager.h:64:34: warning: parameter name 'ps' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleManager.h:66:7: warning: function 'ParticleManager::Update' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/particle/ParticleManager.h:66:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleParams.h:68:7: warning: use default member initializer for 'bTexInfo' [modernize-use-default-member-init] +Arx/src/graphics/particle/ParticleParams.h:78:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleParams.h:79:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleParams.h:84:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleParams.h:85:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleParams.h:87:2: warning: constructor does not initialize these fields: iNbMax, iFreq, bRotationRandomDirection, bRotationRandomStart, fLife, fLifeRandom, fAngle, fSpeed, fSpeedRandom, fFlash, fRotation, bTexLoop, iTexNb, iTexTime, iBlendMode, lpszTexName, bStartLock, fStartSize, fStartSizeRandom, bEndLock, fEndSize, fEndSizeRandom [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/particle/ParticleSystem.cpp:66:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:71:1: warning: constructor does not initialize these fields: uMaxParticles, uParticlesPerSec, bTexLoop, eMat, fMinx, fMaxx, fMiny, fMaxy [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/particle/ParticleSystem.cpp:73:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleSystem.cpp:73:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:75:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleSystem.cpp:90:14: warning: no header providing "Renderer" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:92:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/particle/ParticleSystem.cpp:142:27: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:157:22: warning: method 'SetColor' can be made const [readability-make-member-function-const] +Arx/src/graphics/particle/ParticleSystem.cpp:213:2: warning: variable 'eVect' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:216:2: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:216:8: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:217:2: warning: variable 'g' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:217:8: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:218:2: warning: variable 'b' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:218:8: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:257:55: warning: 2 adjacent parameters of 'SetTexture' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/particle/ParticleSystem.cpp:267:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleSystem.cpp:272:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/graphics/particle/ParticleSystem.cpp:282:22: warning: method 'SpawnParticle' can be made const [readability-make-member-function-const] +Arx/src/graphics/particle/ParticleSystem.cpp:282:47: warning: parameter name 'pP' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:288:3: warning: variable 'randd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:289:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleSystem.cpp:291:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleSystem.cpp:293:3: warning: variable 'randd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:294:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleSystem.cpp:296:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleSystem.cpp:301:24: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/graphics/particle/ParticleSystem.cpp:307:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/particle/ParticleSystem.cpp:307:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:307:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:307:12: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleSystem.cpp:308:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/particle/ParticleSystem.cpp:308:2: warning: variable 's' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:308:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:308:12: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleSystem.cpp:315:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/particle/ParticleSystem.cpp:315:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:315:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:315:12: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleSystem.cpp:316:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/particle/ParticleSystem.cpp:316:2: warning: variable 's' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:316:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:316:12: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/particle/ParticleSystem.cpp:323:51: warning: parameter name 'pP' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:327:2: warning: variable 'fTTL' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:328:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleSystem.cpp:329:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleSystem.cpp:331:2: warning: variable 'fAngleX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:333:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/particle/ParticleSystem.cpp:341:26: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:344:2: warning: variable 'fSpeed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:351:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:351:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:369:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:369:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:387:3: warning: variable 'fRandom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:391:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleSystem.cpp:394:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleSystem.cpp:413:22: warning: method 'IsAlive' can be made const [readability-make-member-function-const] +Arx/src/graphics/particle/ParticleSystem.cpp:415:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleSystem.cpp:416:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/graphics/particle/ParticleSystem.cpp:422:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleSystem.cpp:424:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleSystem.cpp:428:6: warning: variable 'iNb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleSystem.cpp:429:2: warning: variable 'fTimeSec' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:429:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleSystem.cpp:430:13: warning: variable 'pP' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleSystem.cpp:430:13: warning: variable name 'pP' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:432:29: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:471:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleSystem.cpp:471:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:474:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleSystem.cpp:479:4: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/particle/ParticleSystem.cpp:479:15: warning: variable name 'pP' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:491:22: warning: function 'Render' has cognitive complexity of 62 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/particle/ParticleSystem.cpp:493:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:500:29: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:504:14: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.cpp:510:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleSystem.cpp:521:6: warning: variable 'fNbTex' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:521:22: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleSystem.cpp:521:50: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleSystem.cpp:560:11: warning: variable 'fRot' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/particle/ParticleSystem.cpp:561:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleSystem.cpp:562:35: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleSystem.cpp:563:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleSystem.cpp:564:36: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleSystem.cpp:566:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleSystem.cpp:571:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/particle/ParticleSystem.h:59: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.h:64:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.h:64:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/particle/ParticleSystem.h:64:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/particle/ParticleSystem.h:64:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/particle/ParticleSystem.h:66: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:66:7: warning: class 'ParticleSystem' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/particle/ParticleSystem.h:79:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleSystem.h:86:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleSystem.h:87:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/particle/ParticleSystem.h:112:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleSystem.h:113:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleSystem.h:118:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleSystem.h:119:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/particle/ParticleSystem.h:126:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleSystem.h:134:7: warning: function 'ParticleSystem::SpawnParticle' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/particle/ParticleSystem.h:135:7: warning: function 'ParticleSystem::SetParticleParams' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/particle/ParticleSystem.h:137:7: warning: function 'ParticleSystem::SetParams' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/particle/ParticleSystem.h:139:30: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/particle/ParticleSystem.h:140:7: warning: function 'ParticleSystem::SetPos' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/particle/ParticleSystem.h:141:21: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/particle/ParticleSystem.h:145:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/particle/ParticleSystem.h:145:18: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells01.cpp:72:26: warning: variable 'pParticleManager' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells01.cpp:72:26: warning: variable 'pParticleManager' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells01.cpp:74:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:74:13: warning: variable 'cur_mr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells01.cpp:76:34: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:76:49: warning: 2 adjacent parameters of 'LaunchMagicMissileExplosion' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells01.cpp:76:53: warning: parameter name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:76:60: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:79:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells01.cpp:80:17: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:81:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/spells/Spells01.cpp:81:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:81:2: warning: undefined behavior, destination object type 'ParticleParams' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/spells/Spells01.cpp:87:14: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:145:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells01.cpp:147:2: warning: variable 'eP' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:147:8: warning: local copy 'eP' of the variable '_ePos' is never modified; consider avoiding the copy [performance-unnecessary-copy-initialization] +Arx/src/graphics/spells/Spells01.cpp:147:8: warning: variable name 'eP' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:153:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:153:2: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:153:7: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:153:12: warning: no header providing "GetFreeDynLight" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:187:1: warning: constructor does not initialize these fields: iLength, iBezierPrecision, fTrail, fOneOnBezierPrecision, snd_loop [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells01.cpp:187:34: warning: initializer for base class 'CSpellFx' is redundant [readability-redundant-member-init] +Arx/src/graphics/spells/Spells01.cpp:194:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:212:14: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:212:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells01.cpp:224:55: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:226:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells01.cpp:226:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:226:11: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:237:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:238:28: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:239:9: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:239:9: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:239:9: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:239:21: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:240:28: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:248:3: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells01.cpp:258:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:264:13: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:264:60: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/spells/Spells01.cpp:267:38: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells01.cpp:272:28: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:274:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:274:2: warning: variable 't' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:274:16: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:275:20: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:288:28: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:296:22: warning: function 'Render' has cognitive complexity of 46 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells01.cpp:298:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:300:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells01.cpp:301:8: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:306:8: warning: variable name 'av' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:314:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:322:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:324:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:332:13: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:332:47: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:339:3: warning: variable 'kp' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:339:7: warning: variable name 'kp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:340:3: warning: variable 'kpprec' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:341:3: warning: variable 'kpsuiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:342:3: warning: variable 'kpsuivsuiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:346:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:346:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:348:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:348:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:348:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:350:4: warning: variable 't1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:350:10: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:351:4: warning: variable 't2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:351:10: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:352:4: warning: variable 't3' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:352:10: warning: variable name 't3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:353:4: warning: variable 'f0' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:353:10: warning: variable name 'f0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:354:4: warning: variable 'f1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:354:10: warning: variable name 'f1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:355:4: warning: variable 'f2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:355:10: warning: variable name 'f2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:356:4: warning: variable 'f3' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:356:10: warning: variable name 'f3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:359:10: warning: variable name 'p0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:360:10: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:375:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:375:53: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:377:11: warning: variable 'c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells01.cpp:377:11: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:379:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:381:28: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:385:28: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:385:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:391:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells01.cpp:391:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:395:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:396:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:398:5: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:398:5: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:398:45: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:400:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:402:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:405:5: warning: variable 'fs' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:405:11: warning: variable name 'fs' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:406:5: warning: variable 'fe' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:406:11: warning: variable name 'fe' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:410:4: warning: variable 'temp_vector' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:418:2: warning: variable 'bubu' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:418:15: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:419:2: warning: variable 'bubu1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:423:18: warning: no header providing "degrees" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:427:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:430:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:433:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:451:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:452:4: warning: no header providing "DrawEERIEObjEx" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:462:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:462:59: warning: initializer for base class 'CSpellFx' is redundant [readability-redundant-member-init] +Arx/src/graphics/spells/Spells01.cpp:465:2: warning: 'uiNumber' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells01.cpp:466:2: warning: 'pTab' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells01.cpp:466:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells01.cpp:474:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells01.cpp:502:26: warning: function 'Create' has cognitive complexity of 44 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells01.cpp:505:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:515:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:515:4: warning: variable 'group' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:520:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells01.cpp:520:9: warning: variable 'afAlpha' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells01.cpp:520:18: warning: variable 'afBeta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells01.cpp:526:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:526:41: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:527:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:528:15: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:528:40: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:536:30: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:538:30: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:546:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:546:41: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:547:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:548:15: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:548:40: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:559:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:563:13: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:564:13: warning: variable name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:565:63: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:569:13: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:570:13: warning: variable name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:589:5: warning: variable 'fTime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:589:19: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:590:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:590:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:592:19: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:592:23: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/spells/Spells01.cpp:595:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells01.cpp:595:27: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:595:27: warning: redundant explicit casting to the same type 'CMagicMissile *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/spells/Spells01.cpp:609:20: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:640:26: warning: function 'CheckCollision' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells01.cpp:648:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells01.cpp:648:27: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:648:27: warning: redundant explicit casting to the same type 'CMagicMissile *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/spells/Spells01.cpp:671:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:671:7: warning: variable 'ttt' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:696:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:713:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:722:5: warning: variable 'fa' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:722:11: warning: variable name 'fa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:724:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells01.cpp:724:27: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:724:27: warning: redundant explicit casting to the same type 'CMagicMissile *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/spells/Spells01.cpp:728:20: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:731:26: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:731:27: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:734:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:739:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:747:1: warning: constructor does not initialize these fields: perimetre, key, duration, currduration, interp, tp, mask, nblight [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells01.cpp:747:9: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells01.cpp:758:19: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/graphics/spells/Spells01.cpp:760:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:764:3: warning: variable 'id' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:764:7: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:766:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:776:35: warning: 2 adjacent parameters of 'Create' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells01.cpp:785:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:794:37: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:801:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:801:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells01.cpp:801:2: warning: variable 'sMode' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:801:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:822:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:828:38: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:832:3: warning: variable 'id' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:832:7: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:833:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:846:21: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:848:8: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells01.cpp:848:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:849:7: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells01.cpp:849:7: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:856:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/spells/Spells01.cpp:859:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:859:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:861:4: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells01.cpp:861:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:871:6: warning: variable 'id' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:871:10: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:885:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:885:50: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:891:37: warning: narrowing conversion from constant value 4278190335 (0xFF0000FF) of type 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:897:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:910:6: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells01.cpp:910:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:916:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:920:5: warning: variable 'unsuri' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:944:20: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:944:27: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:944:34: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:944:43: warning: parameter name 'yo' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:948:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:948:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:948:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:948:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:972:75: warning: 2 adjacent parameters of 'DrawArcElectrique' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells01.cpp:974:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells01.cpp:974:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:975:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells01.cpp:975:17: warning: variable name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:977:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:977:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells01.cpp:977:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:990:3: warning: variable 'astart' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:991:3: warning: variable 'a' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:991:9: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:999:9: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1011:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1011:26: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:1011:26: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:1011:58: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1011:65: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:1027:2: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:1031:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1038:44: warning: 3 adjacent parameters of 'AddNewEclair' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells01.cpp:1040:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1042:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1044:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1047:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:1047:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells01.cpp:1047:2: warning: variable 'sNbSeg' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:1047:29: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:1071:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1077:10: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells01.cpp:1077:10: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1079:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1079:57: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1081:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells01.cpp:1081:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1083:99: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1085:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1096:22: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.cpp:1098:8: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells01.cpp:1098:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1100:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/spells/Spells01.cpp:1103:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1103:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1114:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1114:52: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:1120:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells01.cpp:1120:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1125:22: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:1127:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1127:53: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:1131:27: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:1134:5: warning: variable 'numpt' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:1150:16: warning: function 'Render' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells01.cpp:1157:8: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1158:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells01.cpp:1158:19: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1159:10: warning: variable name 'pt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1160:2: warning: variable 'col' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:1160:12: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells01.cpp:1160:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1160:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1167:3: warning: no header providing "EE_RTP" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells01.cpp:1169:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1183:10: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells01.cpp:1183:10: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1185:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1185:57: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1187:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells01.cpp:1187:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1191:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1191:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1193:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells01.cpp:1193:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1195:9: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1195:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1197:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells01.cpp:1197:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1199:9: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1199:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells01.cpp:1201:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells01.cpp:1201:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1203:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells01.cpp:1213:101: 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/graphics/spells/Spells01.cpp:1221:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1223:4: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:1223:10: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1224:4: warning: variable 'b' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:1224:10: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1225:4: warning: variable 'rr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells01.cpp:1225:10: warning: variable name 'rr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.cpp:1227:21: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:1227:32: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:1227:42: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:1227:52: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:1227:63: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells01.cpp:1239:101: 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/graphics/spells/Spells01.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/spells/Spells01.h:51:7: warning: class 'CMagicMissile' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells01.h:66:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells01.h:70:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:73:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:73:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells01.h:74:23: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells01.h:77:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells01.h:78:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:78:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:78:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells01.h:79:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:83:7: warning: class 'CMultiMagicMissile' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells01.h:83:7: warning: class 'CMultiMagicMissile' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells01.h:92:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:92:35: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.h:93:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:98:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:98:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:98:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells01.h:99:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:104:7: warning: class 'CIgnit' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells01.h:104:7: warning: class 'CIgnit' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells01.h:110:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:119:9: warning: accessing fields in struct 'T_LINKLIGHTTOFX' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells01.h:119:9: warning: constructor does not initialize these fields: actif, idl, iLightNum [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells01.h:129:16: warning: member variable 'nblight' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells01.h:130:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells01.h:130:18: warning: member variable 'tablight' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells01.h:133:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:135:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:135:16: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:135:28: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/graphics/spells/Spells01.h:140:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:140:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:141:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:146:27: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.h:146:36: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.h:146:39: warning: 2 adjacent parameters of 'ChangeRGBMask' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells01.h:146:45: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.h:151:40: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells01.h:155:8: warning: method 'GetPerimetre' can be made const [readability-make-member-function-const] +Arx/src/graphics/spells/Spells01.h:155:21: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/graphics/spells/Spells01.h:173:7: warning: class 'CPortal' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells01.h:173:7: warning: class 'CPortal' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells01.h:177:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:184:9: warning: accessing fields in struct 'T_ECLAIR' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells01.h:185:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:194:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells01.h:199:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:207:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:209:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:209:16: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:209:28: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/graphics/spells/Spells01.h:215:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells01.h:215:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells01.h:215:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells01.h:216:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells02.cpp:49:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells02.cpp:63:1: warning: constructor does not initialize these fields: fSize, tex_sol, tex_heal [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells02.cpp:68:2: warning: 'pPS' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells02.cpp:72:20: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells02.cpp:72:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells02.cpp:77:11: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells02.cpp:85:18: warning: no header providing "GetFreeDynLight" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells02.cpp:89:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.cpp:89:3: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells02.cpp:89:8: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells02.cpp:105:17: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells02.cpp:106:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/spells/Spells02.cpp:106:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells02.cpp:106:2: warning: undefined behavior, destination object type 'ParticleParams' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/spells/Spells02.cpp:116:14: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells02.cpp:157:20: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.cpp:172:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells02.cpp:177:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.cpp:177:3: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells02.cpp:177:8: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells02.cpp:192:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.cpp:192:2: warning: variable 'ulCalc' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells02.cpp:193:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells02.cpp:194:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.cpp:194:2: warning: variable 'ff' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells02.cpp:194:7: warning: variable name 'ff' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells02.cpp:194:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.cpp:202:8: warning: no header providing "std::list" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells02.cpp:202:35: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells02.cpp:206:15: warning: variable name 'pP' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells02.cpp:221:14: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells02.cpp:240:9: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells02.cpp:245:9: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells02.cpp:250:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.cpp:257:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells02.cpp:259:34: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells02.cpp:269:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells02.cpp:274:21: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.cpp:276:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells02.cpp:289:14: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells02.cpp:294:14: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells02.cpp:299:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.cpp:305:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells02.cpp:317:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells02.cpp:322:26: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.cpp:324:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells02.h:53:7: warning: class 'CHeal' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells02.h:53:7: warning: class 'CHeal' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells02.h:62:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells02.h:64:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells02.h:66:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells02.h:68:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells02.h:68:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.h:68:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells02.h:69:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells02.h:73:7: warning: class 'CLowerArmor' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells02.h:73:7: warning: class 'CLowerArmor' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells02.h:78:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells02.h:80:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.h:80:18: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells02.h:82:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells02.h:82:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.h:82:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells02.h:83:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells02.h:87:7: warning: class 'CArmor' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells02.h:87:7: warning: class 'CArmor' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells02.h:92:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells02.h:94:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.h:94:18: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells02.h:95:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells02.h:95:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells02.h:95:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells02.h:96:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.cpp:67:1: warning: constructor does not initialize these fields: fLevel [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells03.cpp:67:26: warning: initializer for base class 'CSpellFx' is redundant [readability-redundant-member-init] +Arx/src/graphics/spells/Spells03.cpp:69:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells03.cpp:74:2: warning: 'bExplo' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells03.cpp:78:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:78:2: warning: undefined behavior, destination object type 'ParticleParams' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/spells/Spells03.cpp:83:18: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:108:2: warning: undefined behavior, destination object type 'ParticleParams' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/spells/Spells03.cpp:136:2: warning: undefined behavior, destination object type 'ParticleParams' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/spells/Spells03.cpp:172:12: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells03.cpp:178:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:180:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:180:2: warning: variable 't' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:180:16: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:185:7: warning: no header providing "std::list" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:185:34: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:187:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:187:2: warning: variable 'ulCalc' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:188:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:189:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:189:2: warning: variable 'ff' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:189:7: warning: variable name 'ff' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:189:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:194:14: warning: variable name 'pP' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:213:30: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells03.cpp:213:37: warning: 3 adjacent parameters of 'Create' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells03.cpp:222:12: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:222:33: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells03.cpp:222:33: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:222:45: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:223:12: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells03.cpp:223:12: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:223:12: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:224:12: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:224:33: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells03.cpp:235:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells03.cpp:249:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells03.cpp:259:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells03.cpp:273:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/spells/Spells03.cpp:273:9: warning: macro 'MIN_TIME_FIREBALL' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/spells/Spells03.cpp:273:9: warning: macro 'MIN_TIME_FIREBALL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/spells/Spells03.cpp:275:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:282:19: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:283:23: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:301:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:301:4: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:325:66: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:327:18: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells03.cpp:329:18: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells03.cpp:332:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:336:13: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:337:11: warning: variable name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:339:24: warning: no header providing "degrees" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:339:32: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:339:68: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:344:13: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:344:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells03.cpp:345:13: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells03.cpp:345:13: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:346:13: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:346:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells03.cpp:348:3: warning: variable 'vMove' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:354:32: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:365:17: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:366:18: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:375:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:395:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:395:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells03.cpp:404:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells03.cpp:407:1: warning: constructor does not initialize these fields: fSize, fColor [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells03.cpp:412:2: warning: 'iNumber' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells03.cpp:417:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:422:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:432:35: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells03.cpp:432:42: warning: 2 adjacent parameters of 'Create' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells03.cpp:434:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells03.cpp:440:35: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells03.cpp:447:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells03.cpp:447:8: warning: variable 'xmin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells03.cpp:447:14: warning: variable 'ymin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells03.cpp:447:20: warning: variable 'zmin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells03.cpp:449:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells03.cpp:449:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:449:11: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:449:14: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:454:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells03.cpp:462:8: warning: variable 'fd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells03.cpp:462:8: warning: variable name 'fd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:464:7: warning: no header providing "Visible" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:464:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells03.cpp:473:2: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:473:16: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:474:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:476:2: warning: variable 'fDist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:476:36: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:480:2: warning: variable 'end' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:488:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:488:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:490:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:492:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:511:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:511:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:514:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:514:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:517:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:517:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:520:3: warning: variable 'iNum' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:520:14: warning: redundant explicit casting to the same type 'int' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/spells/Spells03.cpp:535:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:535:3: warning: variable 'ttt' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:541:28: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:553:29: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:559:12: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:569:23: warning: function 'Render' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells03.cpp:571:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:573:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:580:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells03.cpp:580:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:580:48: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:582:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:582:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:586:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:589:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:589:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:592:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:595:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:595:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:598:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:598:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:601:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:604:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:604:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:610:3: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:612:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells03.cpp:612:26: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells03.cpp:617:9: warning: variable 'tt' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells03.cpp:617:9: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:622:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:622:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:624:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:624:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:626:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:626:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:630:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:631:4: warning: no header providing "DrawEERIEObjEx" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:632:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:638:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:638:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:641:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:646:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:646:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:647:19: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:648:37: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:657:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:662:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:662:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:663:19: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:664:37: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:680:21: warning: 2 adjacent parameters of 'Create' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells03.cpp:689:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:696:7: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:698:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells03.cpp:698:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:700:2: warning: no header providing "EERIE_GROUPLIST" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:705:3: warning: variable 'col' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:706:3: warning: variable 'size' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:707:3: warning: variable 'taille' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:707:16: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:708:21: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:716:26: warning: 7 adjacent parameters of 'AddRubanDef' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells03.cpp:716:65: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:716:74: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:716:83: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:716:92: warning: parameter name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:716:102: warning: parameter name 'g2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:716:112: warning: parameter name 'b2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:718:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:736:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:740:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:747:29: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:747:32: warning: 2 adjacent parameters of 'AddRuban' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells03.cpp:747:36: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:749:6: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells03.cpp:769:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells03.cpp:769:7: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:778:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:778:19: warning: no header providing "ARX_DEAD_CODE" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:798:21: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:800:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells03.cpp:800:6: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells03.cpp:800:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:800:10: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells03.cpp:802:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/spells/Spells03.cpp:808:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:827:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells03.cpp:827:50: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.cpp:831:33: warning: 6 adjacent parameters of 'DrawRuban' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells03.cpp:831:60: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:831:69: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:831:78: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:831:87: warning: parameter name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:831:97: warning: parameter name 'g2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:831:107: warning: parameter name 'b2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:833:6: warning: variable 'numsuiv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells03.cpp:835:2: warning: variable 'dsize' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:836:7: warning: variable name 'r1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:836:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells03.cpp:837:7: warning: variable name 'g1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:837:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells03.cpp:838:7: warning: variable name 'b1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:838:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells03.cpp:839:2: warning: variable 'rr2' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:839:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells03.cpp:840:2: warning: variable 'gg2' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:840:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells03.cpp:841:2: warning: variable 'bb2' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:841:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells03.cpp:842:2: warning: variable 'dr' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:842:7: warning: variable name 'dr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:843:2: warning: variable 'dg' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:843:7: warning: variable name 'dg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:844:2: warning: variable 'db' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:844:7: warning: variable name 'db' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:891:1: warning: constructor does not initialize these fields: fSize, tex_sol, tex_heal [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells03.cpp:894:2: warning: 'pPS' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells03.cpp:897:14: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells03.cpp:904:17: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:905:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/spells/Spells03.cpp:905:2: warning: undefined behavior, destination object type 'ParticleParams' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/spells/Spells03.cpp:949:25: warning: no header providing "PARTICLE_CIRCULAR" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:949:45: warning: no header providing "PARTICLE_BORDER" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells03.cpp:956:26: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:973:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:973:2: warning: variable 'ulCalc' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:975:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:975:2: warning: variable 'ff' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells03.cpp:975:7: warning: variable name 'ff' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:975:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.cpp:985:35: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:989:15: warning: variable name 'pP' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.cpp:1005:14: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells03.h:53:7: warning: class 'CFireBall' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells03.h:53:7: warning: class 'CFireBall' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells03.h:56:9: warning: member variable 'eSrc' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells03.h:57:9: warning: member variable 'eCurPos' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells03.h:58:9: warning: member variable 'eMove' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells03.h:59:8: warning: member variable 'bExplo' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells03.h:60:9: warning: member variable 'fLevel' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells03.h:62:18: warning: member variable 'pPSFire' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells03.h:63:18: warning: member variable 'pPSFire2' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells03.h:64:18: warning: member variable 'pPSSmoke' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells03.h:72:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:75:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells03.h:76:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.h:76:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells03.h:78:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells03.h:79:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells03.h:81:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:81:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.h:81:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells03.h:82:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:85:7: warning: constructor does not initialize these fields: key, duration, currduration, num, tp, nbrubandef [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells03.h:88:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells03.h:95:10: warning: accessing fields in struct 'T_RUBAN' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells03.h:95:10: warning: constructor does not initialize these fields: actif, next [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells03.h:101:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells03.h:103:10: warning: accessing fields in struct 'T_RUBAN_DEF' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells03.h:114:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells03.h:116:20: warning: redundant void argument list in function declaration [modernize-redundant-void-arg] +Arx/src/graphics/spells/Spells03.h:117:23: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:117:30: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:118:54: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:118:63: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:118:72: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:118:81: warning: parameter name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:118:91: warning: parameter name 'g2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:118:101: warning: parameter name 'b2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:121:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.h:121:17: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:121:29: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/graphics/spells/Spells03.h:126:59: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:126:68: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:126:77: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:126:86: warning: parameter name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:126:96: warning: parameter name 'g2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:126:106: warning: parameter name 'b2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells03.h:128:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:128:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.h:128:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells03.h:129:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:133:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/graphics/spells/Spells03.h:133:9: warning: macro 'MAX_ICE' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/graphics/spells/Spells03.h:133:9: warning: macro 'MAX_ICE' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/graphics/spells/Spells03.h:135:7: warning: class 'CIceProjectile' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells03.h:135:7: warning: class 'CIceProjectile' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells03.h:140:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells03.h:144:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells03.h:145:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells03.h:146:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells03.h:149:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells03.h:151:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells03.h:153:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:156:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells03.h:160:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells03.h:161:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells03.h:162:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells03.h:164:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:164:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.h:164:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells03.h:165:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:169:7: warning: class 'CCreateFood' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells03.h:169:7: warning: class 'CCreateFood' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells03.h:178:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells03.h:180:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:182:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells03.h:184:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells03.h:184:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells03.h:184:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells03.h:185:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.cpp:64:1: warning: constructor does not initialize these fields: bDone, iNumber, fRot, fRotPerMSec, iNbPS, iMax, fSize [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells04.cpp:66:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells04.cpp:67:2: warning: 'eTarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells04.cpp:76:27: warning: the parameter '_eSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells04.cpp:89:30: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:94:21: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:98:10: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells04.cpp:104:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:106:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:106:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:107:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:107:8: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:108:2: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:108:8: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:115:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:119:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells04.cpp:119:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:120:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells04.cpp:120:17: warning: variable name 'v3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:122:2: warning: variable 'ff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:122:8: warning: variable name 'ff' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:122:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:122:14: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/spells/Spells04.cpp:123:2: warning: variable 'fBetaRadCos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:123:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:123:30: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells04.cpp:123:30: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:123:34: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:123:42: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:124:2: warning: variable 'fBetaRadSin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:124:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:124:30: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells04.cpp:124:30: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:126:2: warning: no header providing "ColorBGRA" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:126:2: warning: variable 'color' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:126:20: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:164:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:172:16: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:186:34: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells04.cpp:192:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:192:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells04.cpp:193:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:193:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells04.cpp:199:28: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:213:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:217:2: warning: no header providing "DrawEERIEObjEx" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:236:10: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:236:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells04.cpp:245:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells04.cpp:254:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells04.cpp:258:33: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells04.cpp:264:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:264:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells04.cpp:265:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:265:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells04.cpp:271:27: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:285:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:304:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells04.cpp:308:1: warning: constructor does not initialize these fields: bDone, iNumber, tex_p2, fRot, fRotPerMSec [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells04.cpp:310:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells04.cpp:311:2: warning: 'eTarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells04.cpp:325:27: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells04.cpp:333:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:333:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells04.cpp:334:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells04.cpp:334:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells04.cpp:343:21: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:346:24: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells04.cpp:365:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:387:18: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells04.cpp:394:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells04.cpp:394:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:395:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:395:2: warning: variable 'iNpc' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:400:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells04.cpp:410:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:414:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:414:2: warning: variable 'iNpc' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:415:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells04.cpp:415:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:420:20: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells04.cpp:430:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:432:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells04.cpp:434:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:434:2: warning: variable 'iNpc' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:435:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells04.cpp:435:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:458:1: warning: constructor does not initialize these fields: iNpc [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells04.cpp:458:18: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells04.cpp:465:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells04.cpp:465:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:466:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:466:2: warning: variable 'iNpc' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:471:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells04.cpp:481:30: warning: 2 adjacent parameters of 'Create' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells04.cpp:481:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:486:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells04.cpp:486:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.cpp:501:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:503:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells04.cpp:505:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.cpp:505:2: warning: variable 'iNpc' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells04.cpp:506:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells04.cpp:506:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells04.h:65:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells04.h:66:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells04.h:73:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells04.h:77:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells04.h:78:32: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:80:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells04.h:81:8: warning: function 'CBless::Create' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/spells/Spells04.h:81:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:82:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:82:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.h:82:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:83:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:101:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells04.h:102:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:104:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:104:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.h:104:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:105:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:108:7: warning: class 'CFireProtection' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells04.h:108:7: warning: class 'CFireProtection' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells04.h:113:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:115:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.h:115:18: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:116:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:116:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.h:116:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:117:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:121:7: warning: class 'CColdProtection' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells04.h:121:7: warning: class 'CColdProtection' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells04.h:128:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:131:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.h:131:19: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:132:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:132:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.h:132:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:133:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:137:7: warning: class 'CTelekinesis' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells04.h:137:7: warning: class 'CTelekinesis' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells04.h:150:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells04.h:151:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:154:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells04.h:155:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:157:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:157:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.h:157:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:158:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:161:7: warning: class 'CCurse' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells04.h:161:7: warning: class 'CCurse' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells04.h:173:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells04.h:175:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:178:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells04.h:179:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:181:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells04.h:181:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells04.h:181:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells04.h:182:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.cpp:75:26: warning: variable 'pParticleManager' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:75:26: warning: variable 'pParticleManager' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:78:15: warning: variable 'ssol' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:78:15: warning: variable 'ssol' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:78:22: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:78:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:79:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:79:6: warning: variable 'ssol_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:80:15: warning: variable 'slight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:80:15: warning: variable 'slight' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:80:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:81:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:81:6: warning: variable 'slight_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:82:15: warning: variable 'srune' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:82:15: warning: variable 'srune' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:82:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:83:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:83:6: warning: variable 'srune_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:84:15: warning: variable 'smotte' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:84:15: warning: variable 'smotte' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:84:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:85:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:85:6: warning: variable 'smotte_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:86:15: warning: variable 'stite' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:86:15: warning: variable 'stite' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:86:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:87:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:87:6: warning: variable 'stite_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:88:15: warning: variable 'smissile' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:88:15: warning: variable 'smissile' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:88:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:89:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:89:6: warning: variable 'smissile_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:90:15: warning: variable 'spapi' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:90:15: warning: variable 'spapi' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:90:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:91:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:91:6: warning: variable 'spapi_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:92:15: warning: variable 'svoodoo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:92:15: warning: variable 'svoodoo' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:92:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:93:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:93:6: warning: variable 'svoodoo_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:95:1: warning: constructor does not initialize these fields: fSize, tex_sol, tex_heal [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells05.cpp:100:2: warning: 'pPS' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells05.cpp:104:14: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells05.cpp:117:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:123:17: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:124:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/spells/Spells05.cpp:124:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:124:2: warning: undefined behavior, destination object type 'ParticleParams' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/spells/Spells05.cpp:134:14: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:166:25: warning: no header providing "PARTICLE_CIRCULAR" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:166:45: warning: no header providing "PARTICLE_BORDER" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:169:18: warning: no header providing "GetFreeDynLight" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:173:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:173:3: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:173:8: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:184:32: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:184:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:193:26: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:205:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:211:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:211:2: warning: variable 'ulCalc' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:212:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:213:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:213:2: warning: variable 'ff' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:213:7: warning: variable name 'ff' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:213:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:223:35: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:227:15: warning: variable name 'pP' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:242:14: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:244:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:248:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:248:3: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:248:8: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:260:32: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:260:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:279:1: warning: constructor does not initialize these fields: bDone, iNumber, tex_p1, iMax, fSize [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells05.cpp:281:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells05.cpp:282:2: warning: 'eTarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells05.cpp:313:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:322:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:331:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:335:36: warning: the parameter '_eSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells05.cpp:346:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:346:3: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:346:8: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:355:32: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:355:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:360:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:364:2: warning: variable 'fa' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:364:8: warning: variable name 'fa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:368:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:368:3: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:368:8: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:376:32: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:376:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:386:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:386:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:387:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:387:8: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:388:2: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:388:8: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:390:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:394:2: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:397:2: warning: variable 'stiteangleb' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:397:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:402:2: warning: variable 'gtc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:403:2: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:403:8: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:403:12: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:404:17: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:411:3: warning: no header providing "DrawEERIEObjEx" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:433:10: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:435:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:443:16: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:455:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells05.cpp:456:17: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:503:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:510:34: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:514:14: warning: variable name 'pP' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:518:4: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells05.cpp:518:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:521:4: warning: use `std::max` instead of `<=` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells05.cpp:521:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:533:1: warning: constructor does not initialize these fields: fTrail, bOk [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells05.cpp:539:38: warning: the parameter '_eSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells05.cpp:541:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells05.cpp:541:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:553:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells05.cpp:553:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:553:11: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:553:14: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:559:9: warning: no header providing "Visible" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:559:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:573:6: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/graphics/spells/Spells05.cpp:573:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:576:4: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells05.cpp:581:4: warning: use `std::max` instead of `<=` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells05.cpp:591:17: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:633:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:645:32: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:656:14: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:665:19: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:713:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:721:20: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:724:14: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:727:13: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:727:46: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:742:2: warning: variable 'n' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:742:6: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:743:2: warning: variable 'delta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:743:23: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:749:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:752:3: warning: variable 'kpprec' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:752:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:753:3: warning: variable 'kpsuiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:754:3: warning: variable 'kpsuivsuiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:758:16: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:762:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:762:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:762:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:764:4: warning: variable 't2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:764:10: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:765:4: warning: variable 't3' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:765:10: warning: variable name 't3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:766:4: warning: variable 'f0' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:766:10: warning: variable name 'f0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:767:4: warning: variable 'f1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:767:10: warning: variable name 'f1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:768:4: warning: variable 'f2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:768:10: warning: variable name 'f2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:769:4: warning: variable 'f3' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:769:10: warning: variable name 'f3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:772:10: warning: variable name 'p0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:773:10: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:794:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:807:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:810:17: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/spells/Spells05.cpp:811:2: warning: 'pTab' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells05.cpp:811:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:812:2: warning: 'pTab' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells05.cpp:828:48: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:828:49: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:848:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:848:3: warning: variable 'group' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:858:49: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:860:49: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:864:29: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:866:29: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:875:49: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:877:49: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:881:62: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:883:62: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:888:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:893:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:893:3: warning: variable 'lTime' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:893:16: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:897:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells05.cpp:897:29: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:897:29: warning: redundant explicit casting to the same type 'CPoisonProjectile *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/spells/Spells05.cpp:903:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:903:4: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:903:9: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:910:33: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:910:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:922:37: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:937:3: warning: variable 'fa' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:937:9: warning: variable name 'fa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:939:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells05.cpp:939:43: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:939:43: warning: redundant explicit casting to the same type 'CPoisonProjectile *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/spells/Spells05.cpp:943:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:943:4: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:943:9: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:950:33: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:950:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:954:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:954:3: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:954:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:958:67: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:958:68: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:962:10: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:966:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:968:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:977:1: warning: constructor does not initialize these fields: bDone, iNumber, tex_p1, iMax, fSize [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells05.cpp:979:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells05.cpp:980:2: warning: 'eTarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells05.cpp:1010:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:1019:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:1028:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:1032:33: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells05.cpp:1038:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1038:23: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1038:23: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:1039:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1039:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1039:23: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:1044:27: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1085:8: warning: variable name 'vv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1085:20: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1098:10: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1100:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1105:3: warning: variable 'dx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1105:9: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1105:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1106:3: warning: variable 'dz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1106:9: warning: variable name 'dz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1106:15: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1121:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1121:3: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1121:8: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1129:32: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1129:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1138:15: warning: variable 'stone1' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:1138:15: warning: variable 'stone1' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:1138:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:1139:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1139:6: warning: variable 'stone1_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:1140:15: warning: variable 'stone0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:1140:15: warning: variable 'stone0' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:1140:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:1141:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1141:6: warning: variable 'stone0_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.cpp:1143:1: warning: constructor does not initialize these fields: key, def, rbase, rhaut, hauteur, scale, ang, currdurationang, currframetime, tsouffle, timestone, nbstone [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells05.cpp:1145:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1149:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:1150:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:1151:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:1175:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:1184:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells05.cpp:1188:33: warning: 2 adjacent parameters of 'CreateConeStrip' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells05.cpp:1188:59: warning: 3 adjacent parameters of 'CreateConeStrip' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells05.cpp:1191:11: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1193:2: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:1199:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1199:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/spells/Spells05.cpp:1199:32: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/spells/Spells05.cpp:1199:32: warning: no header providing "malloc" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:1200:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1200:17: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/spells/Spells05.cpp:1200:26: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/spells/Spells05.cpp:1201:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1201:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/graphics/spells/Spells05.cpp:1201:15: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1201:32: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/graphics/spells/Spells05.cpp:1201:63: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1204:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1205:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1206:6: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells05.cpp:1206:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1207:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1208:2: warning: variable 'da' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1208:8: warning: variable name 'da' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1208:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1214:29: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1214:66: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1215:29: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1215:61: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1221:87: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1225:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:1238:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1238:15: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1248:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1262:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1267:26: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/graphics/spells/Spells05.cpp:1267:26: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:1267:26: warning: no header providing "rand" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:1267:26: warning: rand() has limited randomness; use C++11 random library instead [cert-msc50-cpp] +Arx/src/graphics/spells/Spells05.cpp:1284:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1290:10: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1290:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1290:49: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1298:4: warning: variable 'col' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1298:14: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:1300:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:1301:5: warning: no header providing "DrawEERIEObjExEx" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:1303:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1309:25: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1309:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1318:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1318:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1333:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1335:8: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells05.cpp:1335:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1338:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:1338:53: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:1340:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1348:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:1350:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/spells/Spells05.cpp:1354:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1366:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1366:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1379:25: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:1380:22: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells05.cpp:1388:3: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1388:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1397:18: warning: function 'Render' has cognitive complexity of 42 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells05.cpp:1399:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:1405:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells05.cpp:1405:25: warning: variable 'd3dv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells05.cpp:1406:10: warning: variable 'vertex' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells05.cpp:1407:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells05.cpp:1407:8: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells05.cpp:1407:8: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1407:12: warning: variable 'nbc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells05.cpp:1407:17: warning: variable 'col' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells05.cpp:1408:2: warning: variable 'ddu' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1409:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells05.cpp:1409:9: warning: variable name 'u' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1409:18: warning: variable name 'du' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1409:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1411:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/spells/Spells05.cpp:1435:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:1435:46: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:1454:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:1472:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1477:5: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1477:11: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1478:34: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1478:57: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1479:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1479:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1484:25: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1484:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1507:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:1521:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells05.cpp:1539:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1544:5: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1544:11: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1545:34: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1545:57: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells05.cpp:1546:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:1546:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1551:25: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells05.cpp:1551:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.cpp:1568:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.cpp:1569:6: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.h:52:22: warning: variable 'ssol' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:52:22: warning: variable 'ssol' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:53:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:53:13: warning: variable 'ssol_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:54:22: warning: variable 'slight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:54:22: warning: variable 'slight' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:55:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:55:13: warning: variable 'slight_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:56:22: warning: variable 'srune' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:56:22: warning: variable 'srune' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:57:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:57:13: warning: variable 'srune_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:58:22: warning: variable 'smotte' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:58:22: warning: variable 'smotte' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:59:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:59:13: warning: variable 'smotte_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:60:22: warning: variable 'stone1' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:60:22: warning: variable 'stone1' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:61:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:61:13: warning: variable 'stone1_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:62:22: warning: variable 'stone0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:62:22: warning: variable 'stone0' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:63:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:63:13: warning: variable 'stone0_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:64:22: warning: variable 'stite' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:64:22: warning: variable 'stite' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:65:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:65:13: warning: variable 'stite_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:66:22: warning: variable 'smissile' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:66:22: warning: variable 'smissile' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:67:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:67:13: warning: variable 'smissile_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:68:22: warning: variable 'spapi' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:68:22: warning: variable 'spapi' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:69:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:69:13: warning: variable 'spapi_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:70:22: warning: variable 'svoodoo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:70:22: warning: variable 'svoodoo' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:71:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:71:13: warning: variable 'svoodoo_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells05.h:74:7: warning: class 'CRuneOfGuarding' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells05.h:74:7: warning: class 'CRuneOfGuarding' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells05.h:88:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells05.h:90:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:92:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells05.h:96:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells05.h:97:8: warning: function 'CRuneOfGuarding::Create' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/spells/Spells05.h:97:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:99:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:99:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:99:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:100:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:104:7: warning: class 'CLevitate' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells05.h:104:7: warning: class 'CLevitate' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells05.h:107:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:108:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:116:10: warning: accessing fields in struct 'T_CONE' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells05.h:122:4: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:125:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells05.h:127:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells05.h:129:10: warning: accessing fields in struct 'T_STONE' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells05.h:129:10: warning: constructor does not initialize these fields: actif, numstone, yvel, time, currtime [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells05.h:131:4: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:132:4: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:144:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells05.h:149:8: warning: function 'CLevitate::CreateConeStrip' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/spells/Spells05.h:152:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:159:8: warning: function 'CLevitate::Create' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/spells/Spells05.h:159:77: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:159:90: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:160:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:160:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:160:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:161:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:166:7: warning: class 'CCurePoison' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells05.h:166:7: warning: class 'CCurePoison' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells05.h:175:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells05.h:177:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:179:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells05.h:181:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:181:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:181:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:182:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:197:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells05.h:204:7: warning: function 'CPoisonProjectile::Create' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/spells/Spells05.h:204:19: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:205:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:205:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:205:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:206:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:210:7: warning: class 'CMultiPoisonProjectile' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells05.h:210:7: warning: class 'CMultiPoisonProjectile' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells05.h:213:16: warning: member variable 'uiNumber' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells05.h:219:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:219:40: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells05.h:220:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:223:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells05.h:224:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:226:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:226:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:226:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:227:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:231:7: warning: class 'CRepelUndead' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells05.h:231:7: warning: class 'CRepelUndead' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells05.h:244:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells05.h:246:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:248:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells05.h:251:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells05.h:252:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:254:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells05.h:254:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells05.h:254:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells05.h:255:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.cpp:70:26: warning: variable 'pParticleManager' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells06.cpp:70:26: warning: variable 'pParticleManager' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells06.cpp:72:1: warning: constructor does not initialize these fields: youp, fSize, fbeta, ysize, size, ft, fglow, falpha [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells06.cpp:74:2: warning: 'fwrap' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:75:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:89:33: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells06.cpp:102:46: warning: parameter name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:102:65: warning: parameter name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:102:84: warning: parameter name 'p3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:102:103: warning: parameter name 'p4' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:102:122: warning: the parameter 'norm' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells06.cpp:104:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.cpp:104:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:105:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.cpp:105:17: warning: variable name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:124:3: warning: variable 'patchsize' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:126:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:126:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:126:23: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:126:27: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:127:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:127:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:128:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:128:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:129:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:129:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:130:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:130:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:131:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:131:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:132:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:132:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:133:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:133:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:134:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:134:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:135:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:135:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:136:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:136:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:137:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:137:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:138:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:138:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:139:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:139:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:140:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:140:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:149:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells06.cpp:149:3: warning: variable 'zab' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:149:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:149:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:171:54: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:171:74: warning: parameter name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:171:81: warning: parameter name 'b1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:171:89: warning: parameter name 'b2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:171:97: warning: parameter name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:171:105: warning: parameter name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:178:27: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:186:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:188:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:190:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:190:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:192:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:219:20: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:223:20: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:235:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:235:19: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:237:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:237:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:240:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:240:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:243:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:243:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:244:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:244:8: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:245:2: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:245:8: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:246:2: warning: variable 'smul' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:318:1: warning: constructor does not initialize these fields: bDone, iNumber, tex_p1, iMax, fSize [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells06.cpp:320:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:321:2: warning: 'eTarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:353:10: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:353:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:362:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:371:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:375:30: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells06.cpp:381:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:381:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:381:24: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:382:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:382:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:388:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:415:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:424:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:428:1: warning: constructor does not initialize these fields: end, bIntro, fOneOnDurationIntro, fOneOnDurationRender, fOneOnDurationOuttro, sizeF, fSizeIntro, fRand, fTexWrap, ulDurationIntro, ulDurationRender, ulDurationOuttro, currframetime, timestone, nbstone [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells06.cpp:430:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:435:2: warning: 'iSize' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:436:2: warning: 'fOneOniSize' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:436:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:465:35: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:479:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:482:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:485:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:491:29: warning: 3 adjacent parameters of 'SetDuration' of similar type ('unsigned long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells06.cpp:491:29: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:491:60: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:491:92: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:493:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:494:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:497:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:499:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:500:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:503:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:505:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:506:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:509:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:515:32: warning: 3 adjacent parameters of 'SetColorBorder' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells06.cpp:523:31: warning: 3 adjacent parameters of 'SetColorRays1' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells06.cpp:531:31: warning: 3 adjacent parameters of 'SetColorRays2' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells06.cpp:539:30: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells06.cpp:541:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:541:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:551:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:551:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:552:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:552:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:556:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:556:18: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/graphics/spells/Spells06.cpp:556:18: warning: no header providing "rand" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:556:18: warning: rand() has limited randomness; use C++11 random library instead [cert-msc50-cpp] +Arx/src/graphics/spells/Spells06.cpp:587:6: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/graphics/spells/Spells06.cpp:587:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:592:5: warning: variable 'fTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:599:5: warning: variable 'fTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:627:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:635:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:646:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:651:26: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/graphics/spells/Spells06.cpp:651:26: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:651:26: warning: rand() has limited randomness; use C++11 random library instead [cert-msc50-cpp] +Arx/src/graphics/spells/Spells06.cpp:657:22: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:667:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:675:10: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:675:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:675:49: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:683:4: warning: variable 'col' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:683:14: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:683:14: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:683:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:684:4: warning: no header providing "DrawEERIEObjExEx" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:686:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:692:25: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:692:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:701:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:701:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:716:40: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:716:47: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:716:54: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:716:63: warning: parameter name 'yo' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:720:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:720:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:720:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:720:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:734:17: warning: function 'RenderFissure' has cognitive complexity of 72 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells06.cpp:736:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:736:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:737:8: warning: variable 'ff' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:737:8: warning: variable name 'ff' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:738:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.cpp:738:17: warning: variable name 'vt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:739:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.cpp:739:17: warning: variable name 'vr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:749:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells06.cpp:749:8: warning: variable 'fTempCos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:749:18: warning: variable 'fTempSin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:751:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:753:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:753:12: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:755:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:755:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:759:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:759:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:759:43: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:786:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:803:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:824:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:860:2: warning: no header providing "EE_RTP" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:875:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:875:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:879:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:882:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:885:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:885:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:888:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:888:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:894:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:897:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:900:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:900:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:903:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:903:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:907:3: warning: variable 't2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:907:9: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:911:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:914:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:917:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:917:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:920:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:920:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:926:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:929:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:932:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:932:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:935:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells06.cpp:935:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:939:6: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:966:6: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:997:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:1000:18: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1002:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:1002:47: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1009:79: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:1030:7: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1030:23: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1032:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1032:60: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1037:18: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/graphics/spells/Spells06.cpp:1037:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:1040:12: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1040:51: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1040:67: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1052:12: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1052:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1052:53: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1064:3: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1064:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1079:23: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1085:1: warning: constructor does not initialize these fields: key, duration, currduration, scale, r, colduration, prisminterpcol, prismrd, prismgd, prismbd, prismre, prismge, prismbe, prismnbpt, prismnbface, tex_prism, tex_p, tex_p1, tex_p2 [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells06.cpp:1087:2: warning: 'prismd3d' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:1087:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1088:2: warning: 'prismvertex' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:1088:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1089:2: warning: 'prismind' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:1089:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1104:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1110:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1116:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1119:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/spells/Spells06.cpp:1124:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1136:41: warning: 4 adjacent parameters of 'CreatePrismTriangleList' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells06.cpp:1138:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells06.cpp:1138:9: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1138:9: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1138:12: warning: variable 'da' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1138:12: warning: variable name 'da' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1139:8: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1139:8: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1140:10: warning: variable 'v' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1140:10: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1143:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1154:19: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:1156:19: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:1166:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:1166:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells06.cpp:1166:19: warning: variable 'pind' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1210:9: warning: variable 'sc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1210:9: warning: variable name 'sc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1211:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells06.cpp:1211:10: warning: variable 'v' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1211:10: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1211:14: warning: variable 'vd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1211:14: warning: variable name 'vd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1212:8: warning: variable name 'vt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1219:3: warning: variable 'randd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1220:9: warning: variable name 'fd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1220:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1229:31: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:1231:31: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:1242:10: warning: variable name 'fy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1242:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1264:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:1280:17: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:1280:33: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/graphics/spells/Spells06.cpp:1282:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/spells/Spells06.cpp:1297:3: warning: variable 'id' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1297:7: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1297:12: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1312:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/spells/Spells06.cpp:1313:17: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1314:2: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/spells/Spells06.cpp:1314:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:1314:2: warning: undefined behavior, destination object type 'ParticleParams' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/spells/Spells06.cpp:1358:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1361:8: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1423:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1441:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:1443:8: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1443:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1445:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/spells/Spells06.cpp:1448:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1460:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1472:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1472:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1480:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1492:18: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1496:18: warning: function 'Render' has cognitive complexity of 44 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells06.cpp:1498:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells06.cpp:1505:8: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1505:8: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1506:10: warning: variable 'vertex' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1507:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells06.cpp:1507:19: warning: variable 'vd3d' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.cpp:1538:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/graphics/spells/Spells06.cpp:1561:83: 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/graphics/spells/Spells06.cpp:1563:83: 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/graphics/spells/Spells06.cpp:1566:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1593:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1593:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1594:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1594:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1595:6: warning: variable 'pz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1595:12: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1608:83: 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/graphics/spells/Spells06.cpp:1610:83: 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/graphics/spells/Spells06.cpp:1626:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1642:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1662:4: warning: no header providing "ColorBGRA" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:1662:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1663:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1664:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1679:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1679:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1680:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1680:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1681:6: warning: variable 'pz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1681:12: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1695:83: 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/graphics/spells/Spells06.cpp:1697:83: 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/graphics/spells/Spells06.cpp:1700:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1701:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1702:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1724:80: 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/graphics/spells/Spells06.cpp:1726:80: 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/graphics/spells/Spells06.cpp:1730:3: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1730:9: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1731:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1731:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1734:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1739:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1739:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1739:44: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1740:37: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:1749:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1754:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells06.cpp:1754:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1754:44: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells06.cpp:1755:37: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:1772:1: warning: constructor does not initialize these fields: bDone, iNumber, tex_p1, iMax, fSize [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells06.cpp:1774:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:1775:2: warning: 'eTarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells06.cpp:1806:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1815:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1824:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells06.cpp:1828:32: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells06.cpp:1834:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1834:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:1835:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1835:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells06.cpp:1841:26: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.cpp:1847:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1848:8: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1849:8: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.cpp:1859:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/spells/Spells06.cpp:1859:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.cpp:1875:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells06.cpp:1888:2: warning: no header providing "DrawEERIEObjEx" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells06.h:51:7: warning: class 'CParalyse' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells06.h:51:7: warning: class 'CParalyse' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells06.h:54:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:68:3: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:75:10: warning: accessing fields in struct 'T_PRISM' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells06.h:75:10: warning: constructor does not initialize these fields: vertex [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells06.h:82:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:84:37: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:88:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:90:23: warning: 3 adjacent parameters of 'SetColPrismDep' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells06.h:90:29: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:90:38: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:90:47: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:96:23: warning: 3 adjacent parameters of 'SetColPrismEnd' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells06.h:96:29: warning: parameter name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:96:38: warning: parameter name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:96:47: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:102:24: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/graphics/spells/Spells06.h:104:10: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells06.h:104:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:116:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:116:17: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:116:29: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/graphics/spells/Spells06.h:122:18: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:123:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:123:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:123:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:124:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:132:9: warning: member variable 'eSrc' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells06.h:137:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:138:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:146:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:147:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:150:9: warning: member variable 'falpha' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells06.h:154:34: warning: parameter name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:154:53: warning: parameter name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:154:72: warning: parameter name 'p3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:154:91: warning: parameter name 'p4' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:154:110: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:155:42: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:155:62: warning: parameter name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:155:69: warning: parameter name 'b1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:155:77: warning: parameter name 'b2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:155:85: warning: parameter name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:155:93: warning: parameter name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:158:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:160:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:160:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:160:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:161:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:164:7: warning: class 'CDisarmTrap' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells06.h:164:7: warning: class 'CDisarmTrap' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells06.h:178:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells06.h:180:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:182:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells06.h:185:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells06.h:186:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:188:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:188:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:188:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:189:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:192:7: warning: class 'CSlowDown' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells06.h:192:7: warning: class 'CSlowDown' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells06.h:205:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells06.h:207:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:210:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells06.h:214:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells06.h:215:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:217:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:217:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:217:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:218:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:222: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/spells/Spells06.h:222:7: warning: class 'CRiseDead' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells06.h:225:9: warning: member variable 'eSrc' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells06.h:226:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:226:9: warning: member variable 'fColorRays1' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells06.h:241:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:242:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:243:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:244:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:245:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:246:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:247:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:248:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:249:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:250:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:251:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:253:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:255:10: warning: accessing fields in struct 'T_STONE' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells06.h:255:10: warning: constructor does not initialize these fields: actif, numstone, yvel, time, currtime [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells06.h:257:4: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:258:4: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:271:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells06.h:277:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:280:31: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:280:38: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:280:45: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:280:54: warning: parameter name 'yo' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells06.h:285:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:285:20: warning: parameter 'duration' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/graphics/spells/Spells06.h:285:26: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:286:20: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:286:33: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:286:35: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:286:50: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:290:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:291:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:292:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:293:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:293:17: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:296:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells06.h:297:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:299:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells06.h:299:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells06.h:299:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells06.h:300:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.cpp:69:20: warning: accessing fields in struct 'LIGHTNING' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells07.cpp:69:20: warning: constructor does not initialize these fields: anb, anbrec, abFollow, aParent, fAngleXMin, fAngleXMax, fAngleYMin, fAngleYMax, fAngleZMin, fAngleZMax [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells07.cpp:70:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:85:1: warning: constructor does not initialize these fields: fbeta, iTTL [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells07.cpp:107:2: warning: 'tex_light' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells07.cpp:107:14: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:107:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells07.cpp:122:3: warning: variable 'moi' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:128:3: warning: variable 'fAngleX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:129:3: warning: variable 'fAngleY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:130:3: warning: variable 'fAngleZ' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:132:9: warning: variable name 'av' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:133:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:133:18: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:133:22: warning: no header providing "acos" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:133:38: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:134:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:134:18: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:134:22: warning: no header providing "asin" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:135:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:135:18: warning: no header providing "tan" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:135:22: warning: no header providing "atan" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:139:3: warning: variable 'ts' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:139:9: warning: variable name 'ts' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:140:42: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:146:47: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:149:3: warning: variable 'anb' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:150:3: warning: variable 'anbrec' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:152:3: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:152:9: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:156:4: warning: variable 'm' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:156:10: warning: variable name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:163:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:164:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:177:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:178:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:193:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:194:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:207:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:208:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:243:34: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells07.cpp:247:35: warning: the parameter 'aeDest' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells07.cpp:264:7: warning: variable 'fTotoro' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells07.cpp:265:7: warning: variable 'fMySize' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/spells/Spells07.cpp:267:25: warning: 2 adjacent parameters of 'Create' of similar type ('Vec3f') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells07.cpp:267:31: warning: the parameter 'aeFrom' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells07.cpp:267:45: warning: the parameter 'aeTo' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells07.cpp:283:3: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/spells/Spells07.cpp:283:3: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:283:3: warning: undefined behavior, destination object type 'LIGHTNING' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/spells/Spells07.cpp:287:15: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:306:2: warning: variable 'fRandom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:323:3: warning: calling 'memset' on a non-trivially default constructible class is undefined [cert-oop57-cpp] +Arx/src/graphics/spells/Spells07.cpp:323:3: warning: undefined behavior, destination object type 'LIGHTNING' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/graphics/spells/Spells07.cpp:327:15: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:346:2: warning: variable 'fRandom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:354:25: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:357:10: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:360:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:363:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:363:36: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:375:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:375:3: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:389:19: warning: function 'Render' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells07.cpp:391:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.cpp:391:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:392:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.cpp:392:17: warning: variable name 'v2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:394:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:396:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:398:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:398:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:409:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:409:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells07.cpp:409:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:420:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:425:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:425:3: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:440:13: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:441:11: warning: variable name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:443:14: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:443:24: warning: no header providing "degrees" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:443:32: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:443:68: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:447:13: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:448:11: warning: variable name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:460:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:463:2: warning: variable 'f' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:463:8: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:470:58: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:472:8: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells07.cpp:472:8: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:473:8: warning: variable 'zz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells07.cpp:473:8: warning: variable name 'zz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:477:28: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:479:3: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:480:3: warning: variable 'z_z' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:482:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:482:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells07.cpp:485:9: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:503:25: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:507:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:507:5: warning: variable 'si' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:507:10: warning: variable name 'si' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:553:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:553:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells07.cpp:589:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells07.cpp:593:1: warning: constructor does not initialize these fields: bDone, iNumber, anim_papi, tex_p2, tex_light, au, end, iElapsedTime, iMax, fSize, fTrail [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells07.cpp:595:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells07.cpp:596:2: warning: 'eTarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells07.cpp:609:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.cpp:610:2: warning: no header providing "ANIM_HANDLE" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:610:29: warning: no header providing "EERIE_ANIMMANAGER_Load" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:616:2: warning: no header providing "ANIM_Set" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:617:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells07.cpp:620:13: warning: no header providing "EA_LOOP" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:629:29: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells07.cpp:640:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:642:17: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:647:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:665:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:665:2: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:673:2: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:675:2: warning: no header providing "DrawEERIEObjEx" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:679:18: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:684:3: warning: variable 'ang' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:685:3: warning: variable 'rad' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:686:30: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells07.cpp:686:53: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells07.cpp:689:16: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:694:9: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:695:9: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:696:9: warning: variable name 't3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:697:9: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells07.cpp:697:35: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells07.cpp:705:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:706:20: warning: no header providing "GetFreeDynLight" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:710:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:710:3: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:710:8: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:730:1: warning: constructor does not initialize these fields: key, demilargeur, interp [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells07.cpp:730:13: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells07.cpp:735:13: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells07.cpp:751:17: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:798:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells07.cpp:854:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells07.cpp:859:8: warning: variable name 'ea' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:868:25: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:872:19: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:873:20: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:879:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:908:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells07.cpp:917:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells07.cpp:921:1: warning: constructor does not initialize these fields: iMax, fSize [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells07.cpp:923:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells07.cpp:924:2: warning: 'eTarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells07.cpp:929:2: warning: 'iNumber' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells07.cpp:945:30: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells07.cpp:953:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:953:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells07.cpp:954:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:954:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells07.cpp:960:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells07.cpp:960:8: warning: variable 'xmin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells07.cpp:960:14: warning: variable 'ymin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells07.cpp:960:20: warning: variable 'zmin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells07.cpp:964:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:964:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:966:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:968:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:986:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:986:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:989:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:989:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:992:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:992:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1009:6: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:1020:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.cpp:1026:18: warning: function 'Render' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells07.cpp:1028:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:1035:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:1035:9: warning: redundant explicit casting to the same type 'int' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/spells/Spells07.cpp:1037:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:1037:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1041:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1044:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:1044:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1047:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1050:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:1050:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1053:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1056:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:1056:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1064:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells07.cpp:1064:26: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells07.cpp:1073:7: warning: no header providing "abs" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells07.cpp:1085:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:1085:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1087:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:1087:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1089:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells07.cpp:1089:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1095:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1097:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells07.cpp:1101:13: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:1101:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells07.cpp:1103:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells07.cpp:1103:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:1106:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.cpp:1120:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells07.h:57:8: warning: accessing fields in struct 'CLightningNode' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells07.h:57:8: warning: constructor does not initialize these fields: size, parent [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells07.h:67:8: warning: use default member initializer for 'nbtotal' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:68:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.h:68:8: warning: use default member initializer for 'lNbSegments' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:69:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.h:70:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.h:72:9: warning: use default member initializer for 'fSize' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:73:9: warning: use default member initializer for 'fLengthMin' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:74:9: warning: use default member initializer for 'fLengthMax' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:75:9: warning: use default member initializer for 'fAngleXMin' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:76:9: warning: use default member initializer for 'fAngleXMax' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:77:9: warning: use default member initializer for 'fAngleYMin' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:78:9: warning: use default member initializer for 'fAngleYMax' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:79:9: warning: use default member initializer for 'fAngleZMin' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:80:9: warning: use default member initializer for 'fAngleZMax' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:87:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.h:89:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:91:8: warning: function 'CLightning::BuildS' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/spells/Spells07.h:95:9: warning: member variable 'falpha' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells07.h:95:9: warning: use default member initializer for 'falpha' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:96:9: warning: member variable 'fDamage' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells07.h:96:9: warning: use default member initializer for 'fDamage' [modernize-use-default-member-init] +Arx/src/graphics/spells/Spells07.h:100:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:101:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.h:101:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.h:102:23: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:103:24: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:107:23: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:108:23: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:111:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:112:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:113:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.h:113:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.h:113:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:114:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.h:119:7: warning: class 'CConfuse' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells07.h:119:7: warning: class 'CConfuse' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells07.h:131:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.h:134:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.h:142:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:144:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.h:146:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:150:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:151:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:153:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.h:153:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.h:153:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:154:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.h:157:7: warning: class 'CFireField' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells07.h:157:7: warning: class 'CFireField' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells07.h:160:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/spells/Spells07.h:167:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:169:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.h:171:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:173:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.h:173:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.h:173:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:174:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.h:179:7: warning: class 'CIceField' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells07.h:179:7: warning: class 'CIceField' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells07.h:190:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.h:191:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.h:192:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.h:193:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells07.h:195:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:197:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.h:200:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:204:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells07.h:205:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:207:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells07.h:207:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells07.h:207:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells07.h:208:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.cpp:49:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:68:1: warning: constructor does not initialize these fields: end, bIntro, fOneOnDurationIntro, fOneOnDurationRender, fOneOnDurationOuttro, sizeF, fSizeIntro, fRand, fTexWrap, ulDurationIntro, ulDurationRender, ulDurationOuttro [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells09.cpp:73:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells09.cpp:78:2: warning: 'iSize' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells09.cpp:79:2: warning: 'fOneOniSize' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells09.cpp:79:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:84:41: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.cpp:99:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:102:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:105:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:111:35: warning: 3 adjacent parameters of 'SetDuration' of similar type ('unsigned long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells09.cpp:111:35: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.cpp:111:66: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.cpp:111:98: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.cpp:113:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:114:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:117:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:119:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:120:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:123:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:125:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:126:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:129:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:134:46: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells09.cpp:138:45: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells09.cpp:142:45: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells09.cpp:146:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.cpp:151:36: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells09.cpp:153:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells09.cpp:153:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:163:13: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:164:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:164:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells09.cpp:164:24: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:165:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:165:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells09.cpp:165:24: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:169:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:169:18: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/graphics/spells/Spells09.cpp:169:18: warning: no header providing "rand" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:169:18: warning: rand() has limited randomness; use C++11 random library instead [cert-msc50-cpp] +Arx/src/graphics/spells/Spells09.cpp:200:4: warning: variable 'fTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells09.cpp:207:4: warning: variable 'fTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells09.cpp:231:46: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:231:53: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:231:60: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:231:69: warning: parameter name 'yo' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:235:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells09.cpp:235:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:235:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:235:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:240:26: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:251:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells09.cpp:251:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:252:8: warning: variable 'ff' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells09.cpp:252:8: warning: variable name 'ff' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:253:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells09.cpp:253:17: warning: variable name 'vt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:254:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells09.cpp:254:17: warning: variable name 'vr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:264:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells09.cpp:264:8: warning: variable 'fTempCos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells09.cpp:264:18: warning: variable 'fTempSin' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells09.cpp:266:24: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:266:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:268:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:268:12: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:270:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:270:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:274:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:274:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:274:43: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:296:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:297:58: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:301:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:317:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:338:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:375:2: warning: no header providing "EE_RTP" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:390:6: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:407:6: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:428:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.cpp:437:79: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:459:7: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:459:23: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:461:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:461:60: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:466:18: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/graphics/spells/Spells09.cpp:466:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:469:12: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:469:51: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:469:67: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:481:12: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:481:20: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:481:53: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:492:23: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:496:14: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells09.cpp:499:32: warning: the parameter '_eSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells09.cpp:499:39: warning: 2 adjacent parameters of 'Create' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/graphics/spells/Spells09.cpp:501:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:506:32: warning: the parameter '_eSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells09.cpp:522:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells09.cpp:522:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:522:11: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:522:14: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:535:8: warning: variable 'fd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells09.cpp:535:8: warning: variable name 'fd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:537:7: warning: no header providing "Visible" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:537:23: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:537:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells09.cpp:547:2: warning: variable 'fDur' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells09.cpp:547:15: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:548:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.cpp:550:2: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells09.cpp:550:32: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:554:2: warning: variable 'end' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells09.cpp:560:17: warning: variable name 'cp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:607:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells09.cpp:665:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells09.cpp:676:26: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.cpp:680:8: warning: variable name 'et' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:682:19: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:683:16: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:685:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:685:39: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:687:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells09.cpp:687:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:722:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells09.cpp:726:1: warning: constructor does not initialize these fields: bDone, iNumber, tex_p1, iMax, fSize [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells09.cpp:728:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells09.cpp:729:2: warning: 'eTarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells09.cpp:744:33: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells09.cpp:752:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:752:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells09.cpp:753:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:753:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells09.cpp:760:27: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.cpp:766:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:788:10: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:791:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells09.cpp:791:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:794:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:802:17: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:812:2: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:812:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells09.cpp:815:2: warning: no header providing "DrawEERIEObjEx" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:828:21: warning: function 'Update' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/graphics/spells/Spells09.cpp:828:28: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.cpp:834:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/spells/Spells09.cpp:834:7: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.cpp:834:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells09.cpp:834:29: warning: variable 'nb2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/spells/Spells09.cpp:840:9: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells09.cpp:845:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:871:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells09.cpp:873:6: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.h:57:9: warning: member variable 'eSrc' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells09.h:58:11: warning: member variable 'fColorRays1' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells09.h:76:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells09.h:77:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells09.h:78:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:79:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:80:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:81:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells09.h:82:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells09.h:83:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells09.h:84:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells09.h:90:31: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.h:90:38: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.h:90:45: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.h:90:54: warning: parameter name 'yo' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells09.h:95:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:95:20: warning: parameter 'duration' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/graphics/spells/Spells09.h:95:26: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:96:20: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:96:33: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:96:35: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:96:50: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:99:30: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:100:29: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:101:29: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:103:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:103:17: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:106:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells09.h:107:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:109:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:109:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:109:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:110:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:114:7: warning: class 'CNegateMagic' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells09.h:114:7: warning: class 'CNegateMagic' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells09.h:128:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells09.h:130:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:133:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells09.h:137:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells09.h:138:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:140:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:140:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:140:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:141:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:145:7: warning: class 'CIncinerate' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells09.h:145:7: warning: class 'CIncinerate' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells09.h:155:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells09.h:160:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells09.h:161:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:164:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells09.h:169:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells09.h:170:8: warning: function 'CIncinerate::Create' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/spells/Spells09.h:170:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:171:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:173:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:173:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:173:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:174:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:185:10: warning: accessing fields in struct 'T_PARALYSE' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/graphics/spells/Spells09.h:191:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells09.h:195:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells09.h:195:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells09.h:195:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells09.h:196:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells10.cpp:49:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:64:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.cpp:67:2: warning: 'pTab' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells10.cpp:68:20: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/graphics/spells/Spells10.cpp:78:29: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:78:35: warning: the parameter 'aePos' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells10.cpp:82:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.cpp:84:2: warning: variable 'ft' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:84:8: warning: variable name 'ft' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:84:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells10.cpp:88:25: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells10.cpp:88:31: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:90:25: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells10.cpp:92:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.cpp:92:3: warning: variable 'lTime' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:92:16: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells10.cpp:92:29: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:104:29: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.cpp:123:1: warning: constructor does not initialize these fields: bDone, iNumber, au, end, iMax, fSize, fTrail [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/spells/Spells10.cpp:125:2: warning: 'eSrc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells10.cpp:126:2: warning: 'eTarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/spells/Spells10.cpp:142:35: warning: the parameter 'aeSrc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/spells/Spells10.cpp:150:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells10.cpp:150:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells10.cpp:150:24: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:151:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/spells/Spells10.cpp:151:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/spells/Spells10.cpp:151:24: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:157:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:167:8: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:168:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:169:8: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:170:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:171:8: warning: no header providing "Visible" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:171:24: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:171:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/spells/Spells10.cpp:182:3: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/graphics/spells/Spells10.cpp:190:29: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.cpp:197:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:199:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:208:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells10.cpp:210:2: warning: variable 'n' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:210:6: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:211:2: warning: variable 'delta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:211:23: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells10.cpp:213:12: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells10.cpp:213:50: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells10.cpp:215:8: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:223:3: warning: variable 'kp' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:223:7: warning: variable name 'kp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:224:3: warning: variable 'kpprec' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:225:3: warning: variable 'kpsuiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:226:3: warning: variable 'kpsuivsuiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:230:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells10.cpp:230:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/spells/Spells10.cpp:232:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:232:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:232:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells10.cpp:234:4: warning: variable 't1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:234:10: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:235:4: warning: variable 't2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:235:10: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:236:4: warning: variable 't3' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:236:10: warning: variable name 't3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:237:4: warning: variable 'f0' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:237:10: warning: variable name 'f0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:238:4: warning: variable 'f1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:238:10: warning: variable name 'f1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:239:4: warning: variable 'f2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:239:10: warning: variable name 'f2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:240:4: warning: variable 'f3' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:240:10: warning: variable name 'f3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:243:10: warning: variable name 'p0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:244:10: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:259:16: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells10.cpp:260:5: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells10.cpp:260:11: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:260:32: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells10.cpp:261:20: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:276:19: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.cpp:289:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells10.cpp:297:18: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells10.cpp:310:36: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/spells/Spells10.cpp:315:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.h:56:7: warning: class 'CMassLightning' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells10.h:59:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.h:59:8: warning: member variable 'number' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/spells/Spells10.h:65:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.h:65:32: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/spells/Spells10.h:66:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells10.h:66:3: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/spells/Spells10.h:68:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells10.h:69:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells10.h:70:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells10.h:70:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.h:70:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells10.h:71:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells10.h:84:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells10.h:85:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells10.h:88:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells10.h:89:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/spells/Spells10.h:96:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells10.h:100:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells10.h:104:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells10.h:105:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells10.h:107:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells10.h:107:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.h:107:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells10.h:108:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells10.h:112:7: warning: class 'CMassIncinerate' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells10.h:112:7: warning: class 'CMassIncinerate' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/spells/Spells10.h:119:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells10.h:121:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/graphics/spells/Spells10.h:122:20: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells10.h:123:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/spells/Spells10.h:123:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/graphics/spells/Spells10.h:123:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/graphics/spells/Spells10.h:124:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/graphics/texture/PackedTexture.cpp:38:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/graphics/texture/PackedTexture.cpp:38:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/graphics/texture/PackedTexture.cpp:50:25: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/PackedTexture.cpp:50:42: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/PackedTexture.cpp:52:2: warning: 'texture' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/texture/PackedTexture.cpp:56:29: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/PackedTexture.cpp:56:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/PackedTexture.cpp:71:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/PackedTexture.cpp:80:33: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/PackedTexture.cpp:88:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/PackedTexture.cpp:91:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/PackedTexture.cpp:98:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/graphics/texture/PackedTexture.cpp:109:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/PackedTexture.cpp:118:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/PackedTexture.cpp:128:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/PackedTexture.cpp:129:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/PackedTexture.cpp:130:2: warning: 'used' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/texture/PackedTexture.cpp:130:9: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/graphics/texture/PackedTexture.cpp:140:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/PackedTexture.cpp:144:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/PackedTexture.cpp:160:2: warning: variable 'diffW' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/texture/PackedTexture.cpp:160:14: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/PackedTexture.cpp:161:2: warning: variable 'diffH' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/texture/PackedTexture.cpp:161:14: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/PackedTexture.cpp:165:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/PackedTexture.cpp:179:49: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/PackedTexture.cpp:180:28: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/PackedTexture.cpp:182:61: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/PackedTexture.cpp:183:39: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +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:32:7: warning: class 'PackedTexture' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/texture/PackedTexture.h:36:2: warning: function 'PackedTexture::PackedTexture' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/texture/PackedTexture.h:49:2: warning: function 'getTextureSize' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/texture/PackedTexture.h:50:2: warning: function 'getTextureCount' should be marked [[nodiscard]] [modernize-use-nodiscard] +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:54:8: warning: class 'TextureTree' defines a non-default 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: accessing fields in struct 'Node' is inefficient due to padding; only needs 33 bytes but is using 40 bytes [altera-struct-pack-align] +Arx/src/graphics/texture/PackedTexture.h:58:10: warning: accessing fields in struct 'Node' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +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:58:10: warning: class 'Node' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/texture/PackedTexture.h:63:11: warning: function 'PackedTexture::TextureTree::Node::insertImage' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/graphics/texture/PackedTexture.h:65:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/graphics/texture/PackedTexture.h:81:15: warning: member variable 'texture' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/texture/PackedTexture.h:82:8: warning: member variable 'dirty' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/texture/PackedTexture.h:88:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/graphics/texture/PackedTexture.h:90:21: warning: member 'textureSize' of type 'const unsigned int' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/graphics/texture/Texture.cpp:22:33: warning: no header providing "res::path" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/Texture.cpp:22:66: warning: the parameter 'newFlags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/texture/Texture.cpp:29:28: warning: no header providing "Image" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/Texture.cpp:29:57: warning: the parameter 'newFlags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/texture/Texture.cpp:41:15: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/Texture.cpp:41:23: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/Texture.cpp:44:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/Texture.cpp:66:16: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/Texture.cpp:66:35: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/texture/Texture.cpp:69:3: warning: variable 'bCreated' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/texture/Texture.h:28:7: warning: class 'Texture' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/texture/Texture.h:32: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/Texture.h:38:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/texture/Texture.h:43:2: warning: function 'getSize' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/texture/Texture.h:44:2: warning: function 'getStoredSize' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/texture/Texture.h:46:2: warning: function 'GetDepth' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/texture/Texture.h:48:2: warning: function 'GetFormat' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/texture/Texture.h:50:2: warning: function 'hasMipmaps' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/texture/Texture.h:50:2: warning: function 'hasMipmaps' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/texture/Texture.h:51:2: warning: function 'hasColorKey' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/texture/Texture.h:51:2: warning: function 'hasColorKey' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/graphics/texture/Texture.h:55:52: warning: use nullptr [modernize-use-nullptr] +Arx/src/graphics/texture/Texture.h:59:16: warning: member variable 'mFormat' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/texture/Texture.h:59:16: warning: use default member initializer for 'mFormat' [modernize-use-default-member-init] +Arx/src/graphics/texture/Texture.h:60:15: warning: member variable 'flags' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/texture/Texture.h:62:8: warning: member variable 'size' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/texture/Texture.h:63:8: warning: member variable 'storedSize' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/texture/Texture.h:65:15: warning: member variable 'mDepth' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/texture/Texture.h:65:15: warning: use default member initializer for 'mDepth' [modernize-use-default-member-init] +Arx/src/graphics/texture/Texture.h:69:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/texture/Texture.h:69:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/graphics/texture/Texture.h:69:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/texture/Texture.h:69:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/graphics/texture/Texture.h:71:7: warning: class 'Texture2D' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/texture/Texture.h:75:10: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/graphics/texture/Texture.h:75:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/texture/Texture.h:83:2: warning: function 'GetImage' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/texture/Texture.h:84:2: warning: function 'getFileName' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/graphics/texture/Texture.h:90:8: warning: member variable 'mImage' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/texture/Texture.h:91:12: warning: member variable 'mFileName' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/graphics/texture/TextureStage.h:25:7: warning: class 'TextureStage' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +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:41:7: warning: enum 'TextureArg' 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:50: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:57: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/graphics/texture/TextureStage.h:64:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/graphics/texture/TextureStage.h:95:15: warning: member variable 'mStage' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/gui/Credits.cpp:62:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:66:13: warning: variable 'bFadeInOut' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Credits.cpp:67:13: warning: variable 'bFade' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Credits.cpp:68:12: warning: variable 'iFadeAction' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Credits.cpp:72:8: warning: accessing fields in struct 'CreditsTextInformations' is inefficient due to padding; only needs 44 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/gui/Credits.cpp:72:8: warning: accessing fields in struct 'CreditsTextInformations' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/gui/Credits.cpp:75:3: warning: 'sPos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/Credits.cpp:76:3: warning: 'fColors' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/Credits.cpp:85:8: warning: accessing fields in struct 'CreditsInformations' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/gui/Credits.cpp:89:6: warning: use default member initializer for 'iFirstLine' [modernize-use-default-member-init] +Arx/src/gui/Credits.cpp:90:6: warning: use default member initializer for 'iFontAverageHeight' [modernize-use-default-member-init] +Arx/src/gui/Credits.cpp:92:6: warning: use default member initializer for 'sizex' [modernize-use-default-member-init] +Arx/src/gui/Credits.cpp:92:13: warning: use default member initializer for 'sizey' [modernize-use-default-member-init] +Arx/src/gui/Credits.cpp:98:28: warning: initialization of 'CreditsData' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/gui/Credits.cpp:98:28: warning: variable 'CreditsData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:98:28: warning: variable 'CreditsData' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Credits.cpp:100:13: warning: function 'InitCredits' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:101:13: warning: function 'CalculAverageWidth' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:102:13: warning: function 'ExtractAllCreditsTextInformations' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:104:13: warning: function 'InitCredits' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:111:22: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:111:53: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:124:14: warning: function 'ExtractPhraseColor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:128:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/gui/Credits.cpp:129:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/gui/Credits.cpp:131:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/gui/Credits.cpp:135:13: warning: function 'addCreditsLine' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:145:2: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:145:2: warning: variable 'linerect' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:145:16: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:150:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Credits.cpp:150:3: warning: variable 'n' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:150:8: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Credits.cpp:151:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:153:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Credits.cpp:153:40: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:157:3: warning: variable 'linesize' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:158:24: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:164:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:172:13: warning: function 'CalculAverageWidth' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:175:2: warning: variable 'size' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:179:13: warning: function 'iswhitespace' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:179:31: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Credits.cpp:183:13: warning: function 'strip' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:204:13: warning: function 'ExtractAllCreditsTextInformations' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Credits.cpp:211:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Credits.cpp:213:13: warning: no header providing "std::getline" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:219:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:231:2: warning: variable 'iSize' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:231:14: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:237:3: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:250:3: warning: variable 'time' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:251:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Credits.cpp:251:3: warning: variable 'dtime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:251:17: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Credits.cpp:251:17: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Credits.cpp:255:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/Credits.cpp:255:8: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:255:56: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Credits.cpp:259:4: warning: variable 'yy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:259:10: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Credits.cpp:259:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:262:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:262:58: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:267:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:272:15: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:272:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Credits.cpp:296:3: warning: switch with only one case; use an if statement [hicpp-multiway-paths-covered] +Arx/src/gui/Credits.cpp:296:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/Interface.cpp:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/gui/Interface.cpp:91:1: warning: included header Texture.h is not used directly [misc-include-cleaner] +Arx/src/gui/Interface.cpp:100:1: warning: included header Keyboard.h is not used directly [misc-include-cleaner] +Arx/src/gui/Interface.cpp:122:14: warning: variable 'MagicSightFader' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:123:14: warning: redundant 'Original_framedelay' declaration [readability-redundant-declaration] +Arx/src/gui/Interface.cpp:123:14: warning: variable 'Original_framedelay' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:124:21: warning: variable 'arrowobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:124:21: warning: variable 'arrowobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:127:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:127:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:128:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:128:6: warning: variable 'IN_BOOK_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:129:14: warning: variable 'INVISIBILITY_OVERRIDE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:131:8: warning: accessing fields in struct 'ARX_INTERFACE_HALO_STRUCT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/gui/Interface.cpp:142:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/gui/Interface.cpp:142:9: warning: macro 'GL_DECAL_ICONS' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/gui/Interface.cpp:142:9: warning: macro 'GL_DECAL_ICONS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/Interface.cpp:143:9: warning: macro 'BOOKMARKS_POS_X' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/Interface.cpp:144:9: warning: macro 'BOOKMARKS_POS_Y' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/Interface.cpp:145:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/gui/Interface.cpp:145:9: warning: macro 'PAGE_CHAR_SIZE' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/gui/Interface.cpp:145:9: warning: macro 'PAGE_CHAR_SIZE' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/Interface.cpp:149:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:149:27: warning: variable 'iconequip' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:150:27: warning: variable 'Movable' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:150:27: warning: variable 'Movable' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:151:27: warning: variable 'ChangeLevel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:151:27: warning: variable 'ChangeLevel' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:152:27: warning: variable 'inventory_font' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:152:27: warning: variable 'inventory_font' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:153:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:153:27: warning: variable 'scursor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:154:27: warning: variable 'pTCCrossHair' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:154:27: warning: variable 'pTCCrossHair' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:155:27: warning: variable 'mecanism_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:155:27: warning: variable 'mecanism_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:156:27: warning: variable 'arrow_left_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:156:27: warning: variable 'arrow_left_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:157:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:157:23: warning: redundant 'LATERDRAWHALO' declaration [readability-redundant-declaration] +Arx/src/gui/Interface.cpp:157:23: warning: variable 'LATERDRAWHALO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:158:17: warning: variable 'CURRENT_TORCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:158:17: warning: variable 'CURRENT_TORCH' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:159:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:159:21: warning: variable 'speech' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:160:13: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:160:20: warning: variable 'WILLADDSPEECH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:161:14: warning: variable 'PLAYER_ROTATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:162:14: warning: variable 'SLID_VALUE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:164:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:164:13: warning: variable 'BOOKBUTTON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:165:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:165:13: warning: variable 'LASTBOOKBUTTON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:166:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:166:13: warning: variable 'FORCE_NO_HIDE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:167:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:167:13: warning: variable 'lSLID_VALUE' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:167:13: warning: variable 'lSLID_VALUE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:169:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:169:13: warning: variable 'CHANGE_LEVEL_ICON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:170:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:170:13: warning: redundant 'BLOCK_PLAYER_CONTROLS' declaration [readability-redundant-declaration] +Arx/src/gui/Interface.cpp:170:13: warning: variable 'BLOCK_PLAYER_CONTROLS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:171:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:171:13: warning: variable 'DeadTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:172:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:172:13: warning: redundant 'HALOCUR' declaration [readability-redundant-declaration] +Arx/src/gui/Interface.cpp:172:13: warning: variable 'HALOCUR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:173:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:173:13: warning: variable 'ALLOW_CHEATS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:174:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:174:13: warning: variable 'LOOKING_FOR_SPELL_TARGET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:175:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:175:13: warning: variable 'WILLRETURNTOFREELOOK' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:176:14: warning: variable 'BOW_FOCAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:177:8: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:177:14: warning: redundant 'DANAEMouse' declaration [readability-redundant-declaration] +Arx/src/gui/Interface.cpp:177:14: warning: variable 'DANAEMouse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:178:8: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:178:14: warning: variable 'sActiveInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:179:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:179:22: warning: variable 'WILLADDSPEECHTIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:180:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:180:22: warning: variable 'LOOKING_FOR_SPELL_TARGET_TIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:182:14: warning: variable 'ARXTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:183:14: warning: variable 'ARXOldTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:184:14: warning: variable 'ARXDiffTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:186:13: warning: variable 'bGToggleCombatModeWithKey' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:187:22: warning: variable 'ucFlick' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:189:21: warning: variable 'pTextManageFlyingOver' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:189:21: warning: variable 'pTextManageFlyingOver' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:193:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:193:13: warning: variable 'SHOW_INGAME_MINIMAP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:196:20: warning: variable 'BasicInventorySkin' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:196:20: warning: variable 'BasicInventorySkin' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:196:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:197:20: warning: variable 'ThrowObject' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:197:20: warning: variable 'ThrowObject' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:197:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:198:29: warning: variable 'aiHalo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:198:29: warning: variable 'aiHalo' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:198:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:199:19: warning: variable 'eMouseState' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:200:7: warning: initialization of 'bookclick' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/gui/Interface.cpp:200:7: warning: variable 'bookclick' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:201:7: warning: initialization of 'MemoMouse' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/gui/Interface.cpp:201:7: warning: variable 'MemoMouse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:203:18: warning: variable 'TSecondaryInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:203:18: warning: variable 'TSecondaryInventory' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:204:10: warning: variable 'FlyingOverIO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:204:10: warning: variable 'FlyingOverIO' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:204:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:205:10: warning: variable 'STARTED_ACTION_ON_IO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:205:10: warning: variable 'STARTED_ACTION_ON_IO' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:205:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:206:15: warning: initialization of 'ITC' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/gui/Interface.cpp:206:15: warning: variable 'ITC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:208:13: warning: no header providing "gui::Note" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:208:18: warning: initialization of 'openNote' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/gui/Interface.cpp:208:18: warning: variable 'openNote' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:208:18: warning: variable 'openNote' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:209:18: warning: initialization of 'questBook' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/gui/Interface.cpp:209:18: warning: variable 'questBook' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:209:18: warning: variable 'questBook' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:211:9: warning: variable 'bBookHalo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:212:9: warning: variable 'bGoldHalo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:213:9: warning: variable 'bHitFlash' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:214:9: warning: variable 'bInventoryClosing' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:215:9: warning: variable 'bInventorySwitch' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:216:9: warning: variable 'bIsAiming' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:217:10: warning: variable 'fHitFlash' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:218:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:218:16: warning: variable 'ulHitFlash' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:219:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:219:16: warning: variable 'ulBookHaloTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:220:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:220:16: warning: variable 'ulGoldHaloTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:221:10: warning: variable 'InventoryX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:222:10: warning: variable 'InventoryDir' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:224:10: warning: variable 'CINEMA_DECAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:225:10: warning: variable 'SLID_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:226:10: warning: variable 'BOOKDECX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:227:10: warning: variable 'BOOKDECY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:228:10: warning: variable 'PROGRESS_BAR_TOTAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:229:10: warning: variable 'PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:230:10: warning: variable 'OLD_PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:232:9: warning: variable 'PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:233:9: warning: variable 'TRUE_PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:234:9: warning: variable 'LAST_PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:235:13: warning: variable 'MEMO_PLAYER_MOUSELOOK_ON' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:235:13: warning: variable 'MEMO_PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:237:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:237:9: warning: variable 'COMBINEGOLD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:238:25: warning: variable 'Book_Mode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:239:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:239:9: warning: variable 'Book_MapPage' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:240:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:240:9: warning: variable 'Book_SpellPage' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:241:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:241:9: warning: variable 'CINEMASCOPE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:242:10: warning: variable 'g_TimeStartCinemascope' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:243:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:243:9: warning: variable 'CINEMA_INC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:244:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:244:9: warning: variable 'SMOOTHSLID' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:245:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:245:9: warning: variable 'currpos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:246:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:246:9: warning: variable 'DRAGGING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:247:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:247:9: warning: variable 'INVERTMOUSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:248:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:248:9: warning: variable 'PLAYER_INTERFACE_HIDE_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:249:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:249:9: warning: variable 'MAGICMODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:250:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:250:9: warning: variable 'SpecialCursor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:251:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:251:9: warning: variable 'FLYING_OVER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:252:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:252:9: warning: variable 'OLD_FLYING_OVER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:253:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:253:9: warning: variable 'LastRune' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:254:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:254:9: warning: variable 'BOOKZOOM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:255:1: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:255:10: warning: initialization of 'ePlayerAngle' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/gui/Interface.cpp:255:10: warning: variable 'ePlayerAngle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:256:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:256:9: warning: variable 'CURCURTIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:257:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:257:9: warning: variable 'CURCURDELAY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:258:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:258:9: warning: variable 'CURCURPOS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:259:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:259:13: warning: variable 'INTERFACE_HALO_NB' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:259:13: warning: variable 'INTERFACE_HALO_NB' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:260:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:260:13: warning: variable 'INTERFACE_HALO_MAX_NB' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:260:13: warning: variable 'INTERFACE_HALO_MAX_NB' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:261:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:261:13: warning: variable 'PRECAST_NUM' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:261:13: warning: variable 'PRECAST_NUM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:262:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:262:9: warning: variable 'LastMouseClick' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:265:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:265:13: warning: variable 'lCursorRedistValue' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:265:13: warning: variable 'lCursorRedistValue' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:267:1: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:267:16: warning: variable 'COMBAT_MODE_ON_START_TIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:268:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:268:13: warning: variable 'SPECIAL_DRAW_WEAPON' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:268:13: warning: variable 'SPECIAL_DRAW_WEAPON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:269:6: warning: variable 'bGCroucheToggle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:271:5: warning: variable 'iHighLight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:272:7: warning: variable 'fHighLightAng' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:274:29: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:278:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:278:39: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:282:35: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:282:39: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:288:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:288:41: warning: parameter name '_a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:289:2: warning: variable 'fRes' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:290:28: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:294:6: warning: variable 'bInverseInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:295:6: warning: variable 'lOldTruePlayerMouseLook' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:296:6: warning: variable 'bForceEscapeFreeLook' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:297:6: warning: variable 'bRenderInCursorMode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:299:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:299:6: warning: variable 'lChangeWeapon' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:300:9: warning: variable 'pIOChangeWeapon' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:300:9: warning: variable 'pIOChangeWeapon' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:300:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:302:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:302:13: warning: variable 'lTimeToDrawMecanismCursor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:302:13: warning: variable 'lTimeToDrawMecanismCursor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:303:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:303:13: warning: variable 'lNbToDrawMecanismCursor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:303:13: warning: variable 'lNbToDrawMecanismCursor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:304:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:304:13: warning: variable 'lOldInterface' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:304:13: warning: variable 'lOldInterface' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:318:36: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:322:4: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:351:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Interface.cpp:352:4: warning: variable 'quest' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:377:41: warning: parameter name '_f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:379:9: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:379:25: warning: call to 'floor' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:379:39: warning: call to 'ceil' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:384:34: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:384:49: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:384:64: warning: parameter name 'cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:384:80: warning: parameter name 'cy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:386:11: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:387:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:388:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:389:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:400:30: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:400:46: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:400:62: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:400:81: warning: parameter name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:402:12: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:403:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:404:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:405:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:411:83: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:414:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/gui/Interface.cpp:414:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:417:13: warning: function 'ARX_INTERFACE_DrawItem' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:417:55: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:417:65: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:417:74: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:417:83: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:417:101: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Interface.cpp:423:13: warning: function 'ARX_INTERFACE_DrawNumber' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:423:38: warning: 3 adjacent parameters of 'ARX_INTERFACE_DrawNumber' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Interface.cpp:423:50: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:423:65: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:423:74: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:423:112: warning: the const qualified parameter 'color' is copied for each invocation; consider making it a reference [performance-unnecessary-value-param] +Arx/src/gui/Interface.cpp:425:2: warning: variable 'col' of type 'ColorBGRA' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:427:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:427:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:428:24: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:437:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:437:8: warning: variable name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:438:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:438:8: warning: variable 'tt' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:438:8: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:439:9: warning: variable 'ttx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:440:3: warning: variable 'divideX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:440:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:441:3: warning: variable 'divideY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:441:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:443:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/gui/Interface.cpp:444:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:446:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:450:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:455:27: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:461:11: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:461:11: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:461:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:461:31: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:461:31: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:519:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/gui/Interface.cpp:546:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/Interface.cpp:546:2: warning: variable 'it' of type 'TextureDictionary::iterator' (aka '_Rb_tree_iterator, TextureContainer *>>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:546:30: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:553:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Interface.cpp:553:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/Interface.cpp:565:13: warning: function 'DrawBookInterfaceItem' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:565:54: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:565:64: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:565:73: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:565:82: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Interface.cpp:565:110: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:570:4: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:571:4: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:580:54: warning: 2 adjacent parameters of 'ARX_INTERFACE_HALO_Render' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Interface.cpp:581:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:583:23: warning: 2 adjacent parameters of 'ARX_INTERFACE_HALO_Render' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Interface.cpp:586:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:591:2: warning: variable 'col' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:591:36: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:593:19: warning: no header providing "HALO_NEGATIVE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:604:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:604:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:605:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:605:8: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:606:2: warning: variable 'width' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:606:16: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:607:2: warning: variable 'height' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:607:17: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:614:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:614:62: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:614:102: warning: 2 adjacent parameters of 'ARX_INTERFACE_HALO_Draw' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Interface.cpp:619:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:619:12: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/Interface.cpp:619:41: warning: 'aiHalo' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/gui/Interface.cpp:619:41: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/gui/Interface.cpp:632:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:637:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:637:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:647:24: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:650:23: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:650:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:653:23: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:667:25: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:667:39: warning: parameter name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:669:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:671:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:673:40: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:673:47: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:682:15: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:689:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:702:60: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:728:44: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:728:51: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:731:43: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:731:50: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:735:45: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:735:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:746:41: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:746:48: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:758:44: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:758:51: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:762:44: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:762:51: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:766:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:766:53: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:787:13: warning: function 'onBookClosePage' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:791:3: warning: no header providing "ARX_SPELLS_ClearAllSymbolDraw" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:796:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:796:48: warning: parameter name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:798:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:800:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:805:43: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:805:50: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:811:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Interface.cpp:811:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:815:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:824:42: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:824:49: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:830:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:830:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:832:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:832:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:878:41: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:878:48: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:898:13: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:903:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:903:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:905:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:906:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:907:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:914:18: warning: no header providing "IO_CAN_COMBINE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:918:2: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/gui/Interface.cpp:920:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:920:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:921:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:936:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:938:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:944:6: warning: function 'GetInfosCombineWithIO' has cognitive complexity of 255 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:951:2: warning: variable 'tcIndent' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:953:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:963:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:972:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:976:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:976:20: warning: redundant explicit casting to the same type 'char *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:982:20: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/gui/Interface.cpp:991:15: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/gui/Interface.cpp:991:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:994:13: warning: variable 'pStartString' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:995:13: warning: variable 'pEndString' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:1057:11: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:1111:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1111:19: warning: redundant explicit casting to the same type 'char *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1117:19: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/gui/Interface.cpp:1126:14: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/gui/Interface.cpp:1126:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1129:12: warning: variable 'pStartString' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:1130:12: warning: variable 'pEndString' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:1191:10: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:1246:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1246:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1248:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1249:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1250:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1257:2: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/gui/Interface.cpp:1259:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:1261:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:1271:15: warning: function 'ManageEditorControls' has cognitive complexity of 798 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:1271:15: warning: method 'ManageEditorControls' can be made static [readability-convert-member-functions-to-static] +Arx/src/gui/Interface.cpp:1273:2: warning: variable 'trans' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1277:67: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:1280:3: warning: variable 'fX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1280:9: warning: variable name 'fX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1280:15: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1281:3: warning: variable 'fY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1281:9: warning: variable name 'fY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1281:14: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1282:37: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:1283:37: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:1301:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:1301:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1301:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1301:13: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:1305:18: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1305:18: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1307:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:1307:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1309:20: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1322:16: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1322:16: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1324:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:1324:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1326:18: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1333:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1333:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1335:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1337:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1337:9: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1344:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1349:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1357:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1357:15: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1365:17: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1369:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1369:15: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1377:17: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1382:17: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1382:17: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1392:17: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1392:17: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1429:8: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1430:8: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1441:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:1441:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1443:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1445:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1467:29: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1469:28: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1476:10: warning: variable 'Text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1477:28: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1478:56: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:1484:10: warning: variable 'Text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1485:28: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1486:60: warning: no header providing "std::fixed" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1491:29: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:1491:30: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:1498:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1501:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1503:17: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1504:28: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1507:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1515:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1533:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1533:45: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1534:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1555:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1555:45: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1556:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1565:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1567:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1571:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1571:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1577:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1577:44: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1578:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1595:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1595:44: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1596:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1599:82: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1606:45: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1606:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1608:7: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/gui/Interface.cpp:1613:68: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1615:12: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1620:7: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/gui/Interface.cpp:1626:8: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/gui/Interface.cpp:1634:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1634:53: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1649:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1659:47: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1659:54: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1665:47: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1665:54: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1668:9: warning: variable 'fInventoryY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1668:54: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1669:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:1684:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1684:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1693:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1706:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1706:53: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1709:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1720:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1720:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1736:33: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1736:70: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1751:60: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1755:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:1755:17: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1755:17: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1757:33: warning: no header providing "IO_SHOP" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1775:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1775:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1790:14: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1790:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1792:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1794:11: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1794:11: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1801:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1803:44: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1803:51: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:1807:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1813:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1813:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1829:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1831:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:1831:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1831:21: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1833:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1834:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1838:36: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1838:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1845:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:1845:8: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/Interface.cpp:1845:13: warning: variable 'sx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:1845:13: warning: variable name 'sx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1845:17: warning: variable 'sy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:1845:17: warning: variable name 'sy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1856:16: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:1858:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:1869:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1869:22: warning: no header providing "ARX_DEAD_CODE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1876:29: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1885:12: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/gui/Interface.cpp:1889:10: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/Interface.cpp:1889:17: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:1889:23: warning: variable 'sInventory' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:1889:35: warning: variable 'sInventoryX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:1889:48: warning: variable 'sInventoryY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:1891:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:1892:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:1905:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1908:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1918:72: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1922:4: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:1938:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1942:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:1956:9: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:1956:80: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1963:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:1964:10: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/gui/Interface.cpp:1966:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:1966:8: warning: variable 'res' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1970:17: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:1977:8: warning: variable 'y_ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1977:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1977:22: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1977:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:1977:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:1977:71: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:1978:8: warning: variable 'x_ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1978:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1978:23: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:1978:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:1978:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:1978:72: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:1980:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1980:29: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:1980:75: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:1981:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:1982:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:1982:29: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:1982:75: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:1988:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2006:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2007:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2009:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2009:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2013:69: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2017:12: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:2017:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2019:10: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/gui/Interface.cpp:2019:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2023:5: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:2031:6: warning: variable 'temp' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2047:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2049:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Interface.cpp:2050:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2091:6: warning: variable 'fCenterX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2091:23: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:2092:6: warning: variable 'fSizY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2092:21: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:2095:5: warning: variable 'posx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2100:86: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2107:6: warning: variable 'fRatio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2111:86: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2119:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2129:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2131:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Interface.cpp:2132:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2147:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2149:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:2151:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2153:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:2153:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2153:16: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2153:16: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2155:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2168:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2173:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2176:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2179:51: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:2181:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2188:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2194:23: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2194:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2207:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2220:27: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2220:53: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2222:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2223:9: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/gui/Interface.cpp:2227:25: warning: no header providing "IO_UNDERWATER" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2230:43: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2230:50: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2233:23: warning: no header providing "SHOW_FLAG_NOT_DRAWN" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2237:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2238:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2243:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2257:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:2257:37: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2259:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2261:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2263:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2271:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:2271:3: warning: variable 'weapontype' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2281:58: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2295:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:2303:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:2303:6: warning: variable 'CSEND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:2304:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:2304:6: warning: variable 'MOVE_PRECEDENCE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:2306:13: warning: function 'canOpenBookPage' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:2313:13: warning: function 'openBookPage' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:2334:47: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2334:54: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2344:32: warning: function 'nextBookPage' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:2345:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/Interface.cpp:2345:48: warning: variable 'oldPage' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:2352:4: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:2364:32: warning: function 'prevBookPage' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:2365:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/Interface.cpp:2365:48: warning: variable 'oldPage' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:2370:4: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:2384:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:2384:22: warning: variable 'REQUEST_JUMP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:2386:15: warning: function 'ManagePlayerControls' has cognitive complexity of 495 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:2386:15: warning: method 'ManagePlayerControls' can be made static [readability-convert-member-functions-to-static] +Arx/src/gui/Interface.cpp:2394:12: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:2394:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2398:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2402:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2409:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2413:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2415:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2422:9: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/gui/Interface.cpp:2426:48: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2426:55: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2440:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2459:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2466:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2476:8: warning: variable 'MoveDiv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:2478:8: warning: variable name 'tm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2486:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2489:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:2490:9: warning: variable name 'FD' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2492:7: warning: no header providing "eyeball" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2495:4: warning: variable 'old' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2500:5: warning: variable 'tr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2500:11: warning: variable name 'tr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2501:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2501:28: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2501:43: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2501:43: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2502:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2502:28: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2502:43: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2502:43: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2509:5: warning: variable 'tr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2509:11: warning: variable name 'tr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2510:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2510:27: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2510:42: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2510:42: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2511:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2511:28: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2511:43: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2511:43: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2520:5: warning: variable 'tr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2520:11: warning: variable name 'tr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2521:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2521:28: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2521:43: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2521:43: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2522:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2522:28: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2522:43: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2522:43: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2531:5: warning: variable 'tr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2531:11: warning: variable name 'tr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2532:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2532:28: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2532:43: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2532:43: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2534:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2534:27: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2534:42: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2534:42: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2538:4: warning: no header providing "IO_PHYSICS" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2546:4: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/gui/Interface.cpp:2546:4: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/gui/Interface.cpp:2547:4: warning: variable 'npc' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2547:46: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2548:4: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:2561:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:2561:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2570:9: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:2570:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2571:9: warning: variable 'multi' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:2573:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2608:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2608:14: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2609:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2609:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2610:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2610:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2615:11: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2615:18: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2620:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2623:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2638:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2638:15: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2639:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2639:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2640:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2640:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2645:11: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2645:18: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2650:61: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2653:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2660:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2660:14: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2661:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2661:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2662:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2662:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2666:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2669:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2676:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2676:14: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:2677:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2677:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2678:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:2678:17: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:2682:61: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2685:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2725:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:2725:19: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:2734:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2735:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2735:48: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2762:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:2796:3: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:2805:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2805:53: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2826:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2826:53: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2845:3: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:2854:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2854:53: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2875:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2875:53: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:2902:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:2902:15: warning: no header providing "MAX_SPELLS" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2904:9: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2904:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2907:6: warning: no header providing "ARX_SPELLS_AbortSpellSound" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2916:83: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2917:8: warning: no header providing "Precast" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2917:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2918:5: warning: no header providing "ARX_SPELLS_Precast_Launch" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:2923:83: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2924:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2930:83: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2931:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2947:52: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2955:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:2973:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:2981:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:2989:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3011:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3026:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3032:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3047:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3067:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3080:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3087:32: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3087:33: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3091:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3091:25: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:3095:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3123:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3146:44: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:3146:51: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:3157:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3157:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3159:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3161:12: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:3161:12: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:3168:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3173:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3180:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3198:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3198:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3200:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3202:12: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:3202:12: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:3209:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3214:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3221:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3237:44: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:3237:51: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:3242:24: warning: narrowing conversion from 'long' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:3245:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3254:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3254:5: warning: variable 'lNumSpell' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3254:20: warning: no header providing "ARX_SPELLS_GetInstance" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:3254:43: warning: no header providing "SPELL_FLYING_EYE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:3258:6: warning: no header providing "ARX_SPELLS_Kill" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:3278:35: warning: 2 adjacent parameters of 'ARX_INTERFACE_SetCinemascope' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Interface.cpp:3278:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3278:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3299:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3307:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3322:42: warning: 2 adjacent parameters of 'ARX_INTERFACE_PlayerInterfaceModify' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Interface.cpp:3322:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3322:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3331:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3332:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3334:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:3334:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3339:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3340:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3344:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3345:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3347:17: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:3351:15: warning: function 'ManageKeyMouse' has cognitive complexity of 536 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:3351:15: warning: method 'ManageKeyMouse' can be made static [readability-convert-member-functions-to-static] +Arx/src/gui/Interface.cpp:3355:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3366:73: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:3369:6: warning: variable 'fX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3369:12: warning: variable name 'fX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3369:18: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:3370:6: warning: variable 'fY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3370:12: warning: variable name 'fY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3370:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:3371:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:3372:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:3380:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3383:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3389:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Interface.cpp:3389:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3393:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3399:25: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:3410:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3412:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3416:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3418:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:3418:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:3418:22: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:3420:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3421:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3425:17: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3427:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3427:8: warning: variable 'type' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3433:69: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3438:65: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3443:65: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3448:70: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3457:12: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:3461:13: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:3461:48: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:3469:43: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:3485:40: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:3500:14: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:3504:24: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3510:48: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:3513:86: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3530:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3542:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3550:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3553:100: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3563:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3571:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3603:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3604:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3617:10: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:3618:10: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:3622:4: warning: variable 'fTime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3623:4: warning: variable 'iTime' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3643:4: warning: variable 'fTime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3644:4: warning: variable 'iTime' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3692:5: warning: variable 'mousePosRel' of type 'Vec2s' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3692:11: warning: the variable 'mousePosRel' is copy-constructed from a const reference but is only used as const reference; consider making it a const reference [performance-unnecessary-copy-initialization] +Arx/src/gui/Interface.cpp:3693:60: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:3702:60: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:3721:9: warning: variable name 'fd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3721:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3721:80: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3722:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:3726:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3732:11: warning: variable name 'ia' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3732:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3734:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3738:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3742:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3750:5: warning: variable 'ib' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3750:11: warning: variable name 'ib' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3750:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3755:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3760:13: warning: variable name 'ia' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3760:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3762:34: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:3762:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3764:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3766:7: warning: variable 'iangle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3774:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3775:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3782:7: warning: variable 'ib' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3782:13: warning: variable name 'ib' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3782:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3784:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3797:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3800:16: warning: variable 'temp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:3816:27: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3823:9: warning: variable 'Text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3824:27: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3825:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3831:9: warning: variable 'Text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3832:27: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3837:27: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3837:28: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3849:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:3849:9: warning: variable 'x' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3849:19: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3850:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:3850:9: warning: variable 'y' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3850:19: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3851:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:3851:9: warning: variable 'w' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3851:19: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3852:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:3852:9: warning: variable 'h' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3852:19: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3853:9: warning: variable 'rDraw' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3855:87: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:3866:18: warning: variable 'temp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:3882:29: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3889:11: warning: variable 'Text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3890:29: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3891:57: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3897:11: warning: variable 'Text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3898:29: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3903:30: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:3903:31: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3914:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:3914:9: warning: variable 'x' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3914:19: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3915:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:3915:9: warning: variable 'y' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3915:19: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3916:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:3916:9: warning: variable 'w' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3916:19: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3917:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:3917:9: warning: variable 'h' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3917:19: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3918:9: warning: variable 'rDraw' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3930:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3933:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3934:9: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:3942:14: warning: variable 'fDecPulse' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:3942:14: warning: variable 'fDecPulse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:3944:6: warning: function 'ARX_INTERFACE_DrawSecondaryInventory' has cognitive complexity of 71 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:3948:3: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:3950:22: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3965:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3965:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/Interface.cpp:3965:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:3965:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3965:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:3965:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3971:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3973:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3976:24: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:3977:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3979:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3987:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3991:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:3995:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:3997:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:3999:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4001:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4003:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4005:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4012:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4012:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4012:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4013:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4013:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4013:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4015:6: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4031:7: warning: variable 'fColorPulse' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4031:27: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4031:32: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:4038:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:4045:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4054:6: warning: function 'ARX_INTERFACE_DrawInventory' has cognitive complexity of 38 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:4054:34: warning: 2 adjacent parameters of 'ARX_INTERFACE_DrawInventory' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Interface.cpp:4054:34: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:4058:2: warning: variable 'fCenterX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4058:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4058:79: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4059:2: warning: variable 'fSizY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4059:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4059:87: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4061:2: warning: variable 'fPosX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4062:2: warning: variable 'fPosY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4066:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4069:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4071:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:4073:24: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4074:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:4076:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4079:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:4081:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4081:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4081:25: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4082:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4082:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4082:25: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4084:6: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4095:7: warning: variable 'fColorPulse' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4095:27: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4095:32: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:4114:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4121:27: warning: variable 'stealth_gauge_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:4121:27: warning: variable 'stealth_gauge_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:4122:14: warning: variable 'CURRENT_PLAYER_COLOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:4129:9: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4133:10: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4134:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:4134:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4136:4: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4136:10: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4136:15: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4137:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4137:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4139:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4140:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4155:6: warning: function 'ARX_INTERFACE_DrawDamagedEquipment' has cognitive complexity of 33 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:4157:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4159:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4161:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4163:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4167:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4167:9: warning: variable name 'eq' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4169:4: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/gui/Interface.cpp:4169:4: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/Interface.cpp:4190:14: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4191:5: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4210:9: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4212:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:4212:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4214:3: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4214:9: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4214:14: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4216:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4221:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4221:10: warning: variable name 'eq' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4223:5: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/gui/Interface.cpp:4223:5: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/Interface.cpp:4244:15: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4245:6: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4246:6: warning: variable 'col' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4253:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4271:32: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4271:41: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4271:76: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4274:8: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:4274:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4281:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4293:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4307:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4309:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4317:28: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4317:37: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4317:72: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4317:84: warning: pointer parameter 'oldval' can be pointer to const [readability-non-const-parameter] +Arx/src/gui/Interface.cpp:4320:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/Interface.cpp:4320:8: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:4320:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4320:10: warning: variable 'ot' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:4320:10: warning: variable name 'ot' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4328:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4340:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4354:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4356:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4365:13: warning: function 'StdDraw' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:4365:13: warning: function 'StdDraw' has cognitive complexity of 55 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:4365:51: warning: the parameter 'color' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Interface.cpp:4365:82: warning: 2 adjacent parameters of 'StdDraw' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Interface.cpp:4365:82: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4365:93: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4365:98: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4367:21: warning: variable 'tc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:4367:21: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4369:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:4371:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:4371:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4376:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4391:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4400:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4403:28: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4403:29: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4407:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4410:28: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4410:29: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4433:22: warning: 2 adjacent parameters of 'ManageSpellIcon' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Interface.cpp:4433:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4433:27: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4433:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4435:2: warning: variable 'POSX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4435:15: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4437:20: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4438:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:4438:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4439:2: warning: no header providing "Spell" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4445:9: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4446:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:4449:47: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4450:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4451:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4461:6: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4461:47: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4463:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4470:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4474:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4474:43: warning: no header providing "SPELL_COUNT" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4474:74: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4477:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4479:14: warning: variable 'GLOBAL_LIGHT_FACTOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:4481:6: warning: function 'ARX_INTERFACE_ManageOpenedBook_Finish' has cognitive complexity of 218 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:4492:16: warning: variable name 'tl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4493:4: warning: undefined behavior, destination object type 'EERIE_LIGHT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/gui/Interface.cpp:4493:4: warning: undefined behavior, source object type 'EERIE_LIGHT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/gui/Interface.cpp:4507:27: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4507:41: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4517:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4517:4: warning: variable 'found2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4518:10: warning: variable 'n' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:4518:10: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4519:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4520:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4522:26: warning: no header providing "RUNE_COUNT" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4526:25: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4526:26: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4527:25: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4527:26: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4535:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4537:49: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:4541:8: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:4541:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4544:16: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:4549:7: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:4549:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4552:13: warning: variable 'tt' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:4552:13: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4554:26: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4554:27: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4555:26: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4555:27: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4569:26: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4569:27: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4570:26: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4570:27: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4575:52: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:4591:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4591:13: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4595:80: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4595:101: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4608:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:4618:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4619:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4621:11: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/gui/Interface.cpp:4621:11: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/Interface.cpp:4623:16: warning: no header providing "RUNE_AAM" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4624:12: warning: no header providing "ARX_SPELLS_RequestSymbolDraw" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4627:16: warning: no header providing "RUNE_CETRIUS" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4631:16: warning: no header providing "RUNE_COMUNICATUM" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4635:16: warning: no header providing "RUNE_COSUM" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4639:16: warning: no header providing "RUNE_FOLGORA" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4643:16: warning: no header providing "RUNE_FRIDD" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4647:16: warning: no header providing "RUNE_KAOM" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4651:16: warning: no header providing "RUNE_MEGA" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4655:16: warning: no header providing "RUNE_MORTE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4659:16: warning: no header providing "RUNE_MOVIS" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4663:16: warning: no header providing "RUNE_NHI" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4667:16: warning: no header providing "RUNE_RHAA" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4671:16: warning: no header providing "RUNE_SPACIUM" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4675:16: warning: no header providing "RUNE_STREGUM" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4679:16: warning: no header providing "RUNE_TAAR" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4683:16: warning: no header providing "RUNE_TEMPUS" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4687:16: warning: no header providing "RUNE_TERA" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4691:16: warning: no header providing "RUNE_VISTA" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4695:16: warning: no header providing "RUNE_VITAE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4699:16: warning: no header providing "RUNE_YOK" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4706:10: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/gui/Interface.cpp:4706:19: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4715:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4726:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Interface.cpp:4732:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4732:11: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4734:53: warning: no header providing "RUNE_NONE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:4736:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4748:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4759:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4768:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4776:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4778:13: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4778:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4779:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:4785:23: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4785:39: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4806:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4811:49: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:4811:50: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4841:4: warning: undefined behavior, destination object type 'EERIE_LIGHT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/gui/Interface.cpp:4841:4: warning: undefined behavior, source object type 'EERIE_LIGHT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/gui/Interface.cpp:4851:6: warning: function 'ARX_INTERFACE_ManageOpenedBook' exceeds recommended size/complexity thresholds [readability-function-size] +Arx/src/gui/Interface.cpp:4851:6: warning: function 'ARX_INTERFACE_ManageOpenedBook' has cognitive complexity of 649 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:4855:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:4941:9: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4945:28: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] +Arx/src/gui/Interface.cpp:4946:4: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4946:10: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4946:34: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] +Arx/src/gui/Interface.cpp:4957:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:4958:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4959:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:4967:4: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4967:10: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4968:4: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4968:10: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4974:33: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4974:62: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:4987:50: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:4987:57: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:4998:5: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4998:11: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:4999:5: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:4999:11: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5004:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:5010:34: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5010:74: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5023:51: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5023:58: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5033:4: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5033:10: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5034:4: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5034:10: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5039:33: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5039:71: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5051:50: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5051:57: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5060:4: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5060:10: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5061:4: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5061:10: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5065:33: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5065:73: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5077:50: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5077:57: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5084:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5085:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5087:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5088:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5095:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Interface.cpp:5097:34: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:5101:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:5102:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5102:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5106:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5122:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5122:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5123:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5123:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5136:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5136:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5148:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5148:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5149:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5149:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5163:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5163:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5167:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5174:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5174:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5175:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5175:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5186:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5186:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5190:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5197:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5197:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5198:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5198:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5209:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5209:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5213:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5220:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5220:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5221:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5221:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5232:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5232:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5236:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5243:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5243:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5244:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5244:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5255:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5255:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5259:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5266:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5266:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5267:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5267:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5278:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5278:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5282:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5289:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5289:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5290:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5290:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5301:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5301:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5305:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5312:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5312:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5313:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5313:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5324:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5324:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5328:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5335:6: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5335:12: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5336:6: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5336:12: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5347:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5347:59: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:5351:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5375:21: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5376:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5385:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5388:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5390:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5392:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5394:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5396:65: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5398:65: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5401:7: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:5433:7: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:5509:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5511:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5513:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5515:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5519:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5521:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5523:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5525:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5527:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5529:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5531:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5533:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5535:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5542:4: warning: variable 'fRandom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5544:4: warning: variable 't' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5544:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5552:23: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5555:39: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5557:38: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5568:7: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5570:6: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5590:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5592:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5594:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5598:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5608:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5610:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5612:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5616:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5626:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5628:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5630:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5634:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5643:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5645:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5647:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5651:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5662:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5664:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5666:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5670:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5680:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5682:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5684:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5688:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5698:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5700:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5702:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5706:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5716:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5718:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5720:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5724:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5734:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5736:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5738:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5742:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5752:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5754:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5756:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5760:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5770:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5772:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5774:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5778:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5789:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5791:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5793:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5797:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5807:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5809:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5811:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5815:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5855:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5857:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5859:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5863:3: warning: variable 'ac' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5863:9: warning: variable name 'ac' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5868:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5870:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5872:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5880:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5882:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5884:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5892:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5894:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5896:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5902:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:5904:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5905:32: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5909:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5910:30: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5914:66: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:5922:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5922:15: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:5922:49: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5923:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5923:49: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5927:5: warning: variable 'vp' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5927:10: warning: variable name 'vp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5927:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5927:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5927:72: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5932:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5932:49: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5933:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5933:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:5939:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:5968:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:5971:3: warning: variable 'iSavePDL' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:5971:18: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5983:9: warning: variable name 'vp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:5984:31: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5986:32: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:5987:33: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6011:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6014:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6014:3: warning: variable 'ti' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6014:8: warning: variable name 'ti' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6025:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:6025:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6032:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6034:41: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6034:78: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6036:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6063:31: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6063:42: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6069:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6078:67: warning: no header providing "OBJECT_TYPE_2H" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:6100:6: warning: variable 'fX1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6100:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6101:6: warning: variable 'fX2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6101:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6102:6: warning: variable 'fY1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6102:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6103:6: warning: variable 'fY2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6103:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6105:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6106:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6107:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6108:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6110:22: warning: no header providing "IO_ICONIC" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:6128:6: warning: variable 'fX1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6128:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6129:6: warning: variable 'fX2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6129:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6130:6: warning: variable 'fY1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6130:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6131:6: warning: variable 'fY2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6131:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6133:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6134:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6135:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6136:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6156:6: warning: variable 'fX1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6156:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6157:6: warning: variable 'fX2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6157:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6158:6: warning: variable 'fY1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6158:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6159:6: warning: variable 'fY2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6159:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6161:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6162:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6163:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6164:40: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6170:23: warning: variable 'tc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:6170:23: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6171:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6181:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6188:6: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6194:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6195:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6200:6: warning: variable 'fWidth' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6200:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6201:6: warning: variable 'fHeight' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6201:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6202:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6203:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6205:6: warning: variable 'fX1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6205:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6206:6: warning: variable 'fX2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6206:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6207:6: warning: variable 'fY1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6207:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6208:6: warning: variable 'fY2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6208:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6209:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6210:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6211:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6212:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6218:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6227:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6234:6: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6240:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6241:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6246:6: warning: variable 'fWidth' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6246:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6247:6: warning: variable 'fHeight' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6247:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6248:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6249:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6251:6: warning: variable 'fX1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6251:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6252:6: warning: variable 'fX2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6252:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6253:6: warning: variable 'fY1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6253:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6254:6: warning: variable 'fY2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6254:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6256:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6257:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6258:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6259:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6265:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6288:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6299:15: warning: function 'DrawAllInterfaceFinish' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:6299:15: warning: method 'DrawAllInterfaceFinish' can be made static [readability-convert-member-functions-to-static] +Arx/src/gui/Interface.cpp:6301:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6302:8: warning: variable 'rrr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:6305:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6306:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6313:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6314:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6315:21: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6322:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6323:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6330:25: warning: no header providing "MAX_PRECAST" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:6331:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6337:39: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:6337:57: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6339:12: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6339:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:6339:33: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6341:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:6341:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6354:63: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6359:2: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6359:8: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6360:2: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6360:8: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6360:13: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6370:17: warning: variable name 'pd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6388:14: warning: variable 'GLOBAL_SLOWDOWN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:6389:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6389:13: warning: variable 'SPLASH_THINGS_STAGE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:6391:15: warning: function 'DrawAllInterface' has cognitive complexity of 509 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:6391:15: warning: method 'DrawAllInterface' can be made static [readability-convert-member-functions-to-static] +Arx/src/gui/Interface.cpp:6402:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:6402:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6404:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6407:9: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6409:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:6409:8: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:6413:12: warning: variable name 'at' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6413:15: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:6413:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:6415:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6416:19: warning: redundant boolean literal in conditional assignment [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:6417:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6421:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:6421:6: warning: variable 'aim' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6425:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6426:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6433:48: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6433:92: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6435:49: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6435:93: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6438:5: warning: variable 'j' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6438:11: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6441:5: warning: variable 'col' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6442:48: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6442:95: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6449:4: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6449:18: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6451:36: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6461:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6461:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6463:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6465:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:6465:9: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:6472:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6474:4: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6482:45: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:6482:52: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:6487:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6502:44: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:6502:51: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:6507:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6523:63: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6525:41: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:6535:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6535:6: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6535:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6535:15: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6536:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6538:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6538:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6538:76: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6546:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6546:7: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6546:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6546:16: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6547:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6549:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6551:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6559:47: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:6559:54: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:6562:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6562:68: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6569:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6572:7: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:6572:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6581:6: warning: variable 'fCenterX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6581:23: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6582:6: warning: variable 'fSizY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6582:21: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6584:6: warning: variable 'posx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6601:78: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6605:48: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:6605:55: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:6617:7: warning: variable 'fRatio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6621:68: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6627:69: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6632:78: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6636:48: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:6636:55: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/gui/Interface.cpp:6648:5: warning: variable 'fSpeed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6652:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6652:44: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6655:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6662:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6664:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6664:48: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6678:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6680:7: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:6687:25: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6688:5: warning: variable 'fCenterX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6688:22: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6689:5: warning: variable 'fSizY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6689:20: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6693:5: warning: variable 'posx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6694:5: warning: variable 'posy' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6698:61: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6700:61: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6700:155: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6701:61: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6701:153: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6708:9: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.cpp:6719:57: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:6723:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6724:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6726:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:6726:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:6726:20: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:6730:7: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6730:13: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6731:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:6731:7: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6731:13: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6735:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6737:8: warning: variable 'famount' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6737:24: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6737:33: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6737:44: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:6737:44: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:6739:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6742:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6744:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6749:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6749:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6749:41: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6751:8: warning: variable 'famount' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6751:24: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6751:33: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6751:44: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:6751:44: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:6753:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6759:87: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6761:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6768:5: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/gui/Interface.cpp:6778:11: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6778:14: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6778:48: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6779:11: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6779:14: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6791:8: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6791:42: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6792:8: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6807:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6820:63: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:6824:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:6824:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:6824:20: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:6855:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6855:43: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6856:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6871:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6871:45: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6872:11: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6888:6: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6888:20: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6889:42: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6897:24: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6910:6: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6910:20: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6911:42: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6919:6: warning: variable 'POSX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6919:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6919:49: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6920:6: warning: variable 'POSY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6920:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6921:24: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6931:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6939:4: warning: variable 'px' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6939:10: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6939:15: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6940:4: warning: variable 'py' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:6940:10: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6942:10: warning: variable name 'vv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:6942:22: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:6944:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6945:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6962:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6973:7: warning: no header providing "CurrSpellSymbol" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:6978:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:6980:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6983:9: warning: no header providing "SpellSymbol" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:6983:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:6989:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6989:25: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:6991:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7023:25: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7032:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7046:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7046:25: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7054:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.cpp:7054:19: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7055:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/Interface.cpp:7055:10: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:7055:10: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7055:14: warning: variable 'py' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:7055:14: warning: variable name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7061:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7061:64: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7062:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7065:4: warning: variable 'fnl' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7065:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7065:14: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:7065:33: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7065:33: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:7066:4: warning: variable 'fnm' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7066:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7066:14: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:7066:33: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7066:33: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:7072:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Interface.cpp:7072:4: warning: variable 'fSLID_VALUE_neg' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7075:5: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7076:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7076:5: warning: variable 'g' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7076:10: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7076:14: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7077:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7077:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7080:44: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7087:38: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7087:152: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7091:26: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7101:13: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7102:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7108:4: warning: variable 'LARGG' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7109:4: warning: variable 'HAUTT' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7111:27: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7111:82: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7112:5: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7117:20: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7117:54: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7117:66: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7117:98: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7117:132: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7117:150: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7121:26: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7146:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7152:6: warning: variable 'fSizeX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7153:6: warning: variable 'fSizeY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7154:6: warning: variable 'lcolor' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7158:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7161:6: warning: variable 'fMove' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7161:18: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7161:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7164:33: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7168:25: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7168:53: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7172:25: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7176:25: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7176:57: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7190:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7190:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:7191:17: warning: variable 'DESTROYED_DURING_RENDERING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:7191:17: warning: variable 'DESTROYED_DURING_RENDERING' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:7192:14: warning: variable 'STARTED_ANGLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:7193:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7193:6: warning: variable 'SPECIAL_DRAGINTER_RENDER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:7194:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7194:6: warning: variable 'CANNOT_PUT_IT_HERE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.cpp:7196:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7196:6: warning: function 'Manage3DCursor' has cognitive complexity of 64 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:7196:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7198:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7201:8: warning: variable name 'ag' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7203:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7205:2: warning: variable 'drop_miny' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7205:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7205:40: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7207:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7207:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7210:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7212:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7216:20: warning: no header providing "IO_INVERTED" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:7229:2: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7230:2: warning: variable 'angle2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7232:2: warning: variable 'zrange' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7232:15: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7232:41: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7233:8: warning: variable name 'va' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7235:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7237:11: warning: variable name 'vd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7240:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:7240:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7247:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:7247:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7249:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:7249:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7251:11: warning: variable name 'mx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7258:24: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7258:39: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7259:7: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7261:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7261:39: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7262:7: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7274:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Interface.cpp:7288:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/Interface.cpp:7289:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7289:22: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7291:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7291:22: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7294:6: warning: variable 'xmod' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7294:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7294:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7295:6: warning: variable 'ymod' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7295:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7295:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7297:6: warning: variable 'mvecty' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7299:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7299:33: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7299:64: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7299:71: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7301:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7301:33: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7303:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7303:33: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7303:64: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7303:71: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7306:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7306:33: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7306:64: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7306:71: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7308:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7308:33: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7310:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7310:33: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7310:64: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7310:71: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7319:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:7319:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7325:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Interface.cpp:7344:6: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:7344:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7346:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:7346:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7351:6: warning: variable 'inc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7352:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7365:7: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7410:8: warning: variable 'iOldFrameCount' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7410:29: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7412:27: warning: no header providing "GFLAG_NOCOMPUTATION" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:7414:8: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7425:36: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7425:57: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7426:26: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7432:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7433:7: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:7434:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7438:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:7445:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7451:9: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7451:41: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7453:18: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7473:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:7475:8: warning: different indentation for 'if' and corresponding 'else' [readability-misleading-indentation] +Arx/src/gui/Interface.cpp:7488:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:7495:6: warning: different indentation for 'if' and corresponding 'else' [readability-misleading-indentation] +Arx/src/gui/Interface.cpp:7495:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/gui/Interface.cpp:7505:6: warning: function 'ARX_INTERFACE_RenderCursorInternal' has cognitive complexity of 348 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Interface.cpp:7505:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7515:21: warning: variable 'surf' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:7521:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7521:25: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7524:5: warning: no header providing "ARX_SPELLS_CancelSpellTarget" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:7535:6: warning: no header providing "ARX_SPELLS_LaunchSpellTarget" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:7559:4: warning: variable 'fTexSizeX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7560:4: warning: variable 'fTexSizeY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7562:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7562:20: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:7562:52: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7562:52: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:7562:66: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7572:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7577:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7579:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7582:62: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:7587:40: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:7595:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7597:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:7597:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7600:6: warning: variable 'fHLight' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7600:22: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7600:28: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7615:10: warning: variable name 'ag' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7617:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7619:4: warning: variable 'drop_miny' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7619:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7619:42: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7621:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7624:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7635:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7637:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7640:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/Interface.cpp:7640:10: warning: variable 'POSX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:7640:15: warning: variable 'POSY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:7642:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7643:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7648:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:7648:44: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:7656:25: warning: variable 'tc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:7656:25: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7658:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7659:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7661:6: warning: variable 'MODIF' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7664:6: warning: variable 'fTexSizeX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7665:6: warning: variable 'fTexSizeY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7672:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:7672:60: warning: no header providing "IO_BLACKSMITH" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:7674:8: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7674:14: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7678:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7678:9: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7678:14: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7678:18: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7683:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7702:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7712:20: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7712:37: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7718:21: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7719:21: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7724:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7736:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7744:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7753:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7764:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7764:61: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7767:25: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7769:34: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7769:60: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7774:7: warning: variable 'fTexSizeX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7775:7: warning: variable 'fTexSizeY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7811:6: warning: variable 'fTexSizeX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7812:6: warning: variable 'fTexSizeY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7826:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:7826:48: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:7828:26: warning: variable 'tc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Interface.cpp:7828:26: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7829:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Interface.cpp:7832:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7834:7: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7836:13: warning: variable name 'mx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7837:13: warning: variable name 'my' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.cpp:7845:7: warning: variable 'fTexSizeX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7846:7: warning: variable 'fTexSizeY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7853:79: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7871:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7874:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7888:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.cpp:7895:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7910:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7915:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Interface.cpp:7915:20: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Interface.cpp:7917:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:7917:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Interface.cpp:7919:5: warning: variable 'fHLight' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7919:21: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7919:27: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Interface.cpp:7940:7: warning: variable 'POSX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7940:20: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7940:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7941:7: warning: variable 'POSY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:7941:20: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7941:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:7943:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7944:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Interface.cpp:7954:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:62:14: warning: variable 'BOOKDECX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:63:14: warning: variable 'BOOKDECY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:65:17: warning: variable 'FlyingOverIO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:65:17: warning: variable 'FlyingOverIO' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:68:7: warning: class 'INTERFACE_TC' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/Interface.h:68:7: warning: class 'INTERFACE_TC' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/Interface.h:80:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/Interface.h:81:21: warning: member variable 'Level' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/gui/Interface.h:82:21: warning: member variable 'Xp' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/gui/Interface.h:85:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/gui/Interface.h:91:8: warning: accessing fields in struct 'SPELL_ICON' is inefficient due to padding; only needs 111 bytes but is using 112 bytes [altera-struct-pack-align] +Arx/src/gui/Interface.h:91:8: warning: accessing fields in struct 'SPELL_ICON' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/gui/Interface.h:91:8: warning: constructor does not initialize these fields: tc, level, spellid, bSecret, bDuration, bAudibleAtStart [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/Interface.h:95:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:97:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.h:103: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:121: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:129: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/Interface.h:177:6: warning: enum 'ARX_INTERFACE_FLAG' 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/gui/Interface.h:191: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/Interface.h:201: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/Interface.h:210:21: warning: variable 'ITC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:211:14: warning: variable 'MemoMouse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:212:14: warning: variable 'bookclick' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:214:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Interface.h:214:19: warning: variable 'spellicons' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:215:14: warning: variable 'CINEMA_DECAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:216:32: warning: variable 'Book_Mode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:217:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:217:13: warning: variable 'SpecialCursor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:219:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:219:13: warning: variable 'LastMouseClick' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:220:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:220:13: warning: variable 'INVERTMOUSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:221:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:221:13: warning: variable 'CINEMASCOPE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:222:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:222:13: warning: variable 'CINEMA_INC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:223:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:223:13: warning: variable 'CurrFightPos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Interface.h:226:23: warning: parameter 1 is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/gui/Interface.h:226:34: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/Interface.h:227:28: warning: parameter 1 is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/gui/Interface.h:227:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:227:38: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/Interface.h:228:29: warning: parameter 1 is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/gui/Interface.h:228:38: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/Interface.h:229:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Interface.h:229:29: warning: parameter 1 is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/gui/Interface.h:229:40: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/Interface.h:232:24: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.h:232:34: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.h:232:44: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.h:232:54: warning: parameter name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.h:233:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:235:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:235:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:237:6: warning: function 'ARX_INTERFACE_SetCinemascope' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/Interface.h:237:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:237:40: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.h:237:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:237:48: warning: parameter name 'vv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.h:238:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:242:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Interface.h:242:48: warning: parameter name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.h:259:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:262:29: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Interface.h:270:9: warning: macro 'ARX_MOUSE_OVER_BOOK' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/Interface.h:271:9: warning: macro 'ARX_MOUSE_OVER_INVENTORY' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/Interface.h:272:9: warning: macro 'ARX_MOUSE_OVER_INVENTORY_2' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/Interface.h:273:9: warning: macro 'ARX_MOUSE_OVER_IO' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/Interface.h:275:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Interface.h:275:13: warning: variable 'ARX_MOUSE_OVER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +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:80:1: warning: included header Screenshot.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:81:1: warning: included header Filesystem.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:85:1: warning: included header ChangeLevel.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:91:22: warning: redundant 'pTextManage' declaration [readability-redundant-declaration] +Arx/src/gui/Menu.cpp:91:22: warning: variable 'pTextManage' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:91:22: warning: variable 'pTextManage' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:92:8: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:92:15: warning: variable 'ePlayerAngle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:93:14: warning: redundant 'Xratio' declaration [readability-redundant-declaration] +Arx/src/gui/Menu.cpp:93:14: warning: variable 'Xratio' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:93:22: warning: redundant 'Yratio' declaration [readability-redundant-declaration] +Arx/src/gui/Menu.cpp:93:22: warning: variable 'Yratio' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:94:32: warning: redundant 'Book_Mode' declaration [readability-redundant-declaration] +Arx/src/gui/Menu.cpp:94:32: warning: variable 'Book_Mode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:95:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:95:13: warning: variable 'START_NEW_QUEST' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:96:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:96:13: warning: variable 'LASTBOOKBUTTON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:97:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:97:13: warning: variable 'BOOKBUTTON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:98:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:98:13: warning: variable 'OLD_FLYING_OVER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:99:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:99:13: warning: variable 'FLYING_OVER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:100:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:100:13: warning: variable 'BOOKZOOM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:101:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:101:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:102:14: warning: variable 'ARXTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:103:14: warning: variable 'ARXOldTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:104:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:104:13: warning: variable 'NEED_SPECIAL_RENDEREND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:105:13: warning: variable 'bFadeInOut' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:106:13: warning: variable 'bFade' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:107:12: warning: variable 'iFadeAction' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:108:14: warning: variable 'fFadeInOut' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:109:13: warning: variable 'SKIN_MOD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:110:13: warning: variable 'QUICK_MOD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:113:14: warning: redundant 'ARXTimeMenu' declaration [readability-redundant-declaration] +Arx/src/gui/Menu.cpp:113:14: warning: variable 'ARXTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:114:14: warning: redundant 'ARXOldTimeMenu' declaration [readability-redundant-declaration] +Arx/src/gui/Menu.cpp:114:14: warning: variable 'ARXOldTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:115:14: warning: variable 'ARXDiffTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:117:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:117:13: warning: variable 'REQUEST_SPEECH_SKIP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:118:13: warning: variable 'TRUE_PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:120:27: warning: variable 'pTextureLoad' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:120:27: warning: variable 'pTextureLoad' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:127:6: warning: variable 'bQuickGenFirstClick' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:128:15: warning: variable 'ARXmenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:129:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:129:6: warning: variable 'REFUSE_GAME_RETURN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:131:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:131:13: warning: variable 'SP_HEAD' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Menu.cpp:131:13: warning: variable 'SP_HEAD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:134:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/gui/Menu.cpp:134:9: warning: macro 'ARX_MENU_SIZE_Y' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/gui/Menu.cpp:134:9: warning: macro 'ARX_MENU_SIZE_Y' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/Menu.cpp:146:36: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:192:2: warning: variable 'creditsFile' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Menu.cpp:194:9: warning: variable 'creditsSize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Menu.cpp:231:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Menu.cpp:237:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Menu.cpp:244:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Menu.cpp:247:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:247:13: warning: variable 'NO_TIME_INIT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:307:6: warning: function 'ARX_Menu_Manage' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Menu.cpp:315:41: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:321:11: warning: no header providing "SendMsgToAllIO" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:321:26: warning: no header providing "SM_KEY_PRESSED" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:321:46: warning: no header providing "REFUSE" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:328:6: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:383:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:383:13: warning: variable 'PLAYER_INTERFACE_HIDE_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Menu.cpp:388:6: warning: function 'ARX_Menu_Render' has cognitive complexity of 115 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Menu.cpp:396:2: warning: variable 'br' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Menu.cpp:396:7: warning: variable name 'br' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Menu.cpp:408:29: warning: no header providing "Mouse" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:433:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Menu.cpp:488:4: warning: no header providing "ANIM_Set" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:490:28: warning: no header providing "EA_LOOP" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:499:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Menu.cpp:516:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:518:81: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:521:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/Menu.cpp:521:10: warning: variable 'ox' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Menu.cpp:521:10: warning: variable name 'ox' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Menu.cpp:521:14: warning: variable 'oy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Menu.cpp:521:14: warning: variable name 'oy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Menu.cpp:534:6: warning: variable 'fRandom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Menu.cpp:536:6: warning: variable 't' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Menu.cpp:536:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Menu.cpp:542:8: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:544:7: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:558:4: warning: variable 'fPosY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Menu.cpp:558:34: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:560:4: warning: variable 'fSizeX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Menu.cpp:561:4: warning: variable 'fSizeY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Menu.cpp:567:13: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:574:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:578:6: warning: variable 'iSkin' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Menu.cpp:578:18: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/gui/Menu.cpp:596:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:599:82: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:599:108: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:603:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:617:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:619:6: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/Menu.cpp:640:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:643:78: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:643:104: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:647:12: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:647:25: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:651:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:687:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:689:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:696:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:698:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:702:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:705:78: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:705:104: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Menu.cpp:709:28: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:709:57: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:710:28: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:710:57: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Menu.cpp:718:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.cpp:725:4: warning: switch with only one case; use an if statement [hicpp-multiway-paths-covered] +Arx/src/gui/Menu.cpp:725:4: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/Menu.cpp:734:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Menu.h:54:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/gui/Menu.h:54:9: warning: macro 'MAX_FLYOVER' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/gui/Menu.h:54:9: warning: macro 'MAX_FLYOVER' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/Menu.h:56:8: warning: accessing fields in struct 'MENU_DYNAMIC_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/gui/Menu.h:61:8: warning: use default member initializer for 'creditspos' [modernize-use-default-member-init] +Arx/src/gui/Menu.h:62:8: warning: use default member initializer for 'creditstart' [modernize-use-default-member-init] +Arx/src/gui/Menu.h:63:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Menu.h:70:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Menu.h:70:57: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Menu.h:71:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Menu.h:76: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/Menu.h:84:8: warning: accessing fields in struct 'ARX_MENU_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/gui/Menu.h:89:22: warning: variable 'ARXmenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:46:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +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:71:1: warning: included header Filesystem.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:84:13: warning: variable 'bQuickGenFirstClick' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:85:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuPublic.cpp:85:13: warning: redundant 'DANAESIZX' declaration [readability-redundant-declaration] +Arx/src/gui/MenuPublic.cpp:85:13: warning: variable 'DANAESIZX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:86:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuPublic.cpp:86:13: warning: redundant 'DANAESIZY' declaration [readability-redundant-declaration] +Arx/src/gui/MenuPublic.cpp:86:13: warning: variable 'DANAESIZY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:88:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuPublic.cpp:88:13: warning: variable 'REFUSE_GAME_RETURN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:90:13: warning: variable 'bFade' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:91:13: warning: variable 'bFadeInOut' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:92:12: warning: variable 'iFadeAction' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:94:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuPublic.cpp:94:13: warning: variable 'ZMAPMODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:95:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuPublic.cpp:95:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:135:29: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuPublic.cpp:138:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuPublic.cpp:138:13: warning: variable 'MAX_FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:139:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuPublic.cpp:139:13: warning: variable 'USEINTERNORM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:143:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuPublic.cpp:145:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/MenuPublic.cpp:145:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuPublic.cpp:149: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:175:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuPublic.cpp:176:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuPublic.cpp:177:2: warning: variable 'fVolume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuPublic.cpp:177:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuPublic.cpp:179:24: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuPublic.cpp:183:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuPublic.cpp:184:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuPublic.cpp:185:2: warning: variable 'fVolume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuPublic.cpp:185:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuPublic.cpp:187:27: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuPublic.cpp:191:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuPublic.cpp:192:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuPublic.cpp:194:2: warning: variable 'fVolume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuPublic.cpp:194:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuPublic.cpp:196:30: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuPublic.cpp:200:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuPublic.cpp:201:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuPublic.cpp:203:2: warning: variable 'fVolume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuPublic.cpp:203:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuPublic.cpp:205:32: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuPublic.cpp:221:9: warning: variable 'ulSizeAmbiancePlayList' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuPublic.cpp:230:40: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/MenuPublic.cpp:231:37: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/MenuPublic.cpp:232:40: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/MenuPublic.cpp:233:42: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/MenuPublic.cpp:290:14: warning: variable 'PROGRESS_BAR_TOTAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:291:14: warning: variable 'OLD_PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:292:14: warning: variable 'PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.cpp:293:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuPublic.cpp:293:13: warning: variable 'NEED_SPECIAL_RENDEREND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuPublic.h:52:6: warning: function 'ARXMenu_Options_Video_SetFogDistance' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuPublic.h:53:6: warning: function 'ARXMenu_Options_Video_SetDetailsQuality' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuPublic.h:61:6: warning: function 'ARXMenu_Options_Audio_SetEAX' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuPublic.h:66:6: warning: function 'ARXMenu_Options_Control_GetInvertMouse' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuPublic.h:67:6: warning: function 'ARXMenu_Options_Control_SetInvertMouse' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuPublic.h:82:63: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:91:12: warning: using decl 'min' is unused [misc-unused-using-decls] +Arx/src/gui/MenuWidgets.cpp:93:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:96:19: warning: initialization of 'AUTO_RESOLUTION_STRING' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/gui/MenuWidgets.cpp:98:12: warning: variable 'newWidth' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:98:12: warning: variable 'newWidth' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:99:12: warning: variable 'newHeight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:99:12: warning: variable 'newHeight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:100:12: warning: variable 'newBpp' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:100:12: warning: variable 'newBpp' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:101:13: warning: variable 'newFullscreen' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:101:13: warning: variable 'newFullscreen' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:107:9: warning: function-like macro 'RATIO_X' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/gui/MenuWidgets.cpp:107:32: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:108:9: warning: function-like macro 'RATIO_Y' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/gui/MenuWidgets.cpp:108:32: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:113:22: warning: redundant 'ARXmenu' declaration [readability-redundant-declaration] +Arx/src/gui/MenuWidgets.cpp:113:22: warning: variable 'ARXmenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:114:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:114:27: warning: variable 'scursor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:115:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:115:13: warning: redundant 'DANAESIZX' declaration [readability-redundant-declaration] +Arx/src/gui/MenuWidgets.cpp:115:13: warning: variable 'DANAESIZX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:116:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:116:13: warning: redundant 'DANAESIZY' declaration [readability-redundant-declaration] +Arx/src/gui/MenuWidgets.cpp:116:13: warning: variable 'DANAESIZY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:118:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:118:13: warning: variable 'REFUSE_GAME_RETURN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:120:14: warning: variable 'PROGRESS_BAR_TOTAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:121:14: warning: variable 'OLD_PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:122:14: warning: variable 'PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:125:7: warning: redundant 'INTERFACE_RATIO' declaration [readability-redundant-declaration] +Arx/src/gui/MenuWidgets.cpp:125:29: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:126:6: warning: variable 'bNoMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:132:21: warning: variable 'pMenuCursor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:132:21: warning: variable 'pMenuCursor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:132:21: warning: variable 'pMenuCursor' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:132:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:134:21: warning: variable 'pWindowMenu' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:134:21: warning: variable 'pWindowMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:134:21: warning: variable 'pWindowMenu' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:134:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:135:13: warning: variable 'pMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:135:13: warning: variable 'pMenu' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:137:23: warning: variable 'pMenuElementResume' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:137:23: warning: variable 'pMenuElementResume' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:137:23: warning: variable 'pMenuElementResume' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:137:44: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:138:23: warning: variable 'pMenuElementApply' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:138:23: warning: variable 'pMenuElementApply' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:138:23: warning: variable 'pMenuElementApply' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:138:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:139:27: warning: variable 'pLoadConfirm' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:139:27: warning: variable 'pLoadConfirm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:139:27: warning: variable 'pLoadConfirm' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:139:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:140:19: warning: variable 'pDeleteConfirm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:140:19: warning: variable 'pDeleteConfirm' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:140:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:141:19: warning: variable 'pDeleteButton' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:141:19: warning: variable 'pDeleteButton' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:141:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:142:20: warning: variable 'fullscreenCheckbox' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:142:20: warning: variable 'fullscreenCheckbox' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:142:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:143:26: warning: variable 'pMenuSliderResol' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:143:26: warning: variable 'pMenuSliderResol' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:143:26: warning: variable 'pMenuSliderResol' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:143:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:144:26: warning: variable 'pMenuSliderBpp' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:144:26: warning: variable 'pMenuSliderBpp' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:144:26: warning: variable 'pMenuSliderBpp' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:144:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:146:7: warning: variable 'ARXTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:147:7: warning: variable 'ARXOldTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:148:7: warning: variable 'ARXDiffTimeMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:150:6: warning: variable 'bFade' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:151:6: warning: variable 'bFadeInOut' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:152:5: warning: variable 'iFadeAction' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:153:7: warning: variable 'fFadeInOut' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:155:6: warning: redundant 'ARX_MENU_Clicked_NEWQUEST' declaration [readability-redundant-declaration] +Arx/src/gui/MenuWidgets.cpp:157:19: warning: variable 'pTextureLoad' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:157:19: warning: variable 'pTextureLoad' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:157:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:158:26: warning: variable 'pTextureLoadRender' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:158:26: warning: variable 'pTextureLoadRender' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:158:26: warning: variable 'pTextureLoadRender' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:158:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:160:5: warning: variable 'iTimeToDrawD7' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MenuWidgets.cpp:179:8: warning: variable 'fColor' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:187:3: warning: variable 'iFade' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:189:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:191:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:196:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:209:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:209:2: warning: variable 'save' of type 'SaveGameList::iterator' (aka '__normal_iterator>>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:239:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:239:52: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:244:35: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:244:41: warning: the parameter 'pos' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/MenuWidgets.cpp:244:79: warning: parameter name '_c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:244:79: warning: the parameter '_c' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/MenuWidgets.cpp:246:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:246:3: warning: variable 'x' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:246:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:246:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:247:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:247:3: warning: variable 'y' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:247:8: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:247:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:261:5: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:261:5: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:261:52: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:261:52: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:265:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:265:8: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:268:6: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:268:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:268:56: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:268:56: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:269:6: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:269:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:277:13: warning: function 'FadeInOut' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:279:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:281:2: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:281:2: warning: variable 'iColor' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:329:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:357:6: warning: function 'Menu2_Render' exceeds recommended size/complexity thresholds [readability-function-size] +Arx/src/gui/MenuWidgets.cpp:357:6: warning: function 'Menu2_Render' has cognitive complexity of 523 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/MenuWidgets.cpp:359:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:359:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:369:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:378:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:379:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:403:12: warning: variable 'eM' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:403:12: warning: variable name 'eM' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:414:2: warning: variable 'lColor' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:420:21: warning: variable 'me' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:420:21: warning: variable name 'me' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:424:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:425:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:433:3: warning: variable 'iPosMenuPrincipaleX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:435:2: warning: variable 'iDecMenuPrincipaleY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:436:9: warning: function-like macro 'MACRO_MENU_PRINCIPALE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/gui/MenuWidgets.cpp:470:3: warning: variable 'verPosX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:470:34: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:482:9: warning: variable 'bTemp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:488:6: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:488:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:493:6: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:493:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:510:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:512:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:513:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:523:3: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/gui/MenuWidgets.cpp:527:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:530:4: warning: variable 'iWindowMenuWidth' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:531:4: warning: variable 'iWindowMenuHeight' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:532:4: warning: variable 'iWindowMenuPosX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:533:4: warning: variable 'iWindowMenuPosY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:534:4: warning: variable 'iWindowConsoleOffsetX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:535:4: warning: variable 'iWindowConsoleOffsetY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:536:4: warning: variable 'iWindowConsoleWidth' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:537:4: warning: variable 'iWindowConsoleHeight' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:540:4: warning: variable 'fPosX1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:541:4: warning: variable 'fPosX2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:543:4: warning: variable 'iPosX2' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:545:4: warning: variable 'fPosBack' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:546:4: warning: variable 'fPosBackY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:547:4: warning: variable 'fPosNext' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:549:4: warning: variable 'fPosApply' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:551:4: warning: variable 'fPosBDAY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:569:20: warning: variable name 'me' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:569:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:570:6: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:581:6: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:589:22: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:603:20: warning: variable 'me' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:603:20: warning: variable name 'me' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:604:20: warning: variable 'me01' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:605:18: warning: variable 'pPanel' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:606:24: warning: variable 'pTex' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:608:6: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:617:11: warning: variable 'bBOOL' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:623:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:623:8: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:629:62: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:629:87: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:629:93: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:643:47: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:643:72: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:643:78: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:644:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:644:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:647:6: warning: variable 'quicksaveName' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:667:23: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:669:19: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:681:8: warning: variable 'text' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:683:23: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:685:19: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:699:50: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:700:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:700:22: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:702:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:702:8: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:702:45: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:702:45: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:703:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:703:8: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:710:50: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:711:20: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:711:20: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:713:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:713:8: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:713:45: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:713:45: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:714:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:714:8: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:718:7: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:718:19: warning: variable name 'pc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:720:77: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:720:102: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:720:108: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:733:54: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:733:79: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:733:85: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:734:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:734:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:750:22: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:754:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:766:7: warning: variable 'text' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:768:22: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:771:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:780:7: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:780:26: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:792:41: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:792:41: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:795:76: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:795:101: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:795:107: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:808:47: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:808:72: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:808:78: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:809:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:809:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:826:49: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:827:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:827:22: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:828:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:828:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:828:44: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:828:44: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:834:49: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:839:62: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:839:87: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:839:93: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:852:20: warning: variable 'me' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:852:20: warning: variable name 'me' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:853:18: warning: variable 'pc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:853:18: warning: variable name 'pc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:854:24: warning: variable 'pTex' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:856:6: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:871:62: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:871:87: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:871:93: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:892:7: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:895:22: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:899:23: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:909:7: warning: variable 'fRatio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:909:59: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:925:6: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:929:90: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:945:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:956:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:961:16: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:962:16: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:964:8: warning: variable 't' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:964:17: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:967:40: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:969:25: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:982:33: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:989:32: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:992:58: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1001:6: warning: variable 'iSize' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:1009:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1009:23: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1015:38: warning: variable name 'ii' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:1020:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1020:8: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1020:105: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1022:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1023:9: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1023:9: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1023:39: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1023:40: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1023:40: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1027:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1027:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1030:52: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1045:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1045:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1047:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1047:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1049:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1049:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1052:52: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1057:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1057:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1069:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1069:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1069:36: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1078:73: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1080:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1080:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1090:76: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1091:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1091:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1101:69: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1102:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1102:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1109:49: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1114:102: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1114:127: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1114:133: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1136:7: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:1139:22: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1143:23: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1153:7: warning: variable 'fRatio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:1153:59: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1166:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1166:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1166:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1176:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1176:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1176:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1186:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1186:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1186:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1196:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1196:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1196:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1204:6: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:1205:67: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1206:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1206:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1211:62: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1211:87: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1211:93: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1231:7: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:1234:22: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1238:23: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1248:7: warning: variable 'fRatio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:1248:59: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1263:79: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1269:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1269:8: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1273:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1273:8: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1282:83: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1284:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1284:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1292:77: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1294:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1294:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1304:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1304:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1312:83: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1314:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1314:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1324:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1324:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1329:62: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1329:87: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1329:93: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1337:5: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:1338:5: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:1343:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:1343:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:1344:13: warning: function-like macro 'CUSTOM_CTRL_FUNC' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/gui/MenuWidgets.cpp:1352:12: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:1352:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:1360:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:1372:13: warning: function-like macro 'CUSTOM_CTRL_FUNC2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/gui/MenuWidgets.cpp:1381:12: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:1381:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:1389:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:1401:13: warning: function-like macro 'CUSTOM_CTRL_FUNC3' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/gui/MenuWidgets.cpp:1409:12: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:1409:17: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:1417:10: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/gui/MenuWidgets.cpp:1431:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1433:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1434:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1435:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1436:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1437:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1438:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1439:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1440:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1441:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1442:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1443:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1444:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1446:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1447:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1448:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1450:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1451:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1452:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1453:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1458:97: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1458:122: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1458:128: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1464:49: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1467:97: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1467:122: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1467:128: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1479:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:1480:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1481:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1482:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1483:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1484:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1485:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1486:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1487:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1488:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1490:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1491:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1492:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1493:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1494:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1496:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1498:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1499:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1501:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1502:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1504:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1506:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1511:97: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1511:122: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1511:128: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1517:49: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1539:20: warning: variable name 'me' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:1539:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1540:6: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:1551:6: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:1556:49: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1590:4: warning: variable 'eMS' of type 'MENUSTATE' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:1623:3: warning: variable 'iOffsetX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:1626:8: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1626:74: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1629:4: warning: variable 'fOffestY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:1629:24: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1635:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1635:19: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/MenuWidgets.cpp:1636:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1636:19: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/MenuWidgets.cpp:1642:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1642:45: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1642:45: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/MenuWidgets.cpp:1643:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1643:45: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1643:45: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/MenuWidgets.cpp:1646:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1651:3: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/gui/MenuWidgets.cpp:1651:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/MenuWidgets.cpp:1691:45: warning: initializer for base class 'CMenuZone' is redundant [readability-redundant-member-init] +Arx/src/gui/MenuWidgets.cpp:1693:2: warning: 'ePlace' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:1694:2: warning: 'eState' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:1695:2: warning: 'eMenuState' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:1696:2: warning: 'iShortCut' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:1705:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1710:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1715:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1720:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1725:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1730:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1734:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1739:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1747:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:1747:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1754:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:1759:118: warning: the parameter '_lColor' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/MenuWidgets.cpp:1763:2: warning: 'pFont' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:1765:7: warning: do not use 'compare' to test equality of strings; use the string equality operator instead [readability-string-compare] +Arx/src/gui/MenuWidgets.cpp:1772:2: warning: variable 'textSize' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:1786:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:1791:19: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/gui/MenuWidgets.cpp:1801:2: warning: variable 'textSize' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:1817:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/MenuWidgets.cpp:1824:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:1826:25: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:1830:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:1832:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:1832:36: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1832:36: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1832:54: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1832:54: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1851:24: warning: function 'OnMouseClick' has cognitive complexity of 116 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/MenuWidgets.cpp:1876:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/MenuWidgets.cpp:1902:2: warning: switch has 4 consecutive identical branches [bugprone-branch-clone] +Arx/src/gui/MenuWidgets.cpp:1939:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:1940:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:1942:27: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:1948:7: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:1950:19: warning: variable name 'cz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:1954:11: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1954:11: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1970:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:1972:25: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:1978:7: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:1980:18: warning: variable name 'cz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:1984:10: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:1984:10: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:1999:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:2001:25: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2035:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2036:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:2038:25: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2043:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:2043:25: warning: variable name 'me' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2043:30: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2043:30: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:2058:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:2059:26: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2081:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:2082:26: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2085:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:2085:26: warning: variable name 'me' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2085:31: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2085:31: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:2112:2: warning: switch has 31 consecutive identical branches [bugprone-branch-clone] +Arx/src/gui/MenuWidgets.cpp:2214:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:2216:24: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2221:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:2221:24: warning: variable name 'me' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2221:29: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2221:29: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:2250:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2250:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2257:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2264:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2267:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2268:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2285:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2293:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2294:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2307:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2313:24: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2325:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2340:1: warning: constructor does not initialize these fields: pZoneClick [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/MenuWidgets.cpp:2342:2: warning: 'bReInitAll' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2343:2: warning: 'eMenuState' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2344:2: warning: 'eOldMenuState' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2345:2: warning: 'eOldMenuWindowState' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2346:2: warning: 'pTexBackGround' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2346:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2347:2: warning: 'pTexBackGround1' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2347:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2348:2: warning: 'fPos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2349:2: warning: 'pMenuAllZone' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2351:2: warning: 'iPosMenu' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2360:18: warning: method 'AddMenuElement' can be made const [readability-make-member-function-const] +Arx/src/gui/MenuWidgets.cpp:2361:24: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2366:10: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2368:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2370:14: warning: variable name 'iR' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2372:28: warning: no header providing "Mouse" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:2374:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2374:17: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:2380:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2380:17: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:2389:18: warning: method 'Render' can be made const [readability-make-member-function-const] +Arx/src/gui/MenuWidgets.cpp:2391:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2393:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2398:2: warning: variable 't' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2398:6: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2400:2: warning: variable 'iARXDiffTimeMenu' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2405:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:2405:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2405:21: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:2423:1: warning: constructor does not initialize these fields: pRef [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/MenuWidgets.cpp:2425:2: warning: 'bActif' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2426:2: warning: 'bCheck' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2427:2: warning: 'bTestYDouble' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2428:2: warning: 'iID' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2429:2: warning: 'lData' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2430:2: warning: 'pData' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2430:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2431:2: warning: 'lPosition' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2441:1: warning: constructor does not initialize these fields: bCheck, bTestYDouble, lPosition [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/MenuWidgets.cpp:2441:22: warning: 4 adjacent parameters of 'CMenuZone' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MenuWidgets.cpp:2443:2: warning: 'bActif' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2448:2: warning: 'pRef' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2450:2: warning: 'iID' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2451:2: warning: 'lData' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2452:2: warning: 'pData' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2452:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2457:12: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/gui/MenuWidgets.cpp:2476:2: warning: variable 'iWidth' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2477:2: warning: variable 'iHeight' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2479:2: warning: variable 'iX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2479:6: warning: variable name 'iX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2480:2: warning: variable 'iY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2480:6: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2503:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2506:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2515:31: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2528:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:2528:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:2528:109: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2543:42: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2553:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2558:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2565:31: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2572:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2577:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2584:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:2584:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:2584:105: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2585:26: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2585:26: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:2585:68: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2588:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:2595:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:2595:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:2595:105: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2601:19: warning: method 'GetNbZone' can be made const [readability-make-member-function-const] +Arx/src/gui/MenuWidgets.cpp:2603:9: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2652:1: warning: constructor does not initialize these fields: pAllCheckZone [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/MenuWidgets.cpp:2652:36: warning: 2 adjacent parameters of 'CMenuCheckButton' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MenuWidgets.cpp:2656:2: warning: 'iState' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2657:2: warning: 'iOldState' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2659:2: warning: 'iPosX' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2660:2: warning: 'iPosY' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2662:2: warning: 'iTaille' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2664:2: warning: 'pText' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2667:3: warning: variable 'fRatioX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2668:3: warning: variable 'fRatioY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2675:3: warning: variable 'fRatioX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2676:3: warning: variable 'fRatioY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2695:55: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2695:66: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2696:56: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2700:3: warning: variable 'rZoneR' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2722:24: warning: function 'OnMouseClick' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/MenuWidgets.cpp:2726:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2732:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:2734:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2742:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/MenuWidgets.cpp:2746:30: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:2759:40: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:2763:40: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:2768:33: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:2773:42: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:2778:52: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:2782:45: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:2786:45: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:2790:45: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:2794:48: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:2839:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2848:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:2848:18: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2849:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2849:43: warning: slicing object from type 'Color4' to 'Color3' discards 1 bytes of state [cppcoreguidelines-slicing] +Arx/src/gui/MenuWidgets.cpp:2854:9: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2858:10: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2859:9: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2866:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2877:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2886:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2887:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2889:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:2889:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2894:8: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:2896:8: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2897:7: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2905:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2938:1: warning: constructor does not initialize these fields: pTexMainShadow [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/MenuWidgets.cpp:2938:37: warning: 2 adjacent parameters of 'CWindowMenu' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MenuWidgets.cpp:2938:62: warning: 2 adjacent parameters of 'CWindowMenu' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MenuWidgets.cpp:2941:2: warning: 'iPosX' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2941:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2942:2: warning: 'iPosY' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2942:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2943:2: warning: 'iTailleX' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2943:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2944:2: warning: 'iTailleY' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2944:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2945:2: warning: 'iNbButton' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2958:2: warning: 'fPosXCalc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2958:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2959:2: warning: 'fDist' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2959:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:2960:2: warning: 'fAngle' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2962:2: warning: 'eCurrentMenuState' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2965:2: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2965:16: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2965:37: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/MenuWidgets.cpp:2965:41: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:2969:2: warning: 'bChangeConsole' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:2976:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:2976:142: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:2997:2: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:2997:16: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:2997:37: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/MenuWidgets.cpp:3003:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:3003:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3010:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3021:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:3021:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3033:41: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3041:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3047:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:3047:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:3051:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3069:1: warning: constructor does not initialize these fields: iPosX, iPosY, iSavePosY, iOldPosX, iOldPosY, pZoneClick, bMouseAttack [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/MenuWidgets.cpp:3069:51: warning: 3 adjacent parameters of 'CWindowMenuConsole' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MenuWidgets.cpp:3074:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:3076:2: warning: 'iOX' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:3076:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3077:2: warning: 'iOY' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:3077:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3078:2: warning: 'iWidth' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:3078:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3079:2: warning: 'iHeight' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:3079:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3081:2: warning: 'eMenuState' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:3086:2: warning: 'bFrameOdd' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:3088:2: warning: 'iPosMenu' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:3098:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3108:6: warning: variable name 'iI' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3117:6: warning: variable 'iDepY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:3128:6: warning: variable name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3152:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3161:2: warning: variable 'iDx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3162:9: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3164:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:3170:9: warning: variable name 'iI' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3179:6: warning: variable 'iDepY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:3190:6: warning: variable name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3213:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3218:26: warning: method 'AlignElementCenter' can be made const [readability-make-member-function-const] +Arx/src/gui/MenuWidgets.cpp:3223:2: warning: variable 'iDx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3224:2: warning: variable 'dx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3224:6: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3231:26: warning: function 'UpdateText' has cognitive complexity of 53 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/MenuWidgets.cpp:3240:5: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3240:5: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3242:9: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3242:9: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3247:6: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3247:6: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3249:5: warning: variable 'iDx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3255:6: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:3264:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:3272:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:3272:31: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3272:31: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3293:10: warning: variable 'tCat' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:3299:6: warning: variable 'iChar' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3300:98: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3310:11: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:3310:59: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:3318:4: warning: variable 'iDx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3324:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:3336:3: warning: variable 'textSize' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3336:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3336:21: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3341:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:3341:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3343:2: warning: variable 'col' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3348:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3349:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3353:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3361:36: warning: function 'GetTouch' has cognitive complexity of 53 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/MenuWidgets.cpp:3361:73: warning: no header providing "InputKeyId" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:3363:2: warning: variable 'iMouseButton' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3365:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3368:54: warning: enum values are from different enum types [bugprone-suspicious-enum-usage] +Arx/src/gui/MenuWidgets.cpp:3372:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:3375:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:3375:31: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3375:31: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3401:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3401:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:3406:40: warning: enum values are from different enum types [bugprone-suspicious-enum-usage] +Arx/src/gui/MenuWidgets.cpp:3406:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3407:12: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/gui/MenuWidgets.cpp:3408:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3409:12: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/gui/MenuWidgets.cpp:3418:4: warning: variable 'iDx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3424:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:3432:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:3435:41: warning: enum values are from different enum types [bugprone-suspicious-enum-usage] +Arx/src/gui/MenuWidgets.cpp:3437:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3443:11: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3448:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:3453:31: warning: function 'Update' has cognitive complexity of 56 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/MenuWidgets.cpp:3467:6: warning: variable name 'iI' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3476:18: warning: redundant boolean literal in conditional assignment [readability-simplify-boolean-expr] +Arx/src/gui/MenuWidgets.cpp:3496:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:3497:16: warning: variable name 'iR' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3500:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3500:16: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3504:6: warning: variable 'e' of type 'MENUSTATE' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3504:16: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3507:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3510:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3518:6: warning: variable 'e' of type 'MENUSTATE' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3518:16: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3522:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/gui/MenuWidgets.cpp:3532:17: warning: variable name 'iR' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3535:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3535:17: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3541:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3556:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:3556:31: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3556:31: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3562:5: warning: variable 'e' of type 'MENUSTATE' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3562:15: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3575:13: warning: function 'UpdateGameKey' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:3582:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/MenuWidgets.cpp:3756:25: warning: function 'Render' has cognitive complexity of 62 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/MenuWidgets.cpp:3758:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3783:2: warning: variable 't' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3783:6: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3785:2: warning: variable 'iARXDiffTimeMenu' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3789:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:3789:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3789:21: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3816:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3817:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3817:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3818:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3819:7: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3819:7: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3831:20: warning: no header providing "INPUT_COMBINATION_MASK" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:3831:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3873:16: warning: variable 'inputKeyId' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:3917:6: warning: variable name 'iI' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:3921:3: warning: variable 'iTab' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:3929:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3929:18: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3937:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:3937:18: warning: do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/gui/MenuWidgets.cpp:3960:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:3960:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:3960:111: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3973:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:3973:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:3973:111: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:3983:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4004:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4022:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:4022:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:4022:111: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4023:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4026:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:4038:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:4038:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:4050:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4052:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:4052:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:4052:111: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4060:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:4060:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:4060:111: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4061:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4064:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:4076:42: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4085:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4090:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:4095:133: warning: 2 adjacent parameters of 'CMenuButton' of similar type ('TextureContainer *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MenuWidgets.cpp:4099:2: warning: 'pFont' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:4100:2: warning: 'fSize' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:4108:2: warning: 'iPos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:4120:3: warning: variable 'rZoneR' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4120:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4121:3: warning: variable 'rZoneB' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4121:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4127:3: warning: variable 'rZoneR' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4127:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4128:3: warning: variable 'rZoneB' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4128:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4140:14: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/gui/MenuWidgets.cpp:4171:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4179:2: warning: variable 'textSize' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4181:2: warning: use `std::max` instead of `>` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:4181:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4182:2: warning: use `std::max` instead of `>` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:4182:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4200:5: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4200:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4218:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4227:5: warning: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] +Arx/src/gui/MenuWidgets.cpp:4229:3: warning: variable 'pText' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4235:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4236:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4249:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4256:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:4256:18: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4262:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4263:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4266:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4271:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4281:6: warning: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] +Arx/src/gui/MenuWidgets.cpp:4283:3: warning: variable 'pText' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4289:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4290:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4301:34: warning: 2 adjacent parameters of 'CMenuSliderText' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MenuWidgets.cpp:4312:2: warning: 'iPos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:4313:2: warning: 'iOldPos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:4326:35: warning: loop variable name 'e' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4334:23: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4334:63: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4336:2: warning: variable 'dx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4336:6: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4338:38: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4343:3: warning: variable 'textSize' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4345:3: warning: variable 'dxx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4365:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4365:34: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4366:23: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4366:61: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4368:2: warning: variable 'dx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4368:6: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4370:38: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4378:3: warning: variable 'dxx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4392:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:4392:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:4392:110: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4405:3: warning: use `std::max` instead of `<=` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:4405:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4415:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4415:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4415:50: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4424:39: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/MenuWidgets.cpp:4432:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4435:2: warning: variable 'iX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4435:6: warning: variable name 'iX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4436:2: warning: variable 'iY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4436:6: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4451:12: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4463:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4469:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/MenuWidgets.cpp:4472:4: warning: variable 'pcText' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4480:23: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4481:9: warning: variable name 'iX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4482:9: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4483:10: warning: variable 'tmp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MenuWidgets.cpp:4524:22: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4552:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4559:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4570:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MenuWidgets.cpp:4579:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4583:2: warning: variable 'iX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4583:6: warning: variable name 'iX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4584:2: warning: variable 'iY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4584:6: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4622:26: warning: 2 adjacent parameters of 'CMenuSlider' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MenuWidgets.cpp:4634:2: warning: 'iPos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:4638:17: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4642:17: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4642:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:4642:66: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4642:67: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:4645:21: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4668:3: warning: use `std::max` instead of `<=` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:4668:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4676:4: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:4676:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4684:35: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/MenuWidgets.cpp:4688:2: warning: variable 'iX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4688:6: warning: variable name 'iX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4689:2: warning: variable 'iY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4689:6: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4703:4: warning: use `std::max` instead of `<=` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:4703:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4712:5: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/gui/MenuWidgets.cpp:4712:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4716:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/MenuWidgets.cpp:4755:23: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4755:35: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4758:2: warning: variable 'fWidth' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4758:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4761:48: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4768:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4774:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:4774:8: warning: variable name 'iX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4775:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MenuWidgets.cpp:4775:2: warning: variable 'iY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4775:8: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4782:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:4782:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4816:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:4820:2: warning: variable 'iX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4820:6: warning: variable name 'iX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4821:2: warning: variable 'iY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4821:6: warning: variable name 'iY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:4853:1: warning: constructor does not initialize these fields: eNumTex [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/MenuWidgets.cpp:4866:2: warning: 'iNbOldCoord' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:4867:2: warning: 'iMaxOldCoord' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:4869:2: warning: 'exited' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:4871:2: warning: 'bMouseOver' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/MenuWidgets.cpp:4875:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4876:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4891:13: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/gui/MenuWidgets.cpp:4919:18: warning: method 'DrawOneCursor' can be made const [readability-make-member-function-const] +Arx/src/gui/MenuWidgets.cpp:4941:2: warning: variable 'inWindow' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4950:17: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4950:47: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:4960:3: warning: undefined behavior, destination object type 'Vec2s[256]' (aka 'Vector2[256]') is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/gui/MenuWidgets.cpp:4960:3: warning: undefined behavior, source object type 'Vec2s' (aka 'Vector2') is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/gui/MenuWidgets.cpp:4967:13: warning: function 'ComputePer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:4969:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4969:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4970:2: warning: variable 'fTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4982:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4983:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4984:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4985:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.cpp:4992:13: warning: function 'DrawLine2D' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/MenuWidgets.cpp:4992:58: warning: 4 adjacent parameters of 'DrawLine2D' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MenuWidgets.cpp:4998:2: warning: variable 'fSize' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:4998:25: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:5001:2: warning: variable 'fDColorRed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:5001:29: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:5003:2: warning: variable 'fDColorGreen' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:5003:33: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:5005:2: warning: variable 'fDColorBlue' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:5005:31: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MenuWidgets.cpp:5012:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.cpp:5012:17: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.cpp:5052:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:5058:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:5060:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:5069:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.cpp:5096:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MenuWidgets.cpp:5110:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:5111:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.cpp:5112:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.h:59:6: warning: enum 'MenuButton' 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/MenuWidgets.h:215:6: warning: enum 'MENUSTATE' 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/gui/MenuWidgets.h:264:7: warning: class 'CMenuZone' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:264:7: warning: class 'CMenuZone' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:273:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.h:274:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.h:275:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.h:276:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:278:16: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/MenuWidgets.h:281:3: warning: function 'GetWidth' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/MenuWidgets.h:285:3: warning: function 'GetHeight' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/MenuWidgets.h:289:24: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/MenuWidgets.h:290:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/MenuWidgets.h:301:3: warning: function 'IsMouseOver' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/MenuWidgets.h:305:7: warning: class 'CMenuAllZone' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:305:7: warning: class 'CMenuAllZone' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:309:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:314:3: warning: function 'CheckZone' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/MenuWidgets.h:316:15: warning: function 'CMenuAllZone::GetZoneNum' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:317:15: warning: function 'CMenuAllZone::GetZoneWithID' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:318:8: warning: function 'CMenuAllZone::Move' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:318:17: warning: parameter name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:318:25: warning: parameter name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:323:6: warning: enum 'ELEMSTATE' 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/MenuWidgets.h:333:6: warning: enum 'ELEMPOS' 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/MenuWidgets.h:341:7: warning: class 'CMenuElement' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:341:7: warning: class 'CMenuElement' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:344:15: warning: member variable 'ePlace' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/gui/MenuWidgets.h:345:15: warning: member variable 'eState' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/gui/MenuWidgets.h:346:15: warning: member variable 'eMenuState' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/gui/MenuWidgets.h:347:15: warning: member variable 'iShortCut' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/gui/MenuWidgets.h:348:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:349:34: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/MenuWidgets.h:350:11: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:360:29: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/MenuWidgets.h:360:49: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.h:371:7: warning: member variable 'enabled' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/gui/MenuWidgets.h:371:7: warning: use default member initializer for 'enabled' [modernize-use-default-member-init] +Arx/src/gui/MenuWidgets.h:378:7: warning: class 'CMenuPanel' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:378:7: warning: class 'CMenuPanel' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:382:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:384:11: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:386:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:386:8: warning: function 'CMenuPanel::Move' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:386:17: warning: parameter name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:386:25: warning: parameter name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:387:8: warning: function 'CMenuPanel::AddElement' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:388:8: warning: function 'CMenuPanel::AddElementNoCenterIn' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:390:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:391:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:392:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:393:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:394:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:395:3: warning: function 'IsMouseOver' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/MenuWidgets.h:395:15: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:396:15: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:396:15: warning: function 'CMenuPanel::GetZoneWithID' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:399:7: warning: class 'CMenuElementText' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:399:7: warning: class 'CMenuElementText' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:411:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:413:3: warning: function 'CMenuElementText::CMenuElementText' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:413:24: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:413:73: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:413:83: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:415:11: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:417:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:418:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:419:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:420:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:422:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:424:3: warning: function 'GetTextSize' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/MenuWidgets.h:426:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:429:7: warning: class 'CMenuButton' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:429:7: warning: class 'CMenuButton' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:440:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:441:3: warning: function 'CMenuButton::CMenuButton' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:441:19: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:441:57: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:441:65: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:442:85: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.h:443:44: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.h:444:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:446:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:447:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:447:8: warning: function 'CMenuButton::SetPos' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:447:21: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:447:31: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:448:8: warning: function 'CMenuButton::AddText' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:449:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:449:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.h:450:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:451:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:452:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:453:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:456:7: warning: class 'CMenuSliderText' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:456:7: warning: class 'CMenuSliderText' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:463:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:464:22: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/gui/MenuWidgets.h:465:11: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:467:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:470:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:471:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:471:8: warning: function 'CMenuSliderText::Move' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:471:17: warning: parameter name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:471:25: warning: parameter name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:472:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:473:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:473:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.h:474:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:475:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:476:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:477:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:479:16: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:483:7: warning: class 'CMenuSlider' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:483:7: warning: class 'CMenuSlider' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:493:3: warning: function 'getValue' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/MenuWidgets.h:495:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:496:3: warning: function 'CMenuSlider::CMenuSlider' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:496:19: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:496:27: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:496:35: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:497:11: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:499:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:500:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:500:8: warning: function 'CMenuSlider::Move' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:500:17: warning: parameter name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:500:25: warning: parameter name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:501:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:502:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:502:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.h:503:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:504:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:505:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:506:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:509:7: warning: class 'CMenuCheckButton' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:509:7: warning: class 'CMenuCheckButton' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:523:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:524:3: warning: function 'CMenuCheckButton::CMenuCheckButton' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:524:24: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:524:34: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:524:44: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:525:72: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.h:526:11: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:528:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:528:8: warning: function 'CMenuCheckButton::Move' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:528:17: warning: parameter name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:528:25: warning: parameter name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:529:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:530:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:531:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:532:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/gui/MenuWidgets.h:535:7: warning: class 'CMenuState' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:535:7: warning: class 'CMenuState' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:549:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:550:12: warning: function 'CMenuState::CMenuState' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:553:8: warning: function 'CMenuState::AddMenuElement' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:561:12: warning: use default member initializer for 'bMouseListen' [modernize-use-default-member-init] +Arx/src/gui/MenuWidgets.h:573:12: warning: use default member initializer for 'iInterligne' [modernize-use-default-member-init] +Arx/src/gui/MenuWidgets.h:577:12: warning: use default member initializer for 'bEdit' [modernize-use-default-member-init] +Arx/src/gui/MenuWidgets.h:581:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.h:581:12: warning: use default member initializer for 'lData' [modernize-use-default-member-init] +Arx/src/gui/MenuWidgets.h:582:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.h:589:3: warning: function 'CWindowMenuConsole::CWindowMenuConsole' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:589:26: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:589:34: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:591:8: warning: function 'CWindowMenuConsole::AddMenu' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:592:8: warning: function 'CWindowMenuConsole::AddMenuCenter' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:593:8: warning: function 'CWindowMenuConsole::AddMenuCenterY' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:595:13: warning: function 'CWindowMenuConsole::Update' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:595:24: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:595:32: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:598:81: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MenuWidgets.h:602:7: warning: class 'CWindowMenu' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:602:7: warning: class 'CWindowMenu' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:605:11: warning: use default member initializer for 'bMouseListen' [modernize-use-default-member-init] +Arx/src/gui/MenuWidgets.h:624:2: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/gui/MenuWidgets.h:625:3: warning: function 'CWindowMenu::CWindowMenu' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:625:19: warning: parameter name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:625:27: warning: parameter name 'py' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MenuWidgets.h:628:8: warning: function 'CWindowMenu::AddConsole' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/MenuWidgets.h:633: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/MenuWidgets.h:633:7: warning: class 'MenuCursor' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MenuWidgets.h:637:7: warning: enum 'CURSORSTATE' 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/MenuWidgets.h:658:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MenuWidgets.h:659:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MenuWidgets.h:670:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.cpp:73:9: warning: variable 'g_miniMap' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/MiniMap.cpp:77:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:79:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.cpp:80:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.cpp:83:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/gui/MiniMap.cpp:91:22: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:96:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:96:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:97:4: warning: no header providing "EERIE_BKG_INFO" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:97:20: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:97:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:118:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MiniMap.cpp:118:13: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:129:2: warning: variable 'showLevel' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:129:18: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:133:44: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:137:49: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:142:20: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:147:33: warning: 2 adjacent parameters of 'validatePlayerPos' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MiniMap.cpp:147:51: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MiniMap.cpp:153:9: warning: variable 'req' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MiniMap.cpp:161:6: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:169:27: warning: no header providing "PakReader" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:171:2: warning: variable 'iniMiniOffsets' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:171:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:173:2: warning: no header providing "PakFile" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:180:2: warning: variable 'fileSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:192:4: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.cpp:192:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:193:4: warning: variable 'nRead' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:193:16: warning: 'sscanf' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtof' instead [cert-err34-c] +Arx/src/gui/MiniMap.cpp:225:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MiniMap.cpp:225:10: warning: loop variable name 'd' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:234:39: warning: parameter name 'pl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:236:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:237:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:243:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:243:18: warning: no header providing "MAX_BKGX" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:243:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:244:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:244:18: warning: no header providing "MAX_BKGZ" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:244:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:248:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:262:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MiniMap.cpp:263:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:270:3: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:282:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MiniMap.cpp:284:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:291:8: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:298:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:304:3: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:336:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:344:3: warning: variable 'zoom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:373:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:383:2: warning: variable 'zoom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:384:2: warning: variable 'startX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:385:2: warning: variable 'startY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:404:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.cpp:405:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MiniMap.cpp:411:2: warning: variable 'caseX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:411:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:412:2: warning: variable 'caseY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:412:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:413:2: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:415:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MiniMap.cpp:421:3: warning: variable 'pos_x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:422:3: warning: variable 'pos_y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:423:3: warning: variable 'size' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:444:5: warning: variable 'bRect' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:446:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MiniMap.cpp:446:5: warning: variable 'left' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:446:52: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:447:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MiniMap.cpp:447:5: warning: variable 'right' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:447:53: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:448:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MiniMap.cpp:448:5: warning: variable 'top' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:448:51: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:449:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MiniMap.cpp:449:5: warning: variable 'bottom' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:449:54: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:450:5: warning: variable 'rRect' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:452:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MiniMap.cpp:452:5: warning: variable 'lLengthDraw' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:454:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:454:60: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:454:78: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:458:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:470:2: warning: variable 'zoom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:471:2: warning: variable 'startX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:472:2: warning: variable 'startY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:473:2: warning: variable 'caseX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:473:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:474:2: warning: variable 'caseY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:474:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:485:4: warning: variable 'posx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:485:26: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:486:4: warning: variable 'posy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:486:26: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:488:4: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:488:10: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:493:10: warning: variable name 'vv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:503:4: warning: variable 'r' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:503:8: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:503:12: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:505:4: warning: variable 'ucLevel' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:505:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:511:33: warning: 2 adjacent parameters of 'computePlayerPos' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MiniMap.cpp:513:2: warning: variable 'caseX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:513:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:514:2: warning: variable 'caseY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:514:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:515:2: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:519:2: warning: variable 'ofx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:520:2: warning: variable 'ofx2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:521:2: warning: variable 'ofy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:522:2: warning: variable 'ofy2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:532:15: warning: function 'drawBackground' has cognitive complexity of 61 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/MiniMap.cpp:532:50: warning: the parameter 'boundaries' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/MiniMap.cpp:532:76: warning: 4 adjacent parameters of 'drawBackground' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MiniMap.cpp:534:2: warning: variable 'caseX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:534:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:535:2: warning: variable 'caseY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:535:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:537:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.cpp:540:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MiniMap.cpp:546:2: warning: variable 'div' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:547:21: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:548:2: warning: variable 'dw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:548:8: warning: variable name 'dw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:548:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:549:2: warning: variable 'dh' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:549:8: warning: variable name 'dh' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:549:19: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:551:2: warning: variable 'vx2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:552:2: warning: variable 'vy2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:559:52: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:560:53: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:561:51: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:562:54: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:576:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/gui/MiniMap.cpp:576:10: warning: variable 'vx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MiniMap.cpp:576:10: warning: variable name 'vx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:576:14: warning: variable 'vy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MiniMap.cpp:576:14: warning: variable name 'vy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:576:18: warning: variable 'vxx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MiniMap.cpp:576:23: warning: variable 'vyy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MiniMap.cpp:577:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:577:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:578:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:578:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:582:4: warning: variable 'posx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:582:27: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:583:4: warning: variable 'posy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:583:27: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:585:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:586:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:587:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:588:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:602:10: warning: variable 'v' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/MiniMap.cpp:602:10: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:603:10: warning: variable name 'oo' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:611:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MiniMap.cpp:613:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MiniMap.cpp:619:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:624:36: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:632:12: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:640:30: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:648:12: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:681:26: warning: 2 adjacent parameters of 'drawPlayer' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MiniMap.cpp:683:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.cpp:685:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/MiniMap.cpp:691:2: warning: variable 'rx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:691:8: warning: variable name 'rx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:692:2: warning: variable 'ry' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:692:8: warning: variable name 'ry' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:693:2: warning: variable 'rx2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:694:2: warning: variable 'ry2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:695:2: warning: variable 'rx3' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:696:2: warning: variable 'ry3' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:698:2: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:698:16: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:699:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MiniMap.cpp:699:2: warning: variable 'ca' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:699:8: warning: variable name 'ca' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:699:13: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/MiniMap.cpp:700:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/MiniMap.cpp:700:2: warning: variable 'sa' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:700:8: warning: variable name 'sa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:700:13: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/MiniMap.cpp:720:36: warning: 2 adjacent parameters of 'drawDetectedEntities' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MiniMap.cpp:720:65: warning: 2 adjacent parameters of 'drawDetectedEntities' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MiniMap.cpp:722:2: warning: variable 'caseX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:722:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:723:2: warning: variable 'caseY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:723:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MiniMap.cpp:724:2: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:731:2: warning: variable 'ofx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:732:2: warning: variable 'ofx2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:733:2: warning: variable 'ofy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:734:2: warning: variable 'ofy2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:743:31: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:751:24: warning: no header providing "GFLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:751:56: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:768:3: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:768:9: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:769:17: warning: no header providing "fabs" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:782:25: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:789:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/MiniMap.cpp:793:7: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:797:7: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:803:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/MiniMap.cpp:811:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/MiniMap.cpp:818:28: warning: 3 adjacent parameters of 'mapMarkerAdd' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/MiniMap.cpp:818:34: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:818:43: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:820:2: warning: variable 'num' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:842:2: warning: variable 'num' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:855:53: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.cpp:857:2: warning: no header providing "assert" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.h:63:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/gui/MiniMap.h:63:9: warning: macro 'MINIMAP_MAX_X' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/gui/MiniMap.h:63:9: warning: macro 'MINIMAP_MAX_X' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/MiniMap.h:64:9: warning: macro 'MINIMAP_MAX_Z' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/gui/MiniMap.h:64:9: warning: macro 'MINIMAP_MAX_Z' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/MiniMap.h:65:9: warning: macro 'MAX_MINIMAP_LEVELS' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/gui/MiniMap.h:65:9: warning: macro 'MAX_MINIMAP_LEVELS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/gui/MiniMap.h:67:7: warning: constructor does not initialize these fields: m_currentLevel, m_entities, m_activeBkg, m_pTexDetect, m_mapMarkerTexCont, m_player, m_playerLastPosX, m_playerLastPosZ, m_modX, m_modZ [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/MiniMap.h:72:9: warning: accessing fields in struct 'MiniMapData' is inefficient due to padding; only needs 2532 bytes but is using 2536 bytes [altera-struct-pack-align] +Arx/src/gui/MiniMap.h:72:9: warning: accessing fields in struct 'MiniMapData' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/gui/MiniMap.h:88:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.h:93:9: warning: accessing fields in struct 'MapMarkerData' is inefficient due to padding; only needs 76 bytes but is using 80 bytes [altera-struct-pack-align] +Arx/src/gui/MiniMap.h:93:9: warning: accessing fields in struct 'MapMarkerData' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/gui/MiniMap.h:93:9: warning: constructor does not initialize these fields: m_x, m_y, m_lvl [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/MiniMap.h:102:26: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.h:102:35: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.h:105:36: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.h:107:31: warning: parameter name 'pl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/MiniMap.h:118:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/MiniMap.h:157:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.h:158:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.h:159:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.h:172:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/MiniMap.h:201:16: warning: variable 'g_miniMap' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Note.cpp:37:42: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:56:15: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:56:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Note.cpp:56:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Note.cpp:56:49: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Note.cpp:67:12: warning: function 'allocate' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Note.cpp:70:23: warning: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr] +Arx/src/gui/Note.cpp:84:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:100:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:110:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:120:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:133:35: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:166:15: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:166:48: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:167:19: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:168:17: warning: narrowing conversion from 'float' to 's32' (aka 'int') [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:170:26: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:173:26: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:173:57: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:179:26: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:179:57: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:201:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Note.cpp:211:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Note.cpp:227:35: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:237:2: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:237:8: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Note.cpp:253:2: warning: variable 'prevRect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:261:2: warning: variable 'nextRect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:274:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:275:16: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:276:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:286:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:286:35: warning: narrowing conversion from 's32' (aka 'int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:287:16: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:288:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:288:35: warning: narrowing conversion from 's32' (aka 'int') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.cpp:288:50: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Note.h:34:8: warning: accessing fields in struct 'Note' is inefficient due to padding; only needs 168 bytes but is using 176 bytes [altera-struct-pack-align] +Arx/src/gui/Note.h:34:8: warning: accessing fields in struct 'Note' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/gui/Note.h:36: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/Note.h:45:2: warning: constructor does not initialize these fields: _pageSpacing, background, prevPage, nextPage [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/Note.h:55:2: warning: function 'page' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/Note.h:56:2: warning: function 'pageCount' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/Note.h:59:2: warning: function 'area' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/Note.h:60:2: warning: function 'prevPageButton' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/Note.h:61:2: warning: function 'nextPageButton' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/gui/Note.h:69:7: warning: use default member initializer for '_type' [modernize-use-default-member-init] +Arx/src/gui/Note.h:75:9: warning: use default member initializer for '_page' [modernize-use-default-member-init] +Arx/src/gui/Speech.cpp:79:12: warning: using decl 'min' is unused [misc-unused-using-decls] +Arx/src/gui/Speech.cpp:81:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:82:12: warning: using decl 'transform' is unused [misc-unused-using-decls] +Arx/src/gui/Speech.cpp:84:27: warning: variable 'arx_logo_tc' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Speech.cpp:84:27: warning: variable 'arx_logo_tc' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Speech.cpp:85:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:85:13: warning: variable 'ARX_CONVERSATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Speech.cpp:86:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:86:13: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Speech.cpp:87:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:87:13: warning: variable 'REQUEST_SPEECH_SKIP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Speech.cpp:89:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Speech.cpp:89:12: warning: initialization of 'aspeech' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/gui/Speech.cpp:89:12: warning: variable 'aspeech' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Speech.cpp:90:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Speech.cpp:90:14: warning: variable 'speech' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Speech.cpp:96:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Speech.cpp:96:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:119:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Speech.cpp:127:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:127:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:129:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:131:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.cpp:131:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Speech.cpp:131:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:131:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.cpp:140:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Speech.cpp:158:10: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:164:13: warning: function 'isLastSpeech' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Speech.cpp:177:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:179:2: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:182:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:185:2: warning: variable 'iEnd' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:185:13: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:196:59: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:197:66: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.cpp:211:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:217:8: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:217:25: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:222:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:236:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:240:81: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:242:9: warning: no header providing "ANIM_TALK_NEUTRAL" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:243:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:243:2: warning: variable 'speechnum' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:248:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.cpp:250:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.cpp:258:25: warning: variable 'main_conversation' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Speech.cpp:273:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Speech.cpp:284:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Speech.cpp:289:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:294:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:301:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:301:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:305:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:312:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:312:30: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:319:4: warning: no header providing "AcquireLastAnim" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:320:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.cpp:327:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:331:23: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:338:22: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:342:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:354:18: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:355:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:356:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:356:3: warning: variable 'scrpos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:357:22: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:360:26: warning: no header providing "SM_EXECUTELINE" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:366:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:366:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:366:66: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:367:39: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Speech.cpp:375:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:375:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:399:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:399:3: warning: variable 'count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:400:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:408:15: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:408:30: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:410:44: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/gui/Speech.cpp:416:20: warning: use std::to_string instead of boost::lexical_cast [boost-use-to-string] +Arx/src/gui/Speech.cpp:423:3: warning: variable '_output' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:428:54: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/gui/Speech.cpp:428:55: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.cpp:428:70: warning: no header providing "strlen" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:433:70: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.cpp:434:24: warning: narrowing conversion from 'long' to signed type 'audio::SampleId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:437:32: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:441:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:441:27: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.cpp:443:21: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:444:3: warning: variable 'fDiv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:444:16: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:444:41: warning: narrowing conversion from 'float' to 'unsigned long' [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:445:39: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.cpp:448:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:450:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:451:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:451:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:452:88: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:458:6: warning: function 'ARX_SPEECH_Update' has cognitive complexity of 118 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Speech.cpp:460:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.cpp:460:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Speech.cpp:460:2: warning: variable 'tim' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:460:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:460:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.cpp:462:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:468:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:473:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:475:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:481:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.cpp:481:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:483:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.cpp:486:38: warning: no header providing "EA_ANIMEND" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:489:8: warning: no header providing "ANIM_Set" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:498:20: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:499:14: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:500:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:500:5: warning: variable 'scrpos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:501:24: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:504:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:510:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/gui/Speech.cpp:520:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:520:11: warning: variable name 'ok' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:522:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:524:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:531:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Speech.cpp:531:15: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/gui/Speech.cpp:537:7: warning: variable 'sSize' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:539:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Speech.cpp:539:7: warning: variable 'fZoneClippHeight' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:540:7: warning: variable 'fStartYY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:541:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Speech.cpp:541:7: warning: variable 'fStartY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:541:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:541:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:542:7: warning: variable 'fDepY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:542:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:542:84: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:543:7: warning: variable 'fZoneClippY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:545:7: warning: variable 'fAdd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:547:7: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:547:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Speech.cpp:547:7: warning: variable 'y' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:547:17: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:548:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Speech.cpp:548:7: warning: variable 'h' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:548:17: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:549:7: warning: variable 'clippingRect' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:549:33: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:550:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Speech.cpp:550:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:554:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:563:47: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:563:48: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] +Arx/src/gui/Speech.cpp:564:71: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:564:72: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] +Arx/src/gui/Speech.cpp:571:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:571:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:573:11: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/Speech.cpp:573:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:576:14: warning: variable 'fDTime' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Speech.cpp:586:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Speech.cpp:586:19: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Speech.cpp:586:36: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Speech.cpp:586:36: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Speech.cpp:587:9: warning: variable 'fTimeOneLine' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:587:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:589:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:591:10: warning: variable 'fResteLine' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:591:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:592:10: warning: variable 'fTimePlus' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:592:29: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Speech.cpp:592:29: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Speech.cpp:592:49: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Speech.cpp:592:49: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Speech.cpp:602:19: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Speech.cpp:602:19: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Speech.cpp:602:36: warning: redundant cast to the same type [google-readability-casting] +Arx/src/gui/Speech.cpp:602:36: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/gui/Speech.cpp:620:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.cpp:620:61: warning: parameter name 'is' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:626:52: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/gui/Speech.cpp:627:2: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:627:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.cpp:629:35: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Speech.cpp:629:59: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/gui/Speech.h:61: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:73:8: warning: accessing fields in struct 'CinematicSpeech' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/gui/Speech.h:73:8: warning: constructor does not initialize these fields: type, startpos, endpos, f0, f1, f2, ionum [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/Speech.h:83:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:103:8: warning: accessing fields in struct 'ARX_CONVERSATION_STRUCT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/gui/Speech.h:104:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:105:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:105:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Speech.h:106:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:109:8: warning: accessing fields in struct 'Notification' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/gui/Speech.h:109:8: warning: constructor does not initialize these fields: timecreation, duration [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/Speech.h:111:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.h:112:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.h:123: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/Speech.h:130:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.h:130:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.h:130:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Speech.h:130:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Speech.h:132:8: warning: accessing fields in struct 'ARX_SPEECH' is inefficient due to padding; only needs 196 bytes but is using 208 bytes [altera-struct-pack-align] +Arx/src/gui/Speech.h:132:8: warning: accessing fields in struct 'ARX_SPEECH' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/gui/Speech.h:132:8: warning: constructor does not initialize these fields: exist, sample, mood, time_creation, duration, fDeltaY, iTimeScroll, fPixelScroll, io, ioscript, es, scrpos [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/Speech.h:134:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:136:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:138:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.h:139:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/gui/Speech.h:148:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:154:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.h:161:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.h:162:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.h:164:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.h:171:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/gui/Speech.h:171:19: warning: variable 'aspeech' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Speech.h:172:32: warning: variable 'main_conversation' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Speech.h:187:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:187:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:194:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:194:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.h:194:66: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:194:97: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Speech.h:195:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.h:196:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Speech.h:197:6: warning: function 'ARX_SPEECH_Launch_No_Unicode_Seek' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/Speech.h:197:88: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:198:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Speech.h:198:61: warning: parameter name 'is' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:64:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:66:15: warning: variable 'pTextManage' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:66:15: warning: variable 'pTextManage' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:66:29: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:66:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:67:15: warning: variable 'pTextManageFlyingOver' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:67:15: warning: variable 'pTextManageFlyingOver' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:67:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:69:8: warning: variable 'hFontInBook' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:69:8: warning: variable 'hFontInBook' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:69:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:70:8: warning: variable 'hFontMainMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:70:8: warning: variable 'hFontMainMenu' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:70:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:71:8: warning: variable 'hFontMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:71:8: warning: variable 'hFontMenu' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:71:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:72:8: warning: variable 'hFontControls' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:72:8: warning: variable 'hFontControls' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:72:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:73:8: warning: variable 'hFontCredits' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:73:8: warning: variable 'hFontCredits' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:73:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:74:8: warning: variable 'hFontInGame' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:74:8: warning: variable 'hFontInGame' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:74:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:75:8: warning: variable 'hFontInGameNote' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:75:8: warning: variable 'hFontInGameNote' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:75:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:77:6: warning: function 'ARX_UNICODE_FormattingInRect' has cognitive complexity of 40 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/gui/Text.cpp:78:41: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:78:54: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:78:60: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Text.cpp:78:65: warning: 2 adjacent parameters of 'ARX_UNICODE_FormattingInRect' of similar type ('long *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Text.cpp:78:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.cpp:78:85: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:79:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.cpp:79:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:83:30: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:85:6: warning: variable 'maxLineWidth' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Text.cpp:87:23: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:91:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:121:4: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:121:4: warning: variable 'size' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:141:4: warning: variable 'itTextStart' of type 'std::string::const_iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:175:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.cpp:177:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.cpp:177:7: warning: variable 'numChars' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Text.cpp:178:62: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:183:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.cpp:184:39: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:184:48: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:187:39: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Text.cpp:197:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Text.cpp:197:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Text.cpp:197:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Text.cpp:198:18: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:202:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.cpp:202:7: warning: variable 'height' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/Text.cpp:212:26: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:213:26: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:213:35: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:215:26: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Text.cpp:217:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/Text.cpp:223:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.cpp:223:30: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:224:30: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:224:39: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:227:30: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Text.cpp:232:44: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:232:53: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:232:99: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Text.cpp:233:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Text.cpp:237:44: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:237:53: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:237:87: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Text.cpp:244:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.cpp:244:45: warning: 2 adjacent parameters of 'UNICODE_ARXDrawTextCenter' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Text.cpp:244:51: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:244:60: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:244:93: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Text.cpp:246:2: warning: variable 'size' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:247:2: warning: variable 'drawX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:247:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Text.cpp:248:2: warning: variable 'drawY' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:248:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Text.cpp:257:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.cpp:257:53: warning: 2 adjacent parameters of 'UNICODE_ARXDrawTextCenteredScroll' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/Text.cpp:257:59: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:257:68: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:257:77: warning: parameter name 'x2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:257:111: warning: the parameter 'col' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/Text.cpp:259:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Text.cpp:259:2: warning: variable '_x' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:259:12: warning: variable name '_x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:260:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Text.cpp:260:2: warning: variable '_y' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:260:12: warning: variable name '_y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:261:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/Text.cpp:261:2: warning: variable 'w' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:261:12: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:263:2: warning: variable 'rRect' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:277:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.cpp:283:15: warning: function 'createFont' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Text.cpp:287:20: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.cpp:300:14: warning: narrowing conversion from 'float' to 'unsigned int' [bugprone-narrowing-conversions] +Arx/src/gui/Text.cpp:310:14: warning: variable 'created_font_scale' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Text.cpp:310:14: warning: variable 'created_font_scale' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.cpp:312:13: warning: function 'getFontFile' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Text.cpp:347:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:347:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:347:30: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:355:2: warning: variable 'small_scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:410:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:413:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:416:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:419:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:422:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:425:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:428:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:431:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.cpp:434:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.h:57:22: warning: variable 'pTextManage' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:57:22: warning: variable 'pTextManage' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:58:15: warning: variable 'hFontMainMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:58:15: warning: variable 'hFontMainMenu' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:59:15: warning: variable 'hFontMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:59:15: warning: variable 'hFontMenu' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:60:15: warning: variable 'hFontControls' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:60:15: warning: variable 'hFontControls' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:61:15: warning: variable 'hFontCredits' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:61:15: warning: variable 'hFontCredits' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:62:15: warning: variable 'hFontInBook' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:62:15: warning: variable 'hFontInBook' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:63:15: warning: variable 'hFontInGame' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:63:15: warning: variable 'hFontInGame' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:64:15: warning: variable 'hFontInGameNote' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:64:15: warning: variable 'hFontInGameNote' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/gui/Text.h:66:27: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:66:37: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:66:46: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:67:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.h:67:31: warning: parameter name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:67:41: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:67:50: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:67:127: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/Text.h:68:45: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:68:54: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:69:44: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:69:53: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:70:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.h:70:51: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:70:60: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:72:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.h:72:59: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:72:68: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:72:77: warning: parameter name 'x2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:73:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.h:74:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/Text.h:74:52: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:74:61: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/Text.h:74:138: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/TextManager.cpp:51:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:54:21: warning: accessing fields in struct 'ManagedText' is inefficient due to padding; only needs 100 bytes but is using 104 bytes [altera-struct-pack-align] +Arx/src/gui/TextManager.cpp:54:21: warning: accessing fields in struct 'ManagedText' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/gui/TextManager.cpp:54:21: warning: constructor does not initialize these fields: pFont, fDeltaY, fSpeedScrollY, lTimeScroll, lTimeOut [cppcoreguidelines-pro-type-member-init] +Arx/src/gui/TextManager.cpp:56:2: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:61:2: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:62:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.cpp:63:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.cpp:66:14: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/gui/TextManager.cpp:73:95: warning: the parameter '_lCol' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/TextManager.cpp:73:102: warning: 4 adjacent parameters of 'AddText' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/TextManager.cpp:73:102: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.cpp:73:118: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.cpp:84:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/gui/TextManager.cpp:101:3: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:112:65: warning: 2 adjacent parameters of 'AddText' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/gui/TextManager.cpp:112:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.cpp:112:70: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/TextManager.cpp:112:73: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.cpp:112:78: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/TextManager.cpp:112:87: warning: the parameter 'fgcolor' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/gui/TextManager.cpp:113:7: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/TextManager.cpp:114:11: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/TextManager.cpp:115:10: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/TextManager.cpp:126:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/gui/TextManager.cpp:143:26: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/TextManager.cpp:144:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/TextManager.cpp:146:28: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/TextManager.cpp:159:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/gui/TextManager.cpp:164:22: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:164:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/gui/TextManager.cpp:169:9: warning: variable 'maxx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/gui/TextManager.cpp:171:16: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:176:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.cpp:176:3: warning: variable 'height' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/TextManager.cpp:177:44: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/TextManager.cpp:181:28: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/TextManager.h:55: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/TextManager.h:55:7: warning: class 'TextManager' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/TextManager.h:62:7: warning: function 'TextManager::AddText' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/TextManager.h:63:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.h:63:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.h:66:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.h:66:58: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/TextManager.h:66:61: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/gui/TextManager.h:66:66: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/gui/TextManager.h:67:7: warning: function 'TextManager::Update' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/gui/TextManager.h:70:2: warning: function 'Empty' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.cpp:66:9: warning: variable 'GInput' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/input/Input.cpp:66:9: warning: variable 'GInput' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/input/Input.cpp:66:18: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:66:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/input/Input.cpp:69:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/input/Input.cpp:69:13: warning: redundant 'EERIEMouseButton' declaration [readability-redundant-declaration] +Arx/src/input/Input.cpp:69:13: warning: variable 'EERIEMouseButton' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/input/Input.cpp:73:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/Input.cpp:73:14: warning: no header providing "KeyDescription" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:73:29: warning: initialization of 'keysDescriptions' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/input/Input.cpp:74:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:74:4: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:75:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:76:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:77:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:78:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:79:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +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:183:26: warning: initialization of 'PREFIX_KEY' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/input/Input.cpp:184:26: warning: initialization of 'PREFIX_BUTTON' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/input/Input.cpp:186:26: warning: initialization of 'KEY_NONE' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/input/Input.cpp:193:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:197:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/input/Input.cpp:207:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/input/Input.cpp:212:1: warning: constructor does not initialize these fields: mouseInWindow, iSensibility, iWheelDir, iKeyId [cppcoreguidelines-pro-type-member-init] +Arx/src/input/Input.cpp:212:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/input/Input.cpp:223:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:225:2: warning: variable 'autoBackend' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:228:3: warning: variable 'first' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:237:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/input/Input.cpp:257:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/input/Input.cpp:273:2: warning: variable 'wndSize' of type 'Vec2s' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:273:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:273:17: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/input/Input.cpp:273:58: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:273:59: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/input/Input.cpp:274:2: warning: variable 'absPos' of type 'Vec2s' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:277:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:277:24: warning: no header providing "Mouse" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:286:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/input/Input.cpp:318:13: warning: function 'update' has cognitive complexity of 74 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/input/Input.cpp:320:6: warning: variable 'iDTime' is not initialized [cppcoreguidelines-init-variables] +Arx/src/input/Input.cpp:332:4: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/input/Input.cpp:332: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:378:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/input/Input.cpp:425:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:425:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/input/Input.cpp:427:7: warning: variable 'iNumClick' is not initialized [cppcoreguidelines-init-variables] +Arx/src/input/Input.cpp:428:7: warning: variable 'iNumUnClick' is not initialized [cppcoreguidelines-init-variables] +Arx/src/input/Input.cpp:455:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/input/Input.cpp:468:37: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/input/Input.cpp:476:5: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/input/Input.cpp:492:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/input/Input.cpp:492:6: warning: variable 'absX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/input/Input.cpp:492:12: warning: variable 'absY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/input/Input.cpp:495:2: warning: variable 'wndSize' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:499:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:499:20: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/input/Input.cpp:499:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:499:33: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/input/Input.cpp:501:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/input/Input.cpp:501:7: warning: variable 'relX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/input/Input.cpp:501:13: warning: variable 'relY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/input/Input.cpp:505:3: warning: variable 'fSensMax' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:506:3: warning: variable 'fSensMin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:507:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:508:11: warning: call to 'pow' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/input/Input.cpp:508:11: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/input/Input.cpp:508:11: warning: no header providing "pow" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:509:15: warning: narrowing conversion from 'float' to 'short' [bugprone-narrowing-conversions] +Arx/src/input/Input.cpp:509:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/input/Input.cpp:510:15: warning: narrowing conversion from 'float' to 'short' [bugprone-narrowing-conversions] +Arx/src/input/Input.cpp:510:15: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/input/Input.cpp:518:23: warning: no header providing "InputKeyId" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:518:35: warning: variable 'keyNames' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/input/Input.cpp:523:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/input/Input.cpp:529:11: warning: no header providing "INPUT_COMBINATION_MASK" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:532:10: warning: no header providing "INPUT_MASK" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:535:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:535:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:537:8: warning: no header providing "std::ostringstream" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:538:27: warning: redundant cast to the same type [google-readability-casting] +Arx/src/input/Input.cpp:538: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:541:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:544:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:548:37: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:557:24: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/input/Input.cpp:563:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/input/Input.cpp:577:2: warning: variable 'sep' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:579:3: warning: variable 'modifier' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:580:3: warning: variable 'key' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:585:8: warning: no header providing "std::istringstream" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:586:7: warning: variable 'key' is not initialized [cppcoreguidelines-init-variables] +Arx/src/input/Input.cpp:595:7: warning: variable 'key' is not initialized [cppcoreguidelines-init-variables] +Arx/src/input/Input.cpp:604:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/input/Input.cpp:607:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:608:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:611:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/input/Input.cpp:611: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:611:52: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/input/Input.cpp:660:2: warning: variable 'buttonIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:669:2: warning: variable 'buttonIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:678:2: warning: variable 'buttonIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:687:2: warning: variable 'buttonIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:693:39: warning: 2 adjacent parameters of 'getMouseButtonDoubleClick' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/input/Input.cpp:696:2: warning: variable 'buttonIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:715:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/input/Input.cpp:730:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/input/Input.cpp:732:3: warning: variable 'key' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:753:63: warning: no header providing "INPUT_KEYBOARD_MASK" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:759:11: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/input/Input.cpp:767:21: warning: variable 'uiOneHandedMagicMode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/input/Input.cpp:767:21: warning: variable 'uiOneHandedMagicMode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/input/Input.cpp:768:21: warning: variable 'uiOneHandedStealth' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/input/Input.cpp:768:21: warning: variable 'uiOneHandedStealth' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/input/Input.cpp:770:13: warning: function 'actionPressed' has cognitive complexity of 269 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/input/Input.cpp:787:66: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/input/Input.cpp:794:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/input/Input.cpp:798:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/input/Input.cpp:807:77: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/input/Input.cpp:871:9: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/input/Input.cpp:871:9: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/input/Input.cpp:921:5: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/input/Input.cpp:921:5: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/input/Input.cpp:943:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/input/Input.cpp:949:66: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/input/Input.cpp:956:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/input/Input.cpp:960:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/input/Input.cpp:969:77: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/input/Input.cpp:973:67: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/input/Input.cpp:987:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/input/Input.cpp:989:3: warning: variable 'key' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:1013:11: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/input/Input.h:55:7: warning: class 'Input' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/input/Input.h:55:7: warning: class 'Input' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/input/Input.h:76:2: warning: function 'actionNowPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:77:2: warning: function 'actionPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:78:2: warning: function 'actionNowReleased' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:82:2: warning: function 'getMousePosAbs' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:83:2: warning: function 'getMousePosRel' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:84:2: warning: function 'isMouseInWindow' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:87:7: warning: function 'Input::setMouseSensitivity' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/input/Input.h:88:2: warning: function 'getMouseSensitivity' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:90:2: warning: function 'hasMouseMoved' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:91:2: warning: function 'getMouseButton' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:92:2: warning: function 'getMouseButtonClicked' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:93:2: warning: function 'getMouseButtonRepeat' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:94:2: warning: function 'getMouseButtonNowPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:95:2: warning: function 'getMouseButtonNowUnPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:96:2: warning: function 'getMouseButtonDoubleClick' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:98:2: warning: function 'getMouseWheelDir' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:102:2: warning: function 'getKeyPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:103:2: warning: function 'isAnyKeyPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:104:2: warning: function 'isKeyPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:105:2: warning: function 'isKeyPressedNowPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:106:2: warning: function 'isKeyPressedNowUnPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/Input.h:122:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/Input.h:123:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/Input.h:125:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/Input.h:126:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/Input.h:127:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/Input.h:132:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/Input.h:136:16: warning: variable 'GInput' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/input/Input.h:136:16: warning: variable 'GInput' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/input/InputBackend.h:23:7: warning: class 'InputBackend' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/input/InputBackend.h:25:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/input/InputBackend.h:42:2: warning: function 'isKeyboardKeyPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/InputKey.h:25:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +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:27:9: warning: macro 'INPUT_KEYBOARD_MASK' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +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:28:9: warning: macro 'INPUT_MOUSE_MASK' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +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/InputKey.h:29:9: warning: macro 'INPUT_MOUSEWHEEL_MASK' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/input/InputKey.h:33:8: warning: accessing fields in struct 'KeyDescription' is inefficient due to padding; only needs 36 bytes but is using 40 bytes [altera-struct-pack-align] +Arx/src/input/InputKey.h:33:8: warning: accessing fields in struct 'KeyDescription' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/input/Keyboard.h:28:7: warning: enum 'Key' 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/Keyboard.h:51:3: warning: 'Key_I' is confusable with 'Key_1' [misc-confusable-identifiers] +Arx/src/input/Keyboard.h:57:3: warning: 'Key_O' is confusable with 'Key_0' [misc-confusable-identifiers] +Arx/src/input/SDLInputBackend.cpp:34:1: warning: constructor does not initialize these fields: wheel, cursorInWindow, currentWheel [cppcoreguidelines-pro-type-member-init] +Arx/src/input/SDLInputBackend.cpp:34:18: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/input/SDLInputBackend.cpp:39:34: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:39:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/input/SDLInputBackend.cpp:43:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/SDLInputBackend.cpp:43:12: warning: variable 'sdlToArxKey' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/input/SDLInputBackend.cpp:43:12: warning: variable 'sdlToArxKey' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/input/SDLInputBackend.cpp:43:24: warning: no header providing "SDLK_LAST" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:45:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/SDLInputBackend.cpp:45:12: warning: variable 'sdlToArxButton' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/input/SDLInputBackend.cpp:45:12: warning: variable 'sdlToArxButton' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/input/SDLInputBackend.cpp:58:2: warning: no header providing "SDL_EventState" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:58:17: warning: no header providing "SDL_KEYDOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:58:30: warning: no header providing "SDL_ENABLE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:59:17: warning: no header providing "SDL_KEYUP" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:60:17: warning: no header providing "SDL_MOUSEMOTION" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:61:17: warning: no header providing "SDL_MOUSEBUTTONDOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:62:17: warning: no header providing "SDL_MOUSEBUTTONUP" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:63:17: warning: no header providing "SDL_JOYAXISMOTION" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:64:17: warning: no header providing "SDL_JOYBALLMOTION" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:65:17: warning: no header providing "SDL_JOYHATMOTION" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:66:17: warning: no header providing "SDL_JOYBUTTONDOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:67:17: warning: no header providing "SDL_JOYBUTTONUP" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:69:7: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:69:27: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:73:14: warning: no header providing "SDLK_BACKSPACE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:73:32: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:74:14: warning: no header providing "SDLK_TAB" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:76:14: warning: no header providing "SDLK_RETURN" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:77:14: warning: no header providing "SDLK_PAUSE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:78:14: warning: no header providing "SDLK_ESCAPE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:79:14: warning: no header providing "SDLK_SPACE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:80:14: warning: no header providing "SDLK_EXCLAIM" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:81:14: warning: no header providing "SDLK_QUOTEDBL" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:82:14: warning: no header providing "SDLK_HASH" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:83:14: warning: no header providing "SDLK_DOLLAR" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:84:14: warning: no header providing "SDLK_AMPERSAND" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:85:14: warning: no header providing "SDLK_QUOTE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:86:14: warning: no header providing "SDLK_LEFTPAREN" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:87:14: warning: no header providing "SDLK_RIGHTPAREN" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:88:14: warning: no header providing "SDLK_ASTERISK" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:89:14: warning: no header providing "SDLK_PLUS" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:90:14: warning: no header providing "SDLK_COMMA" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:91:14: warning: no header providing "SDLK_MINUS" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:92:14: warning: no header providing "SDLK_PERIOD" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:93:14: warning: no header providing "SDLK_SLASH" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:94:14: warning: no header providing "SDLK_0" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:95:14: warning: no header providing "SDLK_1" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:96:14: warning: no header providing "SDLK_2" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:97:14: warning: no header providing "SDLK_3" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:98:14: warning: no header providing "SDLK_4" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:99:14: warning: no header providing "SDLK_5" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:100:14: warning: no header providing "SDLK_6" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:101:14: warning: no header providing "SDLK_7" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:102:14: warning: no header providing "SDLK_8" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:103:14: warning: no header providing "SDLK_9" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:104:14: warning: no header providing "SDLK_COLON" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:105:14: warning: no header providing "SDLK_SEMICOLON" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:106:14: warning: no header providing "SDLK_LESS" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:107:14: warning: no header providing "SDLK_EQUALS" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:108:14: warning: no header providing "SDLK_GREATER" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:109:14: warning: no header providing "SDLK_QUESTION" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:110:14: warning: no header providing "SDLK_AT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:111:14: warning: no header providing "SDLK_LEFTBRACKET" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:112:14: warning: no header providing "SDLK_BACKSLASH" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:113:14: warning: no header providing "SDLK_RIGHTBRACKET" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:114:14: warning: no header providing "SDLK_CARET" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:115:14: warning: no header providing "SDLK_UNDERSCORE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:116:14: warning: no header providing "SDLK_BACKQUOTE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:117:14: warning: no header providing "SDLK_a" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:118:14: warning: no header providing "SDLK_b" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:119:14: warning: no header providing "SDLK_c" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:120:14: warning: no header providing "SDLK_d" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:121:14: warning: no header providing "SDLK_e" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:122:14: warning: no header providing "SDLK_f" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:123:14: warning: no header providing "SDLK_g" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:124:14: warning: no header providing "SDLK_h" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:125:14: warning: no header providing "SDLK_i" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:126:14: warning: no header providing "SDLK_j" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:127:14: warning: no header providing "SDLK_k" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:128:14: warning: no header providing "SDLK_l" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:129:14: warning: no header providing "SDLK_m" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:130:14: warning: no header providing "SDLK_n" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:131:14: warning: no header providing "SDLK_o" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:132:14: warning: no header providing "SDLK_p" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:133:14: warning: no header providing "SDLK_q" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:134:14: warning: no header providing "SDLK_r" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:135:14: warning: no header providing "SDLK_s" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:136:14: warning: no header providing "SDLK_t" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:137:14: warning: no header providing "SDLK_u" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:138:14: warning: no header providing "SDLK_v" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:139:14: warning: no header providing "SDLK_w" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:140:14: warning: no header providing "SDLK_x" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:141:14: warning: no header providing "SDLK_y" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:142:14: warning: no header providing "SDLK_z" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:143:14: warning: no header providing "SDLK_DELETE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:144:14: warning: no header providing "SDLK_KP0" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:145:14: warning: no header providing "SDLK_KP1" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:146:14: warning: no header providing "SDLK_KP2" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:147:14: warning: no header providing "SDLK_KP3" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:148:14: warning: no header providing "SDLK_KP4" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:149:14: warning: no header providing "SDLK_KP5" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:150:14: warning: no header providing "SDLK_KP6" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:151:14: warning: no header providing "SDLK_KP7" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:152:14: warning: no header providing "SDLK_KP8" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:153:14: warning: no header providing "SDLK_KP9" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:154:14: warning: no header providing "SDLK_KP_PERIOD" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:155:14: warning: no header providing "SDLK_KP_DIVIDE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:156:14: warning: no header providing "SDLK_KP_MULTIPLY" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:157:14: warning: no header providing "SDLK_KP_MINUS" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:158:14: warning: no header providing "SDLK_KP_PLUS" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:159:14: warning: no header providing "SDLK_KP_ENTER" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:161:14: warning: no header providing "SDLK_UP" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:162:14: warning: no header providing "SDLK_DOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:163:14: warning: no header providing "SDLK_RIGHT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:164:14: warning: no header providing "SDLK_LEFT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:165:14: warning: no header providing "SDLK_INSERT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:166:14: warning: no header providing "SDLK_HOME" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:167:14: warning: no header providing "SDLK_END" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:168:14: warning: no header providing "SDLK_PAGEUP" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:169:14: warning: no header providing "SDLK_PAGEDOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:170:14: warning: no header providing "SDLK_F1" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:171:14: warning: no header providing "SDLK_F2" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:172:14: warning: no header providing "SDLK_F3" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:173:14: warning: no header providing "SDLK_F4" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:174:14: warning: no header providing "SDLK_F5" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:175:14: warning: no header providing "SDLK_F6" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:176:14: warning: no header providing "SDLK_F7" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:177:14: warning: no header providing "SDLK_F8" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:178:14: warning: no header providing "SDLK_F9" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:179:14: warning: no header providing "SDLK_F10" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:180:14: warning: no header providing "SDLK_F11" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:181:14: warning: no header providing "SDLK_F12" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:182:14: warning: no header providing "SDLK_F13" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:183:14: warning: no header providing "SDLK_F14" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:184:14: warning: no header providing "SDLK_F15" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:185:14: warning: no header providing "SDLK_NUMLOCK" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:186:14: warning: no header providing "SDLK_CAPSLOCK" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:187:14: warning: no header providing "SDLK_SCROLLOCK" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:188:14: warning: no header providing "SDLK_RSHIFT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:189:14: warning: no header providing "SDLK_LSHIFT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:190:14: warning: no header providing "SDLK_RCTRL" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:191:14: warning: no header providing "SDLK_LCTRL" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:192:14: warning: no header providing "SDLK_RALT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:193:14: warning: no header providing "SDLK_LALT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:194:14: warning: no header providing "SDLK_RMETA" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:195:14: warning: no header providing "SDLK_LMETA" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:196:14: warning: no header providing "SDLK_LSUPER" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:197:14: warning: no header providing "SDLK_RSUPER" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:198:14: warning: no header providing "SDLK_MODE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:199:14: warning: no header providing "SDLK_COMPOSE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:201:14: warning: no header providing "SDLK_PRINT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:212:22: warning: no header providing "Mouse" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:215:22: warning: no header providing "SDL_BUTTON_LEFT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:217:22: warning: no header providing "SDL_BUTTON_MIDDLE" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:219:22: warning: no header providing "SDL_BUTTON_RIGHT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:232:7: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:234:7: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:250:7: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:279:2: warning: no header providing "SDL_WarpMouse" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:287:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:294:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:294:2: warning: variable 'i' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/input/SDLInputBackend.cpp:294:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/input/SDLInputBackend.cpp:295:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/input/SDLInputBackend.cpp:295:48: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/input/SDLInputBackend.cpp:303:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/SDLInputBackend.cpp:433:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/SDLInputBackend.cpp:437:2: warning: variable 'shift' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/input/SDLInputBackend.cpp:440:2: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/input/SDLInputBackend.cpp:440:7: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/input/SDLInputBackend.cpp:449:42: warning: no header providing "SDL_Event" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:451:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/input/SDLInputBackend.cpp:453:8: warning: no header providing "SDL_ACTIVEEVENT" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:454:28: warning: no header providing "SDL_APPMOUSEFOCUS" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:464:4: warning: no header providing "SDLKey" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:464:4: warning: variable 'key' of type 'SDLKey' can be declared 'const' [misc-const-correctness] +Arx/src/input/SDLInputBackend.cpp:465:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/SDLInputBackend.cpp:466:75: warning: no header providing "SDL_PRESSED" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:468:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/SDLInputBackend.cpp:468:64: warning: no header providing "SDL_GetKeyName" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:481:4: warning: no header providing "Uint8" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:481:4: warning: variable 'button' of type 'Uint8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/input/SDLInputBackend.cpp:482:17: warning: no header providing "SDL_BUTTON_WHEELUP" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:484:24: warning: no header providing "SDL_BUTTON_WHEELDOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDLInputBackend.cpp:487:5: warning: variable 'i' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/input/SDLInputBackend.cpp:487:12: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/input/SDLInputBackend.cpp:494:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/SDLInputBackend.h:30:7: warning: class 'SDLInputBackend' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/input/SDLInputBackend.h:30:7: warning: class 'SDLInputBackend' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/input/SDLInputBackend.h:35:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:37:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:38:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:40:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:41:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:44:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:45:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:46:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:47:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:48:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:51:2: warning: function 'isKeyboardKeyPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/input/SDLInputBackend.h:51:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:51:7: warning: function 'SDLInputBackend::isKeyboardKeyPressed' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/input/SDLInputBackend.h:52:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/input/SDLInputBackend.h:62:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/SDLInputBackend.h:63:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/SDLInputBackend.h:64:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/SDLInputBackend.h:65:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/SDLInputBackend.h:68:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/input/SDLInputBackend.h:69:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:48:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/io/Blast.cpp:48:9: warning: macro 'MAXBITS' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/io/Blast.cpp:48:9: warning: macro 'MAXBITS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/io/Blast.cpp:49:9: warning: macro 'MAXWIN' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/io/Blast.cpp:49:9: warning: macro 'MAXWIN' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/io/Blast.cpp:52:8: warning: accessing fields in struct 'state' is inefficient due to padding; only needs 4356 bytes but is using 4360 bytes [altera-struct-pack-align] +Arx/src/io/Blast.cpp:52:8: warning: accessing fields in struct 'state' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/io/Blast.cpp:70:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:85:12: warning: function 'bits' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Blast.cpp:85:25: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:87:6: warning: variable 'val' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:94:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:94:22: warning: do not call 'longjmp'; consider using exception handling instead [cert-err52-cpp] +Arx/src/io/Blast.cpp:96:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/Blast.cpp:116:8: warning: accessing fields in struct 'huffman' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/io/Blast.cpp:117:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/io/Blast.cpp:118:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/io/Blast.cpp:142:12: warning: function 'decode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Blast.cpp:142:27: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:142:40: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:144:6: warning: variable 'len' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:145:6: warning: variable 'code' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:146:6: warning: variable 'first' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:147:6: warning: variable 'count' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:148:6: warning: variable 'index' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:149:6: warning: variable 'bitbuf' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:150:6: warning: variable 'left' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:151:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/io/Blast.cpp:151:10: warning: variable 'next' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:158:8: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/io/Blast.cpp:175:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:178:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:178:22: warning: do not call 'longjmp'; consider using exception handling instead [cert-err52-cpp] +Arx/src/io/Blast.cpp:182:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/io/Blast.cpp:182:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:204:12: warning: function 'construct' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Blast.cpp:204:32: warning: parameter name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:206:6: warning: variable 'symbol' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:207:6: warning: variable 'len' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:208:6: warning: variable 'left' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:209:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/io/Blast.cpp:209:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:210:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/io/Blast.cpp:210:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:219:23: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/Blast.cpp:225:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:227:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:229:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:237:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:242:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:243:19: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/Blast.cpp:249:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:250:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:251:40: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/Blast.cpp:295:20: warning: function 'blastDecompress' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Blast.cpp:295:20: warning: function 'blastDecompress' has cognitive complexity of 52 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/Blast.cpp:295:44: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:297:6: warning: variable 'lit' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:298:6: warning: variable 'dict' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:299:6: warning: variable 'symbol' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:300:6: warning: variable 'len' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:301:6: warning: variable 'dist' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:302:6: warning: variable 'copy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:303:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/io/Blast.cpp:303:18: warning: variable 'from' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:303:25: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:303:25: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:305:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/io/Blast.cpp:305:9: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/io/Blast.cpp:305:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:306:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/io/Blast.cpp:306:9: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/io/Blast.cpp:306:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:307:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/io/Blast.cpp:307:9: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/io/Blast.cpp:307:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:308:27: warning: use designated initializer list to initialize 'huffman' [modernize-use-designated-initializers] +Arx/src/io/Blast.cpp:309:27: warning: use designated initializer list to initialize 'huffman' [modernize-use-designated-initializers] +Arx/src/io/Blast.cpp:310:28: warning: use designated initializer list to initialize 'huffman' [modernize-use-designated-initializers] +Arx/src/io/Blast.cpp:312:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:321:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:323:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:324:15: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/io/Blast.cpp:324:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:327:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Blast.cpp:341:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:343:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:351:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:358:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/Blast.cpp:358:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:366:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/Blast.cpp:370:13: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/Blast.cpp:371:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/io/Blast.cpp:371:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:378:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:389:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Blast.cpp:394:10: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/io/Blast.cpp:401:2: warning: uninitialized record type: 's' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/Blast.cpp:401:8: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:416:5: warning: no header providing "ARX_COMPILER_MSVC" is directly included [misc-include-cleaner] +Arx/src/io/Blast.cpp:422:14: warning: variable 'err' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Blast.cpp:424:5: warning: do not call 'setjmp'; consider using exception handling instead [cert-err52-cpp] +Arx/src/io/Blast.cpp:447:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/io/Blast.cpp:447:22: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:447:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/Blast.cpp:447:26: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/Blast.cpp:462:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/io/Blast.cpp:462:21: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:462:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/Blast.cpp:462:25: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/Blast.cpp:464:9: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/io/Blast.cpp:464:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/Blast.cpp:466:2: warning: variable 'size' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/Blast.cpp:476:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/io/Blast.cpp:476:29: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:476:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/Blast.cpp:476:33: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/Blast.cpp:480:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/Blast.cpp:480:19: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/Blast.cpp:480:27: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/io/Blast.cpp:499:19: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:502:2: warning: variable 'error' of type 'BlastResult' can be declared 'const' [misc-const-correctness] +Arx/src/io/Blast.cpp:506:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/Blast.cpp:516:60: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:518:19: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.cpp:521:2: warning: variable 'error' of type 'BlastResult' can be declared 'const' [misc-const-correctness] +Arx/src/io/Blast.h:60:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/Blast.h:61:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/Blast.h:63: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:97:8: warning: accessing fields in struct 'BlastMemOutBuffer' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/io/Blast.h:103:2: warning: function 'BlastMemOutBuffer' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/Blast.h:103:34: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.h:103:44: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.h:107:8: warning: accessing fields in struct 'BlastMemInBuffer' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/io/Blast.h:113:2: warning: function 'BlastMemInBuffer' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/Blast.h:113:39: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.h:113:49: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.h:117:8: warning: accessing fields in struct 'BlastMemOutBufferRealloc' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/io/Blast.h:124:2: warning: function 'BlastMemOutBufferRealloc' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/Blast.h:124:9: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/Blast.h:124:41: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Blast.h:124:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/Blast.h:124:51: warning: 2 adjacent parameters of 'BlastMemOutBufferRealloc' of similar type ('size_t') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/Blast.h:161:60: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/CinematicFormat.h:60:8: warning: accessing fields in struct 'CinematicLight_1_71' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/io/CinematicFormat.h:71:2: warning: function 'operator CinematicLight' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/CinematicFormat.h:71:9: warning: 'operator CinematicLight' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/CinematicFormat.h:71:9: warning: method 'operator CinematicLight' can be made const [readability-make-member-function-const] +Arx/src/io/CinematicFormat.h:72:18: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/CinematicFormat.h:84:8: warning: accessing fields in struct 'C_KEY_1_75' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/io/CinematicFormat.h:104:8: warning: accessing fields in struct 'C_KEY_1_76' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/io/CinematicFormat.h:119:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/CinematicFormat.h:123:8: warning: accessing fields in struct 'SavedCinematicTrack' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/io/CinematicLoad.cpp:46:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/io/CinematicLoad.cpp:49:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/io/CinematicLoad.cpp:58:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/io/CinematicLoad.cpp:71:14: warning: variable 'KeyTemp' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/CinematicLoad.cpp:73:18: warning: function 'fixTexturePath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/CinematicLoad.cpp:73:44: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/CinematicLoad.cpp:75:2: warning: variable 'copy' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/io/CinematicLoad.cpp:77:2: warning: variable 'abs_dir' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/CinematicLoad.cpp:81:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/CinematicLoad.cpp:86:35: warning: function 'fixSoundPath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/CinematicLoad.cpp:96:2: warning: variable 'sfx_pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/CinematicLoad.cpp:102:2: warning: variable 'uk_pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/CinematicLoad.cpp:106:2: warning: variable 'fr_pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/CinematicLoad.cpp:119:3: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/CinematicLoad.cpp:129:33: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/CinematicLoad.cpp:131:32: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/CinematicLoad.cpp:135:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/CinematicLoad.cpp:142:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/io/CinematicLoad.cpp:152:6: warning: function 'parseCinematic' has cognitive complexity of 39 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/CinematicLoad.cpp:152:33: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/CinematicLoad.cpp:160:5: warning: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare] +Arx/src/io/CinematicLoad.cpp:165:6: warning: variable 'version' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/CinematicLoad.cpp:185:6: warning: variable 'nbitmaps' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/CinematicLoad.cpp:208:3: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/io/CinematicLoad.cpp:219:6: warning: variable 'nsounds' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/CinematicLoad.cpp:229:8: warning: variable 'ignored' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/CinematicLoad.cpp:242:3: warning: variable 'path' of type 'std::pair' can be declared 'const' [misc-const-correctness] +Arx/src/io/CinematicLoad.cpp:250:2: warning: uninitialized record type: 't' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/CinematicLoad.cpp:250:22: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/CinematicLoad.cpp:260:9: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/CinematicLoad.cpp:261:7: warning: variable 'idsound' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/CinematicLoad.cpp:265:4: warning: uninitialized record type: 'k175' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/CinematicLoad.cpp:291:4: warning: uninitialized record type: 'k176' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/CinematicLoad.h:27:32: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/IO.cpp:55:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/IO.cpp:59:67: warning: 2 adjacent parameters of 'HERMES_CreateFileCheck' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/IO.cpp:59:86: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/IO.cpp:65:2: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/io/IO.cpp:66:2: warning: variable 'length' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IO.cpp:67:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/io/IO.cpp:74:2: warning: variable 'write_time' of type 'std::time_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IO.cpp:74:7: warning: no header providing "std::time_t" is directly included [misc-include-cleaner] +Arx/src/io/IO.cpp:80:11: warning: narrowing conversion from 'streamoff' (aka 'long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/IO.cpp:82:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/IO.cpp:82:20: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/IO.cpp:82:20: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/io/IO.cpp:83:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/IO.cpp:83:20: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/IO.cpp:83:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/IO.cpp:83:24: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/src/io/IO.cpp:85:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/IO.cpp:86:2: warning: variable 'namestr' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/io/IO.cpp:86:9: warning: the variable 'namestr' is copy-constructed from a const reference but is only used as const reference; consider making it a const reference [performance-unnecessary-copy-initialization] +Arx/src/io/IO.cpp:87:2: warning: variable 'l' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IO.cpp:87:9: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/IO.cpp:87:18: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/io/IO.cpp:95:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/io/IO.cpp:97:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/io/IO.cpp:101:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/IO.h:66:86: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Implode.cpp:58:9: warning: function-like macro 'TRUNCATE_VALUE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/io/Implode.cpp:61:8: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/io/Implode.cpp:61:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Implode.cpp:61:23: warning: variable 'ChCode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Implode.cpp:61:23: warning: variable 'ChCode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/Implode.cpp:97:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Implode.cpp:97:22: warning: variable 'ChBits' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Implode.cpp:97:22: warning: variable 'ChBits' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/Implode.cpp:117:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Implode.cpp:117:22: warning: variable 'LenCode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Implode.cpp:117:22: warning: variable 'LenCode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/Implode.cpp:122:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Implode.cpp:122:22: warning: variable 'LenBits' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Implode.cpp:122:22: warning: variable 'LenBits' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/Implode.cpp:127:8: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/io/Implode.cpp:127:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Implode.cpp:127:23: warning: variable 'LenBase' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Implode.cpp:127:23: warning: variable 'LenBase' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/Implode.cpp:133:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Implode.cpp:133:22: warning: variable 'ExLenBits' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Implode.cpp:133:22: warning: variable 'ExLenBits' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/Implode.cpp:138:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Implode.cpp:138:22: warning: variable 'OffsCode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Implode.cpp:138:22: warning: variable 'OffsCode' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/Implode.cpp:146:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/Implode.cpp:146:22: warning: variable 'OffsBits' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Implode.cpp:146:22: warning: variable 'OffsBits' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/Implode.cpp:153:15: warning: function 'implode' has cognitive complexity of 148 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/Implode.cpp:155:16: warning: variable 'ch' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Implode.cpp:155:16: warning: variable name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Implode.cpp:156:6: warning: variable 'nMaxCopyLen' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Implode.cpp:157:18: warning: variable 'pMaxCopyOffs' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Implode.cpp:159:18: warning: variable 'pCopyOffs' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Implode.cpp:160:18: warning: variable 'pOldCopyOffs' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Implode.cpp:161:24: warning: variable 'pNewInPos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Implode.cpp:162:18: warning: variable 'pNewDictPos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Implode.cpp:163:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/Implode.cpp:163:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/Implode.cpp:191:27: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/io/Implode.cpp:267:20: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/Implode.cpp:285:21: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/Implode.cpp:310:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Implode.cpp:315:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Implode.cpp:319:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/io/Implode.cpp:345:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/Implode.cpp:412:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/Implode.cpp:432:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/Implode.cpp:449:2: warning: uninitialized record type: 'strm' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/Implode.cpp:451:19: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/io/Implode.cpp:451:19: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/Implode.cpp:466:20: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/io/Implode.cpp:466:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/Implode.cpp:471:2: warning: variable 'res' of type 'ImplodeResult' can be declared 'const' [misc-const-correctness] +Arx/src/io/Implode.cpp:476:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/Implode.h:49:6: warning: enum 'ImplodeLiteralSize' 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/Implode.h:54:6: warning: enum 'ImplodeResult' 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/Implode.h:61:8: warning: accessing fields in struct 'pkstream' is inefficient due to padding; only needs 4174 bytes but is using 4184 bytes [altera-struct-pack-align] +Arx/src/io/Implode.h:61:8: warning: accessing fields in struct 'pkstream' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/io/Implode.h:78:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/io/Implode.h:82:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/IniReader.cpp:27:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:28:12: warning: no header providing "std::istream" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:32:7: warning: no header providing "IniSection" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:34:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/IniReader.cpp:34: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:38:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/IniReader.cpp:39:10: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:39:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/IniReader.cpp:43:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:48:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/IniReader.cpp:53:58: warning: 2 adjacent parameters of 'getKey' of similar type ('const string &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/IniReader.cpp:55:8: warning: no header providing "IniKey" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:94:34: warning: 2 adjacent parameters of 'getKey' of similar type ('const string &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/IniReader.cpp:101:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/IniReader.cpp:106:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/IniReader.cpp:117:21: warning: initialization of 'WHITESPACE' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/io/IniReader.cpp:118:21: warning: initialization of 'ALPHANUM' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/io/IniReader.cpp:120:17: warning: function 'read' has cognitive complexity of 81 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/IniReader.cpp:120:32: warning: parameter name 'is' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/IniReader.cpp:123:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/IniReader.cpp:125:7: warning: variable name 'ok' is too short, expected at least 3 characters [readability-identifier-length] +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:188:5: warning: do not use 'else' after 'continue' [readability-else-after-return] +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:216:3: warning: variable 'key' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:241:6: warning: variable 'start' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:259:6: warning: variable 'nameEnd' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:261:7: warning: variable 'separator' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:289:4: warning: variable 'valueEnd' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.h:36:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/IniReader.h:41:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/IniReader.h:49:7: warning: function 'IniReader::read' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/io/IniReader.h:60:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniReader.h:60:22: warning: function 'IniReader::getKey' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/io/IniReader.h:69:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniReader.h:78:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniReader.h:87:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniReader.h:93:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniReader.h:95:2: warning: function 'getSection' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniReader.h:97:2: warning: function 'getKeyCount' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniReader.h:99:2: warning: function 'begin' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/IniReader.h:99:2: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniReader.h:100:2: warning: function 'end' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/IniReader.h:100:2: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniSection.cpp:45:8: warning: variable 'val' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/IniSection.cpp:58:7: warning: variable 'val' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/IniSection.cpp:61:7: warning: variable 'intVal' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/IniSection.cpp:71:46: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/IniSection.cpp:74:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/io/IniSection.cpp:74:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/IniSection.cpp:81:9: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/io/IniSection.cpp:81:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/IniSection.h:26:8: warning: accessing fields in struct 'IniKey' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/io/IniSection.h:28:2: warning: function 'getName' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/IniSection.h:28:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniSection.h:29:2: warning: function 'getValue' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/IniSection.h:29:2: warning: function 'getValue' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniSection.h:31:2: warning: function 'getValue' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniSection.h:33:2: warning: function 'getValue' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniSection.h:35:2: warning: function 'getValue' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniSection.h:49:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/IniSection.h:62:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/IniSection.h:64:2: warning: function 'begin' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/IniSection.h:64:2: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniSection.h:65:2: warning: function 'end' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/IniSection.h:65:2: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniSection.h:66:2: warning: function 'empty' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/IniSection.h:66:2: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniSection.h:67:2: warning: function 'size' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/IniSection.h:67:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniSection.h:69:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/IniWriter.cpp:24:41: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:58:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:60:12: warning: using decl 'min' is unused [misc-unused-using-decls] +Arx/src/io/SaveBlock.cpp:86:40: warning: no header providing "std::istream" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:91:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:93:7: warning: variable 'uncompressed' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:94:10: warning: no header providing "fs::read" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:97:59: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:100:6: warning: variable 'nChunks' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:114:7: warning: variable 'compid' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:129:7: warning: variable 'chunkSize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:135:7: warning: variable 'chunkOffset' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:149:39: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:151: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:153:2: warning: variable '_uncompressedSize' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:153:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:154:6: warning: no header providing "fs::write" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:156:2: warning: variable 'nChunks' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:159:6: warning: variable '_comp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:164:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:168:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/io/SaveBlock.cpp:168:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/SaveBlock.cpp:170:3: warning: variable 'chunkSize' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:173:3: warning: variable 'chunkOffset' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:185:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:185:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/SaveBlock.cpp:185:22: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/io/SaveBlock.cpp:186:9: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/SaveBlock.cpp:188:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/io/SaveBlock.cpp:188:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/SaveBlock.cpp:190: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:191: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:206:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/io/SaveBlock.cpp:206:28: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:206:28: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/SaveBlock.cpp:214:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:222:4: warning: no header providing "uLongf" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:223:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:223:26: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/SaveBlock.cpp:223:33: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/io/SaveBlock.cpp:224:4: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:224:25: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:224:25: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/SaveBlock.cpp:224:26: warning: no header providing "Bytef" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:224:66: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:224:66: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/SaveBlock.cpp:230:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:245:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:253:12: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/io/SaveBlock.cpp:255:17: warning: function 'loadFileTable' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/SaveBlock.cpp:259:6: warning: variable 'fatOffset' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:269:6: warning: variable 'version' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:277:6: warning: variable 'nFiles' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:292:8: warning: variable 'c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:292:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/SaveBlock.cpp:309:10: warning: no header providing "fs::read" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:335:2: warning: variable 'fatOffset' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:340:2: warning: variable 'nFiles' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:343: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:6: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/SaveBlock.cpp:415:8: warning: no header providing "std::ostringstream" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:420:6: warning: no header providing "fs::ofstream" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:428:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/io/SaveBlock.cpp:435:10: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/SaveBlock.cpp:437:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/SaveBlock.cpp:439: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:440:19: 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:446:23: 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:460: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:498:15: warning: variable 'p' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:498:15: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/SaveBlock.cpp:499:15: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:499:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/SaveBlock.cpp:499:52: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/io/SaveBlock.cpp:499:52: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/SaveBlock.cpp:513:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/SaveBlock.cpp:516: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:523:19: 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:534:15: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/io/SaveBlock.cpp:535:15: 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:536: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:549: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:551:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:564:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/io/SaveBlock.cpp:580:6: warning: no header providing "fs::ifstream" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:583:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:586:6: warning: variable 'fatOffset' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:588:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:592:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:595:6: warning: variable 'version' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:597:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:603:6: warning: variable 'nFiles' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/SaveBlock.cpp:605:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:615:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:625:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/SaveBlock.cpp:640:9: warning: use nullptr [modernize-use-nullptr] +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:60:7: warning: class 'SaveBlock' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/SaveBlock.h:64:9: warning: accessing fields in struct 'File' is inefficient due to padding; only needs 44 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/io/SaveBlock.h:64:9: warning: accessing fields in struct 'File' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/io/SaveBlock.h:64:9: warning: constructor does not initialize these fields: storedSize, uncompressedSize, comp [cppcoreguidelines-pro-type-member-init] +Arx/src/io/SaveBlock.h:66:10: warning: accessing fields in struct 'Chunk' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/io/SaveBlock.h:72:10: warning: 2 adjacent parameters of 'Chunk' of similar type ('size_t') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/SaveBlock.h:76:3: warning: use 'using' instead of 'typedef' [modernize-use-using] +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/SaveBlock.h:90:3: warning: function 'compressionName' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/SaveBlock.h:100:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/SaveBlock.h:104:9: warning: use default member initializer for 'totalSize' [modernize-use-default-member-init] +Arx/src/io/SaveBlock.h:105:9: warning: use default member initializer for 'usedSize' [modernize-use-default-member-init] +Arx/src/io/SaveBlock.h:106:9: warning: use default member initializer for 'chunkCount' [modernize-use-default-member-init] +Arx/src/io/Screenshot.cpp:50:1: warning: included header string is not used directly [misc-include-cleaner] +Arx/src/io/Screenshot.cpp:59:19: warning: variable 'pSnapShot' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Screenshot.cpp:59:19: warning: variable 'pSnapShot' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/Screenshot.cpp:59:19: warning: variable 'pSnapShot' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/Screenshot.cpp:77:11: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/io/Screenshot.cpp:113:32: warning: use nullptr [modernize-use-nullptr] +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/Screenshot.h:49:7: warning: class 'SnapShot' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/Screenshot.h:57:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/fs/FilePath.cpp:30:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/fs/FilePath.cpp:31:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/fs/FilePath.cpp:35:35: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilePath.cpp:35:49: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilePath.cpp:49:12: warning: function 'resolve' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/fs/FilePath.cpp:49:33: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.cpp:49:49: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.cpp:55:3: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:60:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:75:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:85:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:96:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:113:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:130:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:133:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:136:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/fs/FilePath.cpp:138:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:141:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:148:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/fs/FilePath.cpp:150:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:152:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/fs/FilePath.cpp:153:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:166: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:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:173: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:176: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:186:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:200:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:203:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:205: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:220:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:225:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:227: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:231:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:252:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:256:2: warning: variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:258: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:258: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:259: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:284:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:287:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.cpp:296:19: warning: function 'load' has cognitive complexity of 55 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/fs/FilePath.cpp:301:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/io/fs/FilePath.cpp:312:3: warning: variable 'start' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:347:5: warning: variable 'last' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:373:14: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.cpp:383:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if] +Arx/src/io/fs/FilePath.h:30:7: warning: class 'path' defines a copy constructor and a copy assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions] +Arx/src/io/fs/FilePath.h:36:14: warning: function 'fs::path::resolve' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/io/fs/FilePath.h:38:21: warning: function 'fs::path::load' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/io/fs/FilePath.h:44:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/fs/FilePath.h:45:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/fs/FilePath.h:55:2: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/io/fs/FilePath.h:56:2: warning: use '= default' to define a trivial copy constructor [modernize-use-equals-default] +Arx/src/io/fs/FilePath.h:57:17: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/fs/FilePath.h:58:17: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/fs/FilePath.h:62:9: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp] +Arx/src/io/fs/FilePath.h:63:3: warning: operator=() should always return '*this' [misc-unconventional-assign-operator] +Arx/src/io/fs/FilePath.h:70:2: warning: function 'string' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:78:2: warning: function 'parent' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:80:4: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.h:83:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilePath.h:106:2: warning: function 'filename' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:107:3: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.h:115:2: warning: function 'basename' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:121:2: warning: function 'ext' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:123:2: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:165:7: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] +Arx/src/io/fs/FilePath.h:176:2: warning: function 'has_ext' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:179:2: warning: function 'is_up' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:185:2: warning: function 'has_info' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:186:3: warning: variable 'l' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.h:186:10: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:187:31: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/io/fs/FilePath.h:188:14: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/io/fs/FilePath.h:194:2: warning: function 'is_dot' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:195:2: warning: function 'is_root' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:198:2: warning: function 'is_relative' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:207:2: warning: function 'is_absolute' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/FilePath.h:221:36: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:221:52: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:225:43: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:225:59: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:229:44: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:229:60: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:233:37: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:233:53: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:237:44: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:237:60: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:241:37: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilePath.h:241:53: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.cpp:24:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:28:33: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.cpp:28:58: warning: no header providing "std::ifstream" is directly included [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:30:34: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.cpp:34:33: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.cpp:34:58: warning: no header providing "std::ofstream" is directly included [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:36:34: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.cpp:40:31: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.cpp:40:56: warning: no header providing "std::fstream" is directly included [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:42:33: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.cpp:46:6: warning: no header providing "std::istream" is directly included [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:48:3: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FileStream.cpp:48:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.h:31:2: warning: use '= delete' to prohibit calling of a special member function [modernize-use-equals-delete] +Arx/src/io/fs/FileStream.h:32:13: warning: use '= delete' to prohibit calling of a special member function [modernize-use-equals-delete] +Arx/src/io/fs/FileStream.h:36:2: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/io/fs/FileStream.h:38:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/fs/FileStream.h:38:24: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.h:40:25: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.h:42:10: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/io/fs/FileStream.h:42:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/io/fs/FileStream.h:48:2: warning: use '= delete' to prohibit calling of a special member function [modernize-use-equals-delete] +Arx/src/io/fs/FileStream.h:49:13: warning: use '= delete' to prohibit calling of a special member function [modernize-use-equals-delete] +Arx/src/io/fs/FileStream.h:53:2: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/io/fs/FileStream.h:55:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/fs/FileStream.h:55:24: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.h:57:25: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.h:59:10: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/io/fs/FileStream.h:59:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/io/fs/FileStream.h:65:2: warning: use '= delete' to prohibit calling of a special member function [modernize-use-equals-delete] +Arx/src/io/fs/FileStream.h:66:12: warning: use '= delete' to prohibit calling of a special member function [modernize-use-equals-delete] +Arx/src/io/fs/FileStream.h:70:2: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/io/fs/FileStream.h:72:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/fs/FileStream.h:72:23: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.h:74:25: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FileStream.h:76:10: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/io/fs/FileStream.h:76:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +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:26:31: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.cpp:26:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/io/fs/Filesystem.cpp:30:10: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/io/fs/Filesystem.cpp:30:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/fs/Filesystem.cpp:37:28: 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:39:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/fs/Filesystem.cpp:45:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/fs/Filesystem.cpp:45:31: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.cpp:47:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/fs/Filesystem.cpp:60:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/fs/Filesystem.h:37:26: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:43:32: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:49:35: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:55:42: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:61:28: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:67:26: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:73:30: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:80:36: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:87:38: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:113:31: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:120:31: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:138:43: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/Filesystem.h:154:1: warning: namespace 'fs' not terminated with a closing comment [llvm-namespace-comment] +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:26: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:45:2: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/fs/FilesystemPOSIX.cpp:49:32: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:53:2: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/fs/FilesystemPOSIX.cpp:57:35: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:58:2: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/fs/FilesystemPOSIX.cpp:62:6: warning: no header providing "std::time_t" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:62:42: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:63:2: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/fs/FilesystemPOSIX.cpp:67:1: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:67:28: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:68:2: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/fs/FilesystemPOSIX.cpp:69:42: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/fs/FilesystemPOSIX.cpp:69:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/fs/FilesystemPOSIX.cpp:72:26: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:73:2: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilesystemPOSIX.cpp:73:14: warning: no header providing "remove" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:74:24: warning: no header providing "ENOENT" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:74:41: warning: no header providing "ENOTDIR" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:77:30: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:79:2: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/fs/FilesystemPOSIX.cpp:86: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/FilesystemPOSIX.cpp:93:36: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:97:2: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilesystemPOSIX.cpp:101:38: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:107:2: warning: variable 'parent' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilesystemPOSIX.cpp:117: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:123:15: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:135:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/fs/FilesystemPOSIX.cpp:172:2: warning: variable 'path_max' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilesystemPOSIX.cpp:187:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/fs/FilesystemPOSIX.cpp:189:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/FilesystemPOSIX.cpp:189:13: warning: no header providing "errno" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:189:22: warning: no header providing "ERANGE" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:190:11: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/fs/FilesystemPOSIX.cpp:202:9: warning: function-like macro 'DIR_HANDLE_INIT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/io/fs/FilesystemPOSIX.cpp:203:9: warning: function-like macro 'DIR_HANDLE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/io/fs/FilesystemPOSIX.cpp:203:52: warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/io/fs/FilesystemPOSIX.cpp:206:8: warning: no header providing "mode_t" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:206:15: warning: function 'dirstat' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/FilesystemPOSIX.cpp:206:23: warning: 2 adjacent parameters of 'dirstat' of similar type ('void *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/fs/FilesystemPOSIX.cpp:208:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:209:2: warning: variable 'fd' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilesystemPOSIX.cpp:209:6: warning: variable name 'fd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:213:2: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/fs/FilesystemPOSIX.cpp:215:2: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:215:55: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:248:13: warning: function 'readdir' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/FilesystemPOSIX.cpp:252:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/io/fs/FilesystemPOSIX.cpp:256:12: warning: variable 'entry' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/fs/FilesystemPOSIX.cpp:258:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/fs/FilesystemPOSIX.cpp:266:53: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/FilesystemPOSIX.cpp:266:62: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/fs/FilesystemPOSIX.cpp:268:2: warning: 'handle' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/io/fs/FilesystemPOSIX.cpp:273:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/io/fs/FilesystemPOSIX.cpp:273:8: warning: variable 'name_max' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/fs/FilesystemPOSIX.cpp:283:20: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:283:24: warning: no header providing "NAME_MAX" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:293:17: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/io/fs/FilesystemPOSIX.cpp:293:25: warning: no header providing "offsetof" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:294:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/io/fs/FilesystemPOSIX.cpp:297:9: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/io/fs/SystemPaths.cpp:40:13: warning: initialization of 'paths' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/io/fs/SystemPaths.cpp:40:13: warning: variable 'paths' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/fs/SystemPaths.cpp:42:13: warning: function 'canonical' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/SystemPaths.cpp:46:13: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:46:26: warning: function 'getSearchPaths' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/SystemPaths.cpp:51:3: warning: variable 'decoded' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:52:36: warning: no header providing "boost::char_separator" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:53:3: warning: variable 'sep' of type 'boost::char_separator' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:54:3: warning: variable 'tokens' of type 'tokenizer' (aka 'tokenizer>') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:57:10: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/io/fs/SystemPaths.cpp:63:13: warning: function 'findUserPath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/SystemPaths.cpp:63:13: warning: function 'findUserPath' has cognitive complexity of 93 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/fs/SystemPaths.cpp:64:26: warning: 2 adjacent parameters of 'findUserPath' of similar type ('const char *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/fs/SystemPaths.cpp:70:3: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:73:11: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/fs/SystemPaths.cpp:74:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/SystemPaths.cpp:83:3: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:86:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/SystemPaths.cpp:105:5: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:111:7: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/SystemPaths.cpp:128:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/SystemPaths.cpp:140:13: warning: function 'addSearchPath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/SystemPaths.cpp:155:32: warning: function 'getSearchPaths' has cognitive complexity of 128 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/fs/SystemPaths.cpp:166:3: warning: variable 'tmp' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:178:2: warning: variable 'exepath' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:179:6: warning: no header providing "ARX_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:179:22: warning: no header providing "ARX_PLATFORM_WIN32" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:181:3: warning: variable 'var' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:183:30: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/io/fs/SystemPaths.cpp:192:3: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:193:3: warning: if with identical then and else branches [bugprone-branch-clone] +Arx/src/io/fs/SystemPaths.cpp:202:3: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:209:3: warning: if with identical then and else branches [bugprone-branch-clone] +Arx/src/io/fs/SystemPaths.cpp:222:5: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:223:5: warning: if with identical then and else branches [bugprone-branch-clone] +Arx/src/io/fs/SystemPaths.cpp:237:32: warning: initialization of 'cmdLineInitParams' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/io/fs/SystemPaths.cpp:237:32: warning: variable 'cmdLineInitParams' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/SystemPaths.cpp:237:32: warning: variable 'cmdLineInitParams' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/fs/SystemPaths.cpp:263:16: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/io/fs/SystemPaths.cpp:265:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/fs/SystemPaths.cpp:280:3: warning: variable 'full_path' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:286:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/fs/SystemPaths.cpp:289:13: warning: function 'listDirectoriesFor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/SystemPaths.cpp:289:13: warning: function 'listDirectoriesFor' has cognitive complexity of 75 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/fs/SystemPaths.cpp:289:47: warning: parameter name 'os' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/SystemPaths.cpp:290:54: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:290:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/fs/SystemPaths.cpp:291:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/fs/SystemPaths.cpp:303:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:326:5: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:337:19: warning: function 'list' has cognitive complexity of 33 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/fs/SystemPaths.cpp:337:39: warning: parameter name 'os' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/SystemPaths.cpp:372:2: warning: variable 'exepath' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:394:33: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/io/fs/SystemPaths.h:32:8: warning: accessing fields in struct 'SystemPaths' is inefficient due to padding; only needs 113 bytes but is using 120 bytes [altera-struct-pack-align] +Arx/src/io/fs/SystemPaths.h:32:8: warning: accessing fields in struct 'SystemPaths' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/io/fs/SystemPaths.h:32:8: warning: constructor does not initialize these fields: findData_ [cppcoreguidelines-pro-type-member-init] +Arx/src/io/fs/SystemPaths.h:34:9: warning: accessing fields in struct 'InitParams' is inefficient due to padding; only needs 90 bytes but is using 96 bytes [altera-struct-pack-align] +Arx/src/io/fs/SystemPaths.h:34:9: warning: accessing fields in struct 'InitParams' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/io/fs/SystemPaths.h:54:8: warning: use default member initializer for 'findData' [modernize-use-default-member-init] +Arx/src/io/fs/SystemPaths.h:55:8: warning: use default member initializer for 'displaySearchDirs' [modernize-use-default-member-init] +Arx/src/io/fs/SystemPaths.h:61:7: warning: member variable 'user' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/io/fs/SystemPaths.h:62:7: warning: member variable 'config' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/io/fs/SystemPaths.h:63:20: warning: member variable 'data' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/io/fs/SystemPaths.h:78:2: warning: function 'getSearchPaths' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/SystemPaths.h:93:2: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/fs/SystemPaths.h:97:27: warning: parameter name 'os' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/fs/SystemPaths.h:106:20: warning: variable 'paths' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/log/ColorLogger.cpp:31:15: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +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:38:17: warning: variable 'os' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/log/ColorLogger.cpp:38:17: warning: variable name 'os' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/log/ColorLogger.cpp:40:15: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/log/ColorLogger.cpp:41:15: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +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:58: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:61: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/ColorLogger.h:34:7: warning: class 'ColorConsole' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/log/ColorLogger.h:38:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/ColorLogger.h:40:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/ColorLogger.h:42:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/ConsoleLogger.cpp:29:10: warning: inclusion of deprecated C++ header 'errno.h'; consider using 'cerrno' instead [modernize-deprecated-headers] +Arx/src/io/log/ConsoleLogger.cpp:37:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +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:42:17: warning: variable name 'os' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/log/ConsoleLogger.cpp:50:13: warning: function 'is_fd_disabled' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/log/ConsoleLogger.cpp:50:32: warning: parameter name 'fd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/log/ConsoleLogger.cpp:56:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/log/ConsoleLogger.cpp:56:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/log/ConsoleLogger.cpp:57:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/log/ConsoleLogger.cpp:58:2: warning: no header providing "ssize_t" is directly included [misc-include-cleaner] +Arx/src/io/log/ConsoleLogger.cpp:58:2: warning: variable 'len' of type 'ssize_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/io/log/ConsoleLogger.cpp:59:48: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/io/log/ConsoleLogger.cpp:61:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/log/ConsoleLogger.cpp:69:1: warning: no header providing "logger::Backend" is directly included [misc-include-cleaner] +Arx/src/io/log/ConsoleLogger.cpp:78:10: warning: use nullptr [modernize-use-nullptr] +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/ConsoleLogger.h:30:7: warning: class 'Console' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/log/ConsoleLogger.h:34:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/ConsoleLogger.h:36:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/ConsoleLogger.h:38:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/CriticalLogger.cpp:35:3: warning: variable 'logfile' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/CriticalLogger.cpp:45:37: warning: no header providing "logger::Source" is directly included [misc-include-cleaner] +Arx/src/io/log/CriticalLogger.cpp:45: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/CriticalLogger.h:32:7: warning: class 'CriticalErrorDialog' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/log/CriticalLogger.h:38:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/CriticalLogger.h:40:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/FileLogger.cpp:24:7: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +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/FileLogger.h:31:7: warning: class 'File' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/log/FileLogger.h:37:2: warning: function 'File' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/log/FileLogger.h:37:9: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/log/FileLogger.h:41:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/FileLogger.h:43:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/FileLogger.h:45:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/FileLogger.h:47:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/log/LogBackend.cpp:27:23: warning: method 'format' can be made static [readability-convert-member-functions-to-static] +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:27:45: warning: parameter name 'os' is too short, expected at least 3 characters [readability-identifier-length] +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:43: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:46:31: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/io/log/LogBackend.cpp:46:36: warning: no header providing "std::endl" is directly included [misc-include-cleaner] +Arx/src/io/log/LogBackend.h:30:8: warning: accessing fields in struct 'Source' is inefficient due to padding; only needs 44 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/io/log/LogBackend.h:30:8: warning: accessing fields in struct 'Source' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/io/log/LogBackend.h:30:8: warning: constructor does not initialize these fields: file, level [cppcoreguidelines-pro-type-member-init] +Arx/src/io/log/LogBackend.h:40:7: warning: class 'Backend' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/log/LogBackend.h:46:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/io/log/LogBackend.h:57:29: warning: parameter name 'os' is too short, expected at least 3 characters [readability-identifier-length] +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:39:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/log/Logger.cpp:51:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/log/Logger.cpp:51:17: warning: no header providing "boost::unordered_map" is directly included [misc-include-cleaner] +Arx/src/io/log/Logger.cpp:54:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/log/Logger.cpp:57:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/log/Logger.cpp:66:33: warning: initialization of 'sources' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/io/log/Logger.cpp:68:31: warning: initialization of 'rules' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/io/log/Logger.cpp:69:18: warning: initialization of 'lock' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/io/log/Logger.cpp:73:2: 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:73:32: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/log/Logger.cpp:84:19: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +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:98:38: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/log/Logger.cpp:116:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/io/log/Logger.cpp:116:6: warning: use auto when declaring iterators [modernize-use-auto] +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:128:16: warning: use nullptr [modernize-use-nullptr] +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:164:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/io/log/Logger.cpp:164:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/log/Logger.cpp:172:14: warning: function 'set' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +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:204:14: warning: function 'reset' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +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:208:30: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +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:230:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/io/log/Logger.cpp:230:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/log/Logger.cpp:236:37: warning: the const qualified parameter 'config' is copied for each invocation; consider making it a reference [performance-unnecessary-value-param] +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:254:10: warning: variable name 'eq' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/log/Logger.cpp:266:63: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/io/log/Logger.cpp:288:26: warning: function is not thread safe [concurrency-mt-unsafe] +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.cpp:308:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/io/log/Logger.cpp:308:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/log/Logger.h:34:9: warning: variadic macro 'LogDebug' used; consider using a 'constexpr' variadic template function [cppcoreguidelines-macro-usage] +Arx/src/io/log/Logger.h:66:7: warning: class 'Logger' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/log/Logger.h:70: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/log/Logger.h:92:2: warning: function 'Logger' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/log/Logger.h:94:2: warning: function 'Logger' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/log/Logger.h:98:2: warning: function 'operator<<' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/log/Logger.h:98:39: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/log/Logger.h:105:2: warning: function '~Logger' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/log/Logger.h:134:14: warning: function 'Logger::set' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/io/log/Logger.h:140:14: warning: function 'Logger::reset' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/io/log/Logger.h:154:24: warning: parameter 'config' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/io/log/Logger.h:177:33: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/log/Logger.h:194:69: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/log/Logger.h:197:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/PakEntry.cpp:29:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakEntry.cpp:30:12: warning: using decl 'find_first_of' is unused [misc-unused-using-decls] +Arx/src/io/resource/PakEntry.cpp:39:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/resource/PakEntry.cpp:39:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/resource/PakEntry.cpp:39:25: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/io/resource/PakEntry.cpp:46:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/io/resource/PakEntry.cpp:50:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/resource/PakEntry.cpp:65:3: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:88:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/PakEntry.cpp:96:3: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:105:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/resource/PakEntry.cpp:105: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:107:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/resource/PakEntry.cpp:125:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/resource/PakEntry.cpp:126:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/PakEntry.cpp:134:3: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:137:4: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/resource/PakEntry.cpp:137: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:141:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/resource/PakEntry.cpp:141: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:143:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/resource/PakEntry.cpp:154:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/resource/PakEntry.cpp:154: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:154:7: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakEntry.cpp:166:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/resource/PakEntry.cpp:166: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:176:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/io/resource/PakEntry.cpp:176: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.cpp:185:4: warning: do not use 'else' after 'return' [readability-else-after-return] +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:32:7: warning: class 'PakFile' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/PakEntry.h:32:7: warning: destructor of 'PakFile' is protected and virtual [cppcoreguidelines-virtual-class-destructor] +Arx/src/io/resource/PakEntry.h:42:11: warning: function 'PakFile' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/PakEntry.h:42:68: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/resource/PakEntry.h:51:2: warning: function 'size' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/PakEntry.h:51:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/PakEntry.h:52:2: warning: function 'alternative' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/PakEntry.h:52:2: warning: function 'alternative' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/PakEntry.h:55:2: warning: function 'readAlloc' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/PakEntry.h:57:2: warning: function 'open' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/PakEntry.h:61: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/PakEntry.h:61:7: warning: class 'PakDirectory' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/PakEntry.h:84:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/resource/PakEntry.h:85:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/resource/PakEntry.h:91:2: warning: function 'hasFile' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/PakEntry.h:92:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/resource/PakEntry.h:95:2: warning: function 'dirs_begin' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/PakEntry.h:96:2: warning: function 'dirs_end' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/PakEntry.h:98:2: warning: function 'files_begin' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/PakEntry.h:99:2: warning: function 'files_end' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/PakReader.cpp:41:31: warning: 'guessReleaseType' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/io/resource/PakReader.cpp:41:48: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:52:13: warning: 'pakDecrypt' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/io/resource/PakReader.cpp:54:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/resource/PakReader.cpp:56:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/resource/PakReader.cpp:59:15: warning: variable 'key' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:60:9: warning: variable 'keysize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:62:33: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:68:13: warning: narrowing conversion from 'int' to signed type 'char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:76:7: warning: no header providing "std::istream" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:81:53: warning: 2 adjacent parameters of 'UncompressedFile' of similar type ('size_t') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/resource/PakReader.cpp:84:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:86:2: warning: function 'open' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/PakReader.cpp:86:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:92:7: warning: class 'UncompressedFileHandle' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/PakReader.cpp:95:9: warning: use default member initializer for 'offset' [modernize-use-default-member-init] +Arx/src/io/resource/PakReader.cpp:102:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:104:6: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:106:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:108:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:108:2: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/io/resource/PakReader.cpp:114: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/resource/PakReader.cpp:118:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:134:21: 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:142:2: warning: variable 'nread' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:152:9: warning: variable 'base' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:160:5: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/resource/PakReader.cpp:164:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/resource/PakReader.cpp:166:9: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:176:7: warning: no header providing "std::ifstream" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:182:52: warning: 3 adjacent parameters of 'CompressedFile' of similar type ('size_t') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/resource/PakReader.cpp:186:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:188:2: warning: function 'open' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/PakReader.cpp:188:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:194:7: warning: class 'CompressedFileHandle' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/PakReader.cpp:197:9: warning: use default member initializer for 'offset' [modernize-use-default-member-init] +Arx/src/io/resource/PakReader.cpp:204:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:206:6: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:208:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:210:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:210:2: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/io/resource/PakReader.cpp:214:8: warning: accessing fields in struct 'BlastFileInBuffer' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/io/resource/PakReader.cpp:214:43: warning: no header providing "boost::noncopyable" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:219:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/resource/PakReader.cpp:221:45: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.cpp:228:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/io/resource/PakReader.cpp:228:22: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.cpp:228:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/resource/PakReader.cpp:228:26: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/resource/PakReader.cpp:232:2: warning: variable 'count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:240: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/resource/PakReader.cpp:242:20: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.cpp:245:2: warning: variable 'r' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:245:6: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.cpp:261:8: warning: accessing fields in struct 'BlastMemOutBufferOffset' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/io/resource/PakReader.cpp:270:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/io/resource/PakReader.cpp:270:28: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.cpp:270:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/resource/PakReader.cpp:270:32: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/resource/PakReader.cpp:279:3: warning: variable 'toStart' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:283:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/PakReader.cpp:290:2: warning: variable 'toCopy' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:313:21: 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:315:20: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.cpp:316:2: warning: uninitialized record type: 'out' [cppcoreguidelines-pro-type-member-init] +Arx/src/io/resource/PakReader.cpp:328:2: warning: variable 'r' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:328:6: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.cpp:345:9: warning: variable 'base' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:353:5: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/resource/PakReader.cpp:357:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/resource/PakReader.cpp:359:9: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:375:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:377:2: warning: function 'open' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/PakReader.cpp:377:18: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:381:7: warning: class 'PlainFileHandle' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/PakReader.cpp:392:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:394:6: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:396:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:398:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/io/resource/PakReader.cpp:398:2: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/io/resource/PakReader.cpp:421:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/resource/PakReader.cpp:421:24: warning: initializing non-local variable with non-const expression depending on uninitialized non-local variable 'beg' [cppcoreguidelines-interfaces-global-init] +Arx/src/io/resource/PakReader.cpp:421:24: warning: variable 'arxToStlSeekOrigin' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/resource/PakReader.cpp:428:9: warning: narrowing conversion from 'streamoff' (aka 'long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:441:17: warning: function 'addArchive' has cognitive complexity of 30 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/resource/PakReader.cpp:443:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/io/resource/PakReader.cpp:451:6: warning: variable 'fat_offset' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:452:6: warning: variable 'fat_size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:481:2: warning: variable 'key' of type 'ReleaseType' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:486:34: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/io/resource/PakReader.cpp:486:34: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/io/resource/PakReader.cpp:496:20: warning: no header providing "safeGetString" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:499:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/io/resource/PakReader.cpp:504:7: warning: variable 'nfiles' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:505:7: warning: no header providing "safeGet" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:507:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/io/resource/PakReader.cpp:518:4: warning: variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:519:57: warning: no header providing "tolower" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:521:8: warning: variable 'offset' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:522:8: warning: variable 'flags' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:523:8: warning: variable 'uncompressedSize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:524:8: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:526:56: warning: 1st argument 'size' (passed to 'data') looks like it might be swapped with the 3rd, 'fat_size' (passed to 'size') [readability-suspicious-call-argument] +Arx/src/io/resource/PakReader.cpp:532:14: warning: variable 'file' is not initialized [cppcoreguidelines-init-variables] +Arx/src/io/resource/PakReader.cpp:559:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/resource/PakReader.cpp:571:12: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.cpp:583:12: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.cpp:585:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/resource/PakReader.cpp:595:12: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.cpp:597:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/resource/PakReader.cpp:607:3: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:615:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/PakReader.cpp:639:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/PakReader.cpp:644:17: warning: method 'addFile' can be made static [readability-convert-member-functions-to-static] +Arx/src/io/resource/PakReader.cpp:651:2: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:651:2: warning: variable 'size' of type 'u64' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:652:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/io/resource/PakReader.cpp:667:3: warning: variable 'entry' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:682:13: warning: variable 'resources' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/resource/PakReader.cpp:682:13: warning: variable 'resources' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/resource/PakReader.h:34: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:40:7: warning: class 'PakFileHandle' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/PakReader.h:50:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/io/resource/PakReader.h:54: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:54:7: warning: class 'PakReader' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/PakReader.h:58: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/PakReader.h:65:2: warning: function 'PakReader' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/PakReader.h:65:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/io/resource/PakReader.h:68:7: warning: function 'PakReader::removeFile' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/io/resource/PakReader.h:98:2: warning: function 'getReleaseType' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/PakReader.h:110:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.h:110:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/PakReader.h:110:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/io/resource/PakReader.h:110:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/io/resource/PakReader.h:112:20: warning: variable 'resources' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/resource/PakReader.h:112:20: warning: variable 'resources' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/resource/ResourcePath.cpp:27:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/resource/ResourcePath.cpp:28:12: warning: using decl 'copy' is unused [misc-unused-using-decls] +Arx/src/io/resource/ResourcePath.cpp:32:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/resource/ResourcePath.cpp:36:49: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/io/resource/ResourcePath.cpp:79:33: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.cpp:79:49: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.cpp:89:3: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:93:12: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/resource/ResourcePath.cpp:94:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:100:11: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/resource/ResourcePath.cpp:107:12: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/resource/ResourcePath.cpp:108:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:109:12: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/resource/ResourcePath.cpp:120:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:121: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:128:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:139:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:142:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:145:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/resource/ResourcePath.cpp:147:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:150:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:157:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/resource/ResourcePath.cpp:159:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:161:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/io/resource/ResourcePath.cpp:162:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:172:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:175:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:178: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:181: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:191:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:203:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:206:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:208: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:221:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:226:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:228: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:232:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:251:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:255:2: warning: variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:257: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:257: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:258: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:278:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:281:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.cpp:290:12: warning: function 'load' has cognitive complexity of 33 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/io/resource/ResourcePath.cpp:295:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/io/resource/ResourcePath.cpp:303:3: warning: variable 'start' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:321:5: warning: variable 'last' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:341:14: warning: loop variable name 'p' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.cpp:342:21: warning: narrowing conversion from 'int' to signed type 'value_type' (aka 'char') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:352:2: warning: namespace 'res' ends with a comment that refers to a wrong namespace 'fs' [llvm-namespace-comment] +Arx/src/io/resource/ResourcePath.h:28:7: warning: class 'path' defines a copy constructor and a copy assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/ResourcePath.h:37:2: warning: function 'check' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:40:14: warning: function 'res::path::resolve' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/io/resource/ResourcePath.h:44:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/io/resource/ResourcePath.h:48:2: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/io/resource/ResourcePath.h:49:2: warning: use '= default' to define a trivial copy constructor [modernize-use-equals-default] +Arx/src/io/resource/ResourcePath.h:50:17: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/resource/ResourcePath.h:50:22: warning: pass by value and use std::move [modernize-pass-by-value] +Arx/src/io/resource/ResourcePath.h:51:17: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/io/resource/ResourcePath.h:53:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:53:16: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp] +Arx/src/io/resource/ResourcePath.h:54:3: warning: operator=() should always return '*this' [misc-unconventional-assign-operator] +Arx/src/io/resource/ResourcePath.h:57:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:58:3: warning: operator=() should always return '*this' [misc-unconventional-assign-operator] +Arx/src/io/resource/ResourcePath.h:61:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:62:3: warning: operator=() should always return '*this' [misc-unconventional-assign-operator] +Arx/src/io/resource/ResourcePath.h:69:2: warning: function 'string' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:69:2: warning: function 'string' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/ResourcePath.h:77:2: warning: function 'parent' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:77:2: warning: function 'parent' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/ResourcePath.h:79:4: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.h:81:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.h:91:4: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.h:93:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/io/resource/ResourcePath.h:102:2: warning: function 'filename' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:102:2: warning: function 'filename' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/ResourcePath.h:103:3: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.h:111:2: warning: function 'basename' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/ResourcePath.h:117:2: warning: function 'ext' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/ResourcePath.h:119:2: warning: function 'empty' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:119:2: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/ResourcePath.h:124:2: warning: function 'operator==' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:129:2: warning: function 'operator==' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:137:2: warning: function 'operator==' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:142:2: warning: function 'operator!=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:147:2: warning: function 'operator!=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:155:2: warning: function 'operator!=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:163:2: warning: function 'operator<' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:187:2: warning: function 'swap' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:187:14: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] +Arx/src/io/resource/ResourcePath.h:192:2: warning: function 'has_ext' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/ResourcePath.h:194:2: warning: function 'is_up' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:194:2: warning: function 'is_up' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/ResourcePath.h:199:2: warning: function 'has_info' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:199:2: warning: function 'has_info' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/io/resource/ResourcePath.h:200:30: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/io/resource/ResourcePath.h:201:13: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/io/resource/ResourcePath.h:222:2: warning: function 'clear' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/io/resource/ResourcePath.h:226:36: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:226:52: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:230:43: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:230:59: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:234:44: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:234:60: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:238:37: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:238:53: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:242:44: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:242:60: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:246:37: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:246:53: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/io/resource/ResourcePath.h:254:2: warning: namespace 'res' ends with a comment that refers to a wrong namespace 'fs' [llvm-namespace-comment] +Arx/src/math/Angle.cpp:22:29: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.cpp:22:38: warning: parameter name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.cpp:24:8: warning: variable name 'da' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.cpp:35:30: warning: parameter name 'a1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.cpp:35:40: warning: parameter name 'a2' is too short, expected at least 3 characters [readability-identifier-length] +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:37:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +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:7: warning: class 'Angle' defines a copy constructor and a copy assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions] +Arx/src/math/Angle.h:45:10: warning: parameter name '_a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:45:16: warning: parameter name '_b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:45:22: warning: parameter name '_g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:59:10: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp] +Arx/src/math/Angle.h:137:2: warning: function 'equalEps' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Angle.h:158:44: warning: initialization of 'ZERO' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Angle.h:158:49: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Angle.h:158:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Angle.h:158:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Angle.h:160:29: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:160:38: warning: parameter name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:162:30: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:163:2: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/Angle.h:167:30: warning: parameter name 'a1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:167:40: warning: parameter name 'a2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:167:50: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:169:42: warning: parameter name 'a1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:169:61: warning: parameter name 'a2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:169:71: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:170:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/math/Angle.h:174:29: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:174:38: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:175:2: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/Angle.h:180:29: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:180:39: warning: parameter name 'y0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:180:49: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Angle.h:180:59: warning: parameter name 'y1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/MathFwd.h:27:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:28:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:29:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:33:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:34:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:38:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:39:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:39:17: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/math/MathFwd.h:40:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:41:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:45:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:46:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:47:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/MathFwd.h:50:9: warning: macro 'PI' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/math/Random.cpp:24:27: warning: initialization of 'rng' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Random.cpp:27:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Random.cpp:27:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/math/Random.h:37:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/Random.h:41:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/Random.h:46:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/Random.h:110:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/Random.h:149:2: warning: variable 'dist' of type 'diff_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/math/Random.h:150:2: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/math/Random.h:150:2: warning: variable 'toAdvance' of type 'diff_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/math/Rectangle.h:29:7: warning: class 'Rectangle_' defines a copy constructor and a copy assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions] +Arx/src/math/Rectangle.h:41:3: warning: 'operator Vector2' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/math/Rectangle.h:52:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/Rectangle.h:53:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/math/Rectangle.h:56:3: warning: accessing fields in struct '(anonymous struct at Arx/src/math/Rectangle.h:56:3)' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/math/Rectangle.h:64:3: warning: accessing fields in struct '(anonymous struct at Arx/src/math/Rectangle.h:64:3)' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/math/Rectangle.h:75:13: warning: 4 adjacent parameters of 'Rectangle_' of similar type ('T') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/math/Rectangle.h:77:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/math/Rectangle.h:77:41: warning: 2 adjacent parameters of 'Rectangle_' of similar type ('T') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/math/Rectangle.h:79:13: warning: 2 adjacent parameters of 'Rectangle_' of similar type ('const Vector2 &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/math/Rectangle.h:81:13: warning: 2 adjacent parameters of 'Rectangle_' of similar type ('T') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/math/Rectangle.h:83:37: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Rectangle.h:87:15: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp] +Arx/src/math/Rectangle.h:92:2: warning: function 'width' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Rectangle.h:96:2: warning: function 'height' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Rectangle.h:109:14: warning: parameter name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Rectangle.h:109:20: warning: parameter name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Rectangle.h:113:2: warning: function 'contains' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Rectangle.h:117:2: warning: function 'contains' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Rectangle.h:117:18: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Rectangle.h:117:23: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Rectangle.h:121:2: warning: function 'contains' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Rectangle.h:125:2: warning: function 'overlaps' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Rectangle.h:152:2: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Rectangle.h:156:2: warning: function 'valid' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Rectangle.h:160:2: warning: function 'center' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Rectangle.h:168:54: warning: initialization of 'ZERO' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Rectangle.h:168:59: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Rectangle.h:168:65: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Rectangle.h:168:71: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Rectangle.h:168:77: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector2.h:33:7: warning: class 'Vector2' defines a copy constructor and a copy assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions] +Arx/src/math/Vector2.h:46:12: warning: parameter name 'pX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:46:18: warning: parameter name 'pY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:66:12: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp] +Arx/src/math/Vector2.h:217:2: warning: 'operator const type-parameter-0-0 *' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/math/Vector2.h:226:2: warning: 'operator type-parameter-0-0 *' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/math/Vector2.h:249:2: warning: function 'getNormalized' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector2.h:257:2: warning: function 'normalized' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector2.h:265:2: warning: function 'length' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector2.h:273:2: warning: function 'lengthSqr' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector2.h:282:2: warning: function 'distanceFrom' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector2.h:286:2: warning: function 'distanceFromSqr' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector2.h:296:2: warning: function 'equalEps' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector2.h:301:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/math/Vector2.h:302:3: warning: accessing fields in struct '(anonymous struct at Arx/src/math/Vector2.h:302:3)' is inefficient due to poor alignment; currently aligned to 2 bytes, but recommended alignment is 4 bytes [altera-struct-pack-align] +Arx/src/math/Vector2.h:302:3: warning: accessing fields in struct '(anonymous struct at Arx/src/math/Vector2.h:302:3)' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/math/Vector2.h:309:2: warning: function 'to' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector2.h:309:2: warning: function 'to' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector2.h:321:34: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:321:56: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:326:37: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:326:59: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:331:43: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:331:65: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:331:70: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:336:44: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:336:66: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:336:71: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector2.h:341:48: warning: initialization of 'X_AXIS' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Vector2.h:341:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector2.h:341:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector2.h:342:48: warning: initialization of 'Y_AXIS' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Vector2.h:342:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector2.h:342:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector2.h:343:48: warning: initialization of 'ZERO' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Vector2.h:343:53: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/math/Vector2.h:343:53: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector2.h:343:59: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/math/Vector2.h:343:59: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector2.h:344:48: warning: initialization of 'ONE' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Vector2.h:344:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector2.h:344:58: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:35:37: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:35:59: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:43:26: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:43:48: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:50:7: warning: class 'Vector3' defines a copy constructor and a copy assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions] +Arx/src/math/Vector3.h:65:12: warning: parameter name 'pX' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:65:18: warning: parameter name 'pY' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:65:24: warning: parameter name 'pZ' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:83:12: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp] +Arx/src/math/Vector3.h:244:2: warning: 'operator const type-parameter-0-0 *' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/math/Vector3.h:253:2: warning: 'operator type-parameter-0-0 *' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/math/Vector3.h:282:2: warning: function 'getNormalized' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector3.h:297:2: warning: function 'normalized' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector3.h:319:2: warning: function 'length' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector3.h:327:2: warning: function 'lengthSqr' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector3.h:336:2: warning: function 'distanceFrom' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector3.h:340:2: warning: function 'distanceFromSqr' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector3.h:349:2: warning: function 'angleBetween' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector3.h:359:2: warning: function 'equalEps' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/math/Vector3.h:364:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/math/Vector3.h:365:3: warning: accessing fields in struct '(anonymous struct at Arx/src/math/Vector3.h:365:3)' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/math/Vector3.h:382:48: warning: initialization of 'Y_AXIS' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Vector3.h:382:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:382:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:382:67: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:383:48: warning: initialization of 'Z_AXIS' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Vector3.h:383:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:383:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:383:67: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:384:48: warning: initialization of 'ZERO' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Vector3.h:384:53: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:384:59: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:384:65: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:385:48: warning: initialization of 'ONE' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/math/Vector3.h:385:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:385:58: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:385:64: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Vector3.h:388:34: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:388:56: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:393:37: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:393:59: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:398:43: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:398:65: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:398:70: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:403:44: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:403:66: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:403:71: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:408:37: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:408:59: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:413:26: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:413:48: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:418:41: warning: parameter name 'v0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:418:56: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:422:41: warning: parameter name 'v0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/math/Vector3.h:422:56: warning: parameter name 'v1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:58:12: warning: using decl 'min' is unused [misc-unused-using-decls] +Arx/src/physics/Anchors.cpp:59:12: warning: using decl 'max' is unused [misc-unused-using-decls] +Arx/src/physics/Anchors.cpp:60:12: warning: using decl 'sprintf' is unused [misc-unused-using-decls] +Arx/src/physics/Anchors.cpp:62:14: warning: variable 'MAX_ALLOWED_PER_SECOND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Anchors.cpp:63:13: warning: redundant 'DIRECT_PATH' declaration [readability-redundant-declaration] +Arx/src/physics/Anchors.cpp:63:13: warning: variable 'DIRECT_PATH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Anchors.cpp:65:8: warning: no header providing "EERIEPOLY" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:65:20: warning: function 'ANCHOR_CheckInPolyPrecis' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Anchors.cpp:65:45: warning: 2 adjacent parameters of 'ANCHOR_CheckInPolyPrecis' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/physics/Anchors.cpp:65:51: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:65:60: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:65:69: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:67:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:67:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Anchors.cpp:67:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:67:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:67:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:67:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:68:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:68:11: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:72:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:77:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:80:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:84:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:89:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:92:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:92:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:93:2: warning: no header providing "FAST_BKG_DATA" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:93:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:94:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:97:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:97:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:98:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:102:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:106:23: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:106:36: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:106:49: warning: no header providing "POLY_NOCOL" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:107:17: warning: no header providing "PointIn2DPolyXZ" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:110:6: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:114:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:114:12: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:116:11: warning: no header providing "GetTruePolyY" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:118:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:118:48: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:131:20: warning: function 'ANCHOR_CheckInPoly' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Anchors.cpp:131:45: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:131:54: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:131:63: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:133:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:133:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Anchors.cpp:133:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:133:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:133:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:133:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:134:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:138:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:143:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:146:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:150:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:155:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:158:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:158:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:159:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:160:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:164:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:171:50: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:174:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:174:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:174:75: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:179:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:179:21: warning: no header providing "CheckInPolyPrecis" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:184:14: warning: variable 'vector2D' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Anchors.cpp:186:7: warning: function 'ANCHOR_IsPolyInCylinder' has cognitive complexity of 48 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Anchors.cpp:186:43: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:187:46: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Anchors.cpp:191:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:196:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:202:2: warning: variable 'minf' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:203:2: warning: variable 'maxf' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:205:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:207:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:209:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:209:7: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:209:7: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:211:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:212:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:214:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:214:7: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:217:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:217:7: warning: variable 'n' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:217:7: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:223:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:223:14: warning: loop variable name 'o' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:225:5: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:225:11: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:225:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:271:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:275:76: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:285:14: warning: function 'ANCHOR_CheckAnythingInCylinder' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Anchors.cpp:285:14: warning: function 'ANCHOR_CheckAnythingInCylinder' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Anchors.cpp:286:60: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Anchors.cpp:288:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:288:2: warning: variable 'rad' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:288:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:290:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:290:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Anchors.cpp:290:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:290:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:290:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:290:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:291:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:293:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:296:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:299:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:301:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:304:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:309:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:309:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:310:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:323:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:323:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:324:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:328:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:332:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:336:6: warning: variable 'minanything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:348:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:350:8: warning: variable 'tempo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:352:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:359:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:359:13: warning: variable 'MOVING_CYLINDER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Anchors.cpp:360:13: warning: function 'ANCHOR_AttemptValidCylinderPos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Anchors.cpp:360:13: warning: function 'ANCHOR_AttemptValidCylinderPos' has cognitive complexity of 49 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Anchors.cpp:360:75: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:361:58: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Anchors.cpp:365:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:369:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:380:3: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:380:3: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:380:3: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:395:10: warning: variable 'tolerate' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:397:31: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:401:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:404:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:416:5: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:417:11: warning: variable 'pente' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:418:13: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Anchors.cpp:435:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:439:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:445:2: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:445:2: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:470:13: warning: function 'ANCHOR_ARX_COLLISION_Move_Cylinder' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Anchors.cpp:470:13: warning: function 'ANCHOR_ARX_COLLISION_Move_Cylinder' has cognitive complexity of 49 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Anchors.cpp:470:48: warning: no header providing "IO_PHYSICS" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:470:61: warning: parameter name 'ip' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:470:74: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:472:63: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Anchors.cpp:478:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:484:19: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:497:3: warning: variable 'curmovedist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:502:3: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:502:3: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:512:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:517:4: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:517:4: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:524:5: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:524:5: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:529:6: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:529:6: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:530:6: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/physics/Anchors.cpp:539:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:540:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:541:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:542:13: warning: variable 'ANGLESTEPP' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:549:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:555:21: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:557:5: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:557:5: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:558:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:558:15: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:558:23: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:559:37: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Anchors.cpp:559:47: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Anchors.cpp:569:5: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:569:5: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:571:37: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Anchors.cpp:571:47: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Anchors.cpp:581:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:625:45: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:629:2: warning: no header providing "EERIE_BKG_INFO" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:629:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:629:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:631:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:631:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:632:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:636:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:637:5: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:640:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:651:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:658:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:661:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/physics/Anchors.cpp:661:9: warning: macro 'INC_HEIGHT' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/physics/Anchors.cpp:661:9: warning: macro 'INC_HEIGHT' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/physics/Anchors.cpp:662:9: warning: macro 'INC_RADIUS' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/physics/Anchors.cpp:662:9: warning: macro 'INC_RADIUS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/physics/Anchors.cpp:669:45: warning: loop induction expression should not have floating-point type [cert-flp30-c] +Arx/src/physics/Anchors.cpp:669:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:670:38: warning: loop induction expression should not have floating-point type [cert-flp30-c] +Arx/src/physics/Anchors.cpp:672:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:675:28: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Anchors.cpp:677:28: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Anchors.cpp:678:16: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:680:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:682:19: warning: no header providing "POLY_NOPATH" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:682:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:685:10: warning: variable 'vy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:685:10: warning: variable name 'vy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:688:8: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Anchors.cpp:688:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:692:2: warning: variable 'failratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:694:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:694:32: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/physics/Anchors.cpp:702:13: warning: function 'DirectAddAnchor_Original_Method' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Anchors.cpp:702:13: warning: function 'DirectAddAnchor_Original_Method' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Anchors.cpp:702:64: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:702:85: warning: parameter name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:704:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:705:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:719:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:723:3: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/physics/Anchors.cpp:723:3: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:723:3: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:726:48: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:728:4: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/physics/Anchors.cpp:728:4: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:728:4: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:737:5: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/physics/Anchors.cpp:737:5: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:737:5: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:740:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:744:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:746:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:756:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:758:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:760:17: warning: variable name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:762:6: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:766:6: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:768:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:770:16: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:773:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:778:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:778:17: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/physics/Anchors.cpp:778:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:778:25: warning: 'eg->ianchors' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/physics/Anchors.cpp:778:25: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/physics/Anchors.cpp:778:25: warning: no header providing "realloc" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:778:54: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:783:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:783:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/physics/Anchors.cpp:783:31: warning: 'eb->anchors' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/physics/Anchors.cpp:783:31: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/physics/Anchors.cpp:785:16: warning: variable name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:789:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:791:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:796:13: warning: function 'AddAnchor_Original_Method' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Anchors.cpp:796:13: warning: function 'AddAnchor_Original_Method' has cognitive complexity of 52 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Anchors.cpp:796:58: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:796:79: warning: parameter name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:798:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:799:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:800:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:811:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:811:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:812:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:814:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:814:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:814:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:818:32: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Anchors.cpp:818:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:820:32: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Anchors.cpp:820:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:824:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:828:5: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/physics/Anchors.cpp:828:5: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:828:5: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:831:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:833:6: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/physics/Anchors.cpp:833:6: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:833:6: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:842:7: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/physics/Anchors.cpp:842:7: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:842:7: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:845:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:849:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:851:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:856:5: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:856:11: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:863:7: warning: calling 'memcpy' on a non-trivially copyable class is undefined [cert-oop57-cpp] +Arx/src/physics/Anchors.cpp:863:7: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:863:7: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Anchors.cpp:871:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:873:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:876:6: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/physics/Anchors.cpp:876:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:877:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:879:18: warning: variable name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:885:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:897:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:897:17: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/physics/Anchors.cpp:897:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:897:25: warning: 'eg->ianchors' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/physics/Anchors.cpp:897:25: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/physics/Anchors.cpp:897:54: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:902:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:902:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/physics/Anchors.cpp:902:31: warning: 'eb->anchors' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/physics/Anchors.cpp:902:31: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/physics/Anchors.cpp:904:16: warning: variable name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:908:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:910:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:918:13: warning: function 'AddAnchorLink' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Anchors.cpp:918:46: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:918:50: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:918:63: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:921:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:921:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:922:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:925:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:925:31: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/physics/Anchors.cpp:925:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:925:39: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/physics/Anchors.cpp:925:82: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:935:13: warning: function 'AnchorData_Create_Links_Original_Method' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Anchors.cpp:935:13: warning: function 'AnchorData_Create_Links_Original_Method' has cognitive complexity of 156 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Anchors.cpp:935:72: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:937:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:937:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:938:19: warning: variable 'eg2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:939:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:939:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Anchors.cpp:939:7: warning: variable 'ii' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:939:7: warning: variable name 'ii' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:939:11: warning: variable 'ia' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:939:11: warning: variable name 'ia' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:939:15: warning: variable 'ji' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:939:15: warning: variable name 'ji' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:939:19: warning: variable 'ja' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:939:19: warning: variable name 'ja' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:940:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Anchors.cpp:940:8: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:940:12: warning: variable name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:941:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:942:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:942:7: warning: variable 'per' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:943:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:944:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:944:2: warning: variable 'total' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:944:15: warning: performing an implicit widening conversion to type 'long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/physics/Anchors.cpp:946:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:946:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:947:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:949:10: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:949:10: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:949:10: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] +Arx/src/physics/Anchors.cpp:959:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:961:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:963:17: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:965:20: warning: no header providing "POLY_PRECISE_PATH" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:973:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:985:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:985:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:986:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:989:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:991:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1002:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1005:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1011:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1013:8: warning: variable '_dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:1014:8: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:1014:14: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:1014:19: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:1016:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1018:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1022:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1024:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1026:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1029:19: warning: variable name 'ip' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:1036:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1036:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:1038:52: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:1040:12: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:1046:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1056:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:1064:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1066:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1068:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1069:17: warning: redundant boolean literal in conditional assignment [readability-simplify-boolean-expr] +Arx/src/physics/Anchors.cpp:1070:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1089:13: warning: function 'AnchorData_Create_Phase_II_Original_Method' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Anchors.cpp:1089:13: warning: function 'AnchorData_Create_Phase_II_Original_Method' has cognitive complexity of 104 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Anchors.cpp:1089:75: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:1091:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:1091:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:1095:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1096:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1096:7: warning: variable 'per' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:1097:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/physics/Anchors.cpp:1097:2: warning: variable 'total' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:1099:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1099:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1100:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1102:10: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:1113:12: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Anchors.cpp:1113:12: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Anchors.cpp:1113:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Anchors.cpp:1113:20: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Anchors.cpp:1113:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:1113:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:1115:12: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Anchors.cpp:1115:12: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Anchors.cpp:1115:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Anchors.cpp:1115:20: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Anchors.cpp:1115:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:1115:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:1123:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1123:10: warning: variable name 'ok' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:1125:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1127:18: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:1136:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1138:5: warning: variable 'roof' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:1138:18: warning: no header providing "GetTileMinY" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:1139:23: warning: no header providing "GetTileMaxY" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:1143:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1145:49: warning: loop induction expression should not have floating-point type [cert-flp30-c] +Arx/src/physics/Anchors.cpp:1145:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1146:50: warning: loop induction expression should not have floating-point type [cert-flp30-c] +Arx/src/physics/Anchors.cpp:1148:43: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:1149:43: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:1154:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1157:26: warning: no header providing "POLY_DOUBLESIDED" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:1157:67: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1160:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1163:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:1167:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1170:68: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1173:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1184:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1194:6: warning: function 'AnchorData_Create' has cognitive complexity of 74 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Anchors.cpp:1194:43: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:1197:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:1197:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:1198:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:1198:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.cpp:1200:9: warning: macro 'DECALLL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/physics/Anchors.cpp:1202:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1203:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1203:7: warning: variable 'per' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:1204:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/physics/Anchors.cpp:1204:2: warning: variable 'total' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:1206:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1206:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1207:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1209:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1211:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1213:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.cpp:1213:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Anchors.cpp:1213:10: warning: variable 'divvx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:1213:17: warning: variable 'divvy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:1254:6: warning: no header providing "arx_error_msg" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:1259:11: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:1269:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1272:13: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Anchors.cpp:1272:13: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Anchors.cpp:1272:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Anchors.cpp:1272:21: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Anchors.cpp:1272:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:1272:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:1272:64: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:1274:13: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Anchors.cpp:1274:13: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Anchors.cpp:1274:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Anchors.cpp:1274:21: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Anchors.cpp:1274:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:1274:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:1274:64: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Anchors.cpp:1275:10: warning: no header providing "GetMinPoly" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:1277:34: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/physics/Anchors.cpp:1284:18: warning: variable 'epmax' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Anchors.cpp:1285:14: warning: no header providing "GetMaxPoly" is directly included [misc-include-cleaner] +Arx/src/physics/Anchors.cpp:1288:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1290:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1299:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1300:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:1304:8: warning: variable 'bval' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Anchors.cpp:1304:61: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Anchors.cpp:1312:9: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/physics/Anchors.cpp:1324:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1326:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.cpp:1328:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Anchors.h:56:6: warning: enum 'AnchorFlag' 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/Anchors.h:61:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.h:61:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.h:61:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Anchors.h:61:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Anchors.h:63:8: warning: accessing fields in struct 'ANCHOR_DATA' is inefficient due to padding; only needs 34 bytes but is using 40 bytes [altera-struct-pack-align] +Arx/src/physics/Anchors.h:63:8: warning: accessing fields in struct 'ANCHOR_DATA' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/physics/Anchors.h:65:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Anchors.h:67:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Anchors.h:75:45: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Anchors.h:78:43: warning: parameter name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Attractors.cpp:54:8: warning: accessing fields in struct 'ARX_SPECIAL_ATTRACTOR' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/physics/Attractors.cpp:55:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +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:61:30: warning: variable 'attractors' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Attractors.cpp:64:2: warning: use range-based for loop instead [modernize-loop-convert] +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:69:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Attractors.cpp:70:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/physics/Attractors.cpp:77:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:77:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Attractors.cpp:80:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Attractors.cpp:86:33: warning: 3 adjacent parameters of 'ARX_SPECIAL_ATTRACTORS_Add' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/physics/Attractors.cpp:86:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Attractors.cpp:92:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Attractors.cpp:92:7: warning: variable 'tst' is not initialized [cppcoreguidelines-init-variables] +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:99:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/physics/Attractors.cpp:111:62: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/physics/Attractors.cpp:115:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/physics/Attractors.cpp:121:18: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Attractors.cpp:129:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Attractors.cpp:133:4: warning: variable 'max_radius' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Attractors.cpp:136:5: warning: variable 'ratio_dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Attractors.h:55:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Attractors.h:56:57: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:54:9: warning: macro 'FULLTESTS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/physics/Box.cpp:56:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.cpp:56:6: warning: variable 'CUR_COLLISION_MATERIAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Box.cpp:59:50: warning: 2 adjacent parameters of 'EERIE_PHYSICS_BOX_Launch' of similar type ('Vec3f *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/physics/Box.cpp:59:50: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:59:77: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.cpp:59:88: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:61:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:65:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/physics/Box.cpp:65:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:72:17: warning: variable name 'p0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:73:17: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:74:17: warning: variable name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:75:14: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:80:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:81:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:86:3: warning: no header providing "PHYSVERT" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:86:14: warning: variable name 'pv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:104:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.cpp:104:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Box.cpp:104:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Box.cpp:104:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:104:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Box.cpp:104:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:105:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Box.cpp:105:16: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:117:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Box.cpp:129:2: warning: no header providing "EERIE_BKG_INFO" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:129:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Box.cpp:129:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:133:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:136:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:143:6: warning: function 'IsObjectVertexCollidingTriangle' has cognitive complexity of 91 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Box.cpp:143:72: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.cpp:143:77: warning: parameter name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:143:80: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.cpp:145:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Box.cpp:145:2: warning: no header providing "EERIE_TRI" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:145:12: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:145:16: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:147:7: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:151:2: warning: variable 'center' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:152:2: warning: variable 'rad' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:156:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.cpp:156:8: warning: variable name 'nn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.cpp:160:8: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:166:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:171:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:191:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:234:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:277:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:320:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:363:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:406:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:449:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:492:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:535:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:578:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:610:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.cpp:611:30: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/physics/Box.cpp:612:4: warning: no header providing "DebugSphere" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:637:2: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:637:43: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:637:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Box.cpp:638:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Box.cpp:643:6: warning: function 'EERIE_PHYSICS_BOX_Create' has cognitive complexity of 44 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Box.cpp:645:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:649:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:651:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Box.cpp:651:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/physics/Box.cpp:652:14: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/physics/Box.cpp:652:14: warning: no header providing "malloc" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:653:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:656:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Box.cpp:656:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/physics/Box.cpp:657:22: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/physics/Box.cpp:658:2: warning: undefined behavior, destination object type 'PHYSVERT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Box.cpp:660:36: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:664:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Box.cpp:664:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.cpp:665:13: warning: no header providing "componentwise_min" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:666:13: warning: no header providing "componentwise_max" is directly included [misc-include-cleaner] +Arx/src/physics/Box.cpp:681:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:682:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:683:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:686:2: warning: variable 'diff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:698:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:699:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:700:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:705:3: warning: variable 'RATI' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:709:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Box.cpp:709:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:711:4: warning: variable 'curr' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:712:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.cpp:755:3: warning: variable 'cut' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:756:3: warning: variable 'ysec2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:757:3: warning: variable 'ysec1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:761:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Box.cpp:761:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:763:4: warning: variable 'curr' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:764:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.cpp:764:9: warning: variable 'SEC' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Box.cpp:795:75: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:798:75: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Box.cpp:805:3: warning: variable 'distt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:820:4: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Box.cpp:820:10: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.h:59:77: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.h:59:110: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Box.h:60:72: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Box.h:60:77: warning: parameter name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Box.h:60:80: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:56:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/physics/Clothes.cpp:56:9: warning: macro 'MOLLESS_USEGRAVITY' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/physics/Clothes.cpp:56:9: warning: macro 'MOLLESS_USEGRAVITY' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/physics/Clothes.cpp:57:9: warning: macro 'MOLLESS_USEDAMPING' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/physics/Clothes.cpp:57:9: warning: macro 'MOLLESS_USEDAMPING' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/physics/Clothes.cpp:58:9: warning: macro 'MOLLESS_DEFAULT_DAMPING' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/physics/Clothes.cpp:60:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/physics/Clothes.cpp:60:9: warning: macro 'MOLLESS_COLLISION_NONE' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/physics/Clothes.cpp:60:9: warning: macro 'MOLLESS_COLLISION_NONE' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/physics/Clothes.cpp:61:9: warning: macro 'MOLLESS_COLLISION_PENETRATING' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/physics/Clothes.cpp:61:9: warning: macro 'MOLLESS_COLLISION_PENETRATING' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/physics/Clothes.cpp:62:9: warning: macro 'MOLLESS_COLLISION_COLLIDING' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/physics/Clothes.cpp:62:9: warning: macro 'MOLLESS_COLLISION_COLLIDING' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/physics/Clothes.cpp:64:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:67:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:68:4: warning: no header providing "CLOTHESVERTEX" is directly included [misc-include-cleaner] +Arx/src/physics/Clothes.cpp:68:20: warning: variable name 'cv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Clothes.cpp:81:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:81:48: warning: 4 adjacent parameters of 'AddSpring' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/physics/Clothes.cpp:81:48: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:81:92: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:87:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/physics/Clothes.cpp:87:13: warning: no header providing "EERIE_SPRINGS" is directly included [misc-include-cleaner] +Arx/src/physics/Clothes.cpp:93:2: warning: uninitialized record type: 'newSpring' [cppcoreguidelines-pro-type-member-init] +Arx/src/physics/Clothes.cpp:96:25: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/physics/Clothes.cpp:104:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:104:37: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:106:7: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:108:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Clothes.cpp:117:6: warning: function 'EERIEOBJECT_AddClothesData' has cognitive complexity of 130 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Clothes.cpp:119:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:120:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:124:10: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Clothes.cpp:131:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Clothes.cpp:136:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Clothes.cpp:138:6: warning: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] +Arx/src/physics/Clothes.cpp:142:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Clothes.cpp:142:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:144:3: warning: undefined behavior, destination object type 'CLOTHESVERTEX' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Clothes.cpp:147:3: warning: undefined behavior, destination object type 'CLOTHESVERTEX' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Clothes.cpp:152:6: warning: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] +Arx/src/physics/Clothes.cpp:156:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Clothes.cpp:156:32: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:164:34: warning: no header providing "CLOTHES_FLAG_NORMAL" is directly included [misc-include-cleaner] +Arx/src/physics/Clothes.cpp:164:56: warning: no header providing "CLOTHES_FLAG_NOCOL" is directly included [misc-include-cleaner] +Arx/src/physics/Clothes.cpp:166:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Clothes.cpp:175:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:177:5: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:177:5: warning: variable 'vert' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Clothes.cpp:181:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Clothes.cpp:181:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:181:31: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Clothes.cpp:181:31: warning: redundant explicit casting to the same type 'short' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Clothes.cpp:181:32: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:185:36: warning: no header providing "CLOTHES_FLAG_FIX" is directly included [misc-include-cleaner] +Arx/src/physics/Clothes.cpp:195:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:197:5: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:197:5: warning: variable 'vert' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Clothes.cpp:199:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Clothes.cpp:203:6: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Clothes.cpp:203:23: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/physics/Clothes.cpp:207:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:209:7: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:209:7: warning: variable 'ver' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Clothes.cpp:213:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Clothes.cpp:214:8: warning: variable 'distance2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Clothes.cpp:219:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Clothes.cpp:219:25: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:219:34: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Clothes.cpp:219:34: warning: redundant explicit casting to the same type 'short' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Clothes.cpp:219:35: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:230:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:232:5: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:232:5: warning: variable 'vert' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Clothes.cpp:234:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Clothes.cpp:239:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:241:7: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:241:7: warning: variable 'ver' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Clothes.cpp:245:8: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Clothes.cpp:248:13: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Clothes.cpp:250:9: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:250:9: warning: variable 've' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Clothes.cpp:250:15: warning: variable name 've' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Clothes.cpp:252:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Clothes.cpp:256:32: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Clothes.cpp:256:32: warning: redundant explicit casting to the same type 'short' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Clothes.cpp:256:33: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:256:85: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Clothes.cpp:258:10: warning: variable 'distance2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Clothes.cpp:263:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Clothes.cpp:263:27: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:263:36: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Clothes.cpp:263:36: warning: redundant explicit casting to the same type 'short' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Clothes.cpp:263:37: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Clothes.cpp:283:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Clothes.cpp:284:52: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Clothes.cpp:285:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Clothes.h:52:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:59:47: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/CollisionShapes.cpp:61:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/CollisionShapes.cpp:61:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:65:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:75:8: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/CollisionShapes.cpp:78:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/CollisionShapes.cpp:79:15: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:96:3: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/CollisionShapes.cpp:96:9: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/CollisionShapes.cpp:100:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/physics/CollisionShapes.cpp:100:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:102:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/physics/CollisionShapes.cpp:102:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:104:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/physics/CollisionShapes.cpp:104:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:117:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/CollisionShapes.cpp:120:44: warning: 2 adjacent parameters of 'AddCollisionSphere' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/physics/CollisionShapes.cpp:120:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:126:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/physics/CollisionShapes.cpp:126:13: warning: no header providing "COLLISION_SPHERE" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:129:4: warning: use `std::max` instead of `>=` [readability-use-std-min-max] +Arx/src/physics/CollisionShapes.cpp:136:2: warning: uninitialized record type: 'newSphere' [cppcoreguidelines-pro-type-member-init] +Arx/src/physics/CollisionShapes.cpp:137:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/CollisionShapes.cpp:137:19: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:143:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:143:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:145:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:147:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:161:48: warning: 2 adjacent parameters of 'IsExclusiveGroupMember' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/physics/CollisionShapes.cpp:161:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:161:58: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:164:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:166:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/physics/CollisionShapes.cpp:178:50: warning: 2 adjacent parameters of 'GetSphereRadiusForGroup' of similar type ('Vec3f *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/physics/CollisionShapes.cpp:178:83: warning: 2 adjacent parameters of 'GetSphereRadiusForGroup' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/physics/CollisionShapes.cpp:178:83: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:183:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:187:10: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/CollisionShapes.cpp:194:77: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:196:86: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:198:3: warning: variable 'target' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/physics/CollisionShapes.cpp:201:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:203:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:205:3: warning: variable 'targvect' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/physics/CollisionShapes.cpp:206:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/CollisionShapes.cpp:206:15: warning: no header providing "dot" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:208:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/CollisionShapes.cpp:208:6: warning: no header providing "fabs" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:209:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/physics/CollisionShapes.cpp:209:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:225:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:225:63: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:227:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:235:8: warning: no header providing "IsVertexIdxInGroup" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:235:32: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/CollisionShapes.cpp:235:45: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/src/physics/CollisionShapes.cpp:240:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:241:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/CollisionShapes.cpp:244:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/CollisionShapes.cpp:248:2: warning: variable 'nvertex' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/physics/CollisionShapes.cpp:253:2: warning: undefined behavior, destination object type 'value_type' (aka 'EERIE_VERTEX') is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/CollisionShapes.cpp:253:46: warning: no header providing "EERIE_VERTEX" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:257:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/CollisionShapes.cpp:257:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/physics/CollisionShapes.cpp:257:17: warning: no header providing "PROGRESSIVE_DATA" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:258:7: warning: 'obj->pdata' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/physics/CollisionShapes.cpp:258:7: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/physics/CollisionShapes.cpp:258:7: warning: no header providing "realloc" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:270:34: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/CollisionShapes.cpp:272:9: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/CollisionShapes.cpp:276:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/CollisionShapes.cpp:276:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:281:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:283:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:283:8: warning: variable 'workon' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/CollisionShapes.cpp:299:4: warning: variable 'tot' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/CollisionShapes.cpp:300:4: warning: variable 'divdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/CollisionShapes.cpp:311:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/CollisionShapes.cpp:311:6: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/CollisionShapes.cpp:313:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:318:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:320:5: warning: variable 'inc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/CollisionShapes.cpp:326:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.cpp:331:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/CollisionShapes.h:52:47: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:64:14: warning: redundant 'FrameDiff' declaration [readability-redundant-declaration] +Arx/src/physics/Collisions.cpp:64:14: warning: variable 'FrameDiff' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:65:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:65:6: warning: variable 'ON_PLATFORM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:67:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:67:8: warning: variable 'MAX_IN_SPHERE_Pos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:68:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Collisions.cpp:68:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/physics/Collisions.cpp:68:7: warning: variable 'EVERYTHING_IN_SPHERE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:69:8: warning: variable 'EXCEPTIONS_LIST_Pos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:70:1: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Collisions.cpp:70:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/physics/Collisions.cpp:70:7: warning: variable 'EXCEPTIONS_LIST' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:72:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:72:13: warning: variable 'POLYIN' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Collisions.cpp:72:13: warning: variable 'POLYIN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:73:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:73:6: warning: variable 'COLLIDED_CLIMB_POLY' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:74:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:74:6: warning: variable 'MOVING_CYLINDER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:76:1: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:76:7: warning: initialization of 'vector2D' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/physics/Collisions.cpp:76:7: warning: variable 'vector2D' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:77:6: warning: variable 'DIRECT_PATH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:81:14: warning: function 'IsPolyInCylinder' has cognitive complexity of 79 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:81:31: warning: no header providing "EERIEPOLY" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:81:42: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:81:67: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:83:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:85:2: warning: variable 'minf' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:86:2: warning: variable 'maxf' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:88:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:90:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:92:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:92:7: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:92:7: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:94:17: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:94:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:95:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:99:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:101:3: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:101:9: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:103:3: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/physics/Collisions.cpp:109:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:113:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:118:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:127:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:129:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:132:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:136:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:136:7: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:139:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:139:7: warning: variable 'n' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:139:7: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:145:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:145:14: warning: loop variable name 'o' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:147:5: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:147:11: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:147:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:152:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:164:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:174:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:185:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:195:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:200:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:230:70: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:237:13: warning: function 'IsPolyInSphere' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:237:39: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:237:43: warning: no header providing "EERIE_SPHERE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:239:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:241:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:243:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:243:7: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:243:7: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:245:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:246:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:248:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:248:7: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:251:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:251:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:273:3: warning: variable 'v' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:273:9: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:281:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:288:29: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:290:15: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:290:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:292:23: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:293:18: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:297:22: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:299:4: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:302:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/physics/Collisions.cpp:319:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:320:6: warning: function 'PushIO_ON_Top' has cognitive complexity of 100 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:322:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:324:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:331:25: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:331:34: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:331:46: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:334:7: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:335:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:336:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:340:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/physics/Collisions.cpp:346:5: warning: variable 'posy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:347:5: warning: variable 'modd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:353:13: warning: variable name 'cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:354:13: warning: variable name 'cz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:356:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:366:7: warning: variable 'tval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:374:10: warning: no header providing "PointIn2DPolyXZ" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:383:10: warning: variable 'vv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:383:16: warning: variable name 'vv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:421:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/physics/Collisions.cpp:422:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:434:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:441:62: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:443:2: warning: variable 'miny' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:444:2: warning: variable 'maxy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:457:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:457:13: warning: variable 'NPC_IN_CYLINDER' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Collisions.cpp:457:13: warning: variable 'NPC_IN_CYLINDER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:459:13: warning: redundant 'GetIOCyl' declaration [readability-redundant-declaration] +Arx/src/physics/Collisions.cpp:459:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:461:40: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:461:69: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:461:78: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:468:32: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:471:12: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:472:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:483:8: warning: variable name 'ft' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:483:11: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:484:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:485:18: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:487:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:488:18: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:490:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/physics/Collisions.cpp:490:2: warning: variable 'ec' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:490:8: warning: variable name 'ec' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:490:11: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:491:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/physics/Collisions.cpp:491:2: warning: variable 'es' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:491:8: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:491:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:500:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:509:7: warning: function 'CheckAnythingInCylinder' has cognitive complexity of 449 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:509:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:513:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:513:2: warning: variable 'rad' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:513:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:513:35: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:514:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:514:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:514:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:514:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:514:10: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:514:10: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:515:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:517:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:520:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:523:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:525:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:528:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:533:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:533:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:534:2: warning: no header providing "FAST_BKG_DATA" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:534:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:536:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:536:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:537:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:539:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:539:9: warning: variable 'nearx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:539:15: warning: variable 'nearz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:542:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:548:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:551:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:554:4: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:554:10: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:556:4: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/physics/Collisions.cpp:562:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:566:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:570:20: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:570:33: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:570:46: warning: no header providing "POLY_NOCOL" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:570:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:579:21: warning: no header providing "POLY_CLIMB" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:579:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:586:2: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/physics/Collisions.cpp:586:8: warning: variable 'tempo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:588:5: warning: no header providing "CheckInPolyPrecis" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:597:12: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:597:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:598:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:599:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:606:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:609:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:623:8: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:623:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:630:27: warning: no header providing "GFLAG_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:634:107: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:637:25: warning: no header providing "IO_FIELD" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:639:72: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:642:8: warning: different indentation for 'if' and corresponding 'else' [readability-misleading-indentation] +Arx/src/physics/Collisions.cpp:644:7: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/physics/Collisions.cpp:646:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:646:8: warning: variable 'res' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:650:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:658:14: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:661:8: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/physics/Collisions.cpp:661:13: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:672:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:672:8: warning: variable 'res' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:676:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:696:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:696:29: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:698:9: warning: no header providing "EVENT_SENDER" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:699:33: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:699:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:701:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:702:10: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:702:31: warning: no header providing "SM_COLLIDE_NPC" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:703:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:707:33: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:707:34: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:709:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:711:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:715:14: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:718:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:719:57: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:721:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:722:34: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:722:67: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:729:10: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:729:75: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:730:32: warning: no header providing "SM_NULL" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:734:32: warning: no header providing "SM_REACHEDTARGET" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:743:19: warning: variable name 'sp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:745:6: warning: variable 'miny' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:746:6: warning: variable 'maxy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:748:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:748:44: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/physics/Collisions.cpp:750:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:750:32: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/physics/Collisions.cpp:754:14: warning: no header providing "EERIE_VERTEX" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:755:7: warning: variable 'nbv' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:759:13: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:761:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:761:9: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:765:9: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/physics/Collisions.cpp:768:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:770:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:777:29: warning: no header providing "GFLAG_DOOR" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:780:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:780:33: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:783:37: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:783:38: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:784:34: warning: no header providing "SM_COLLIDE_DOOR" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:786:37: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:786:38: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:793:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:794:36: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:794:37: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:795:34: warning: no header providing "SM_COLLIDE_FIELD" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:798:17: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:802:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:803:62: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:805:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:806:37: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:806:72: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:816:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:816:13: warning: variable 'step' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:818:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:820:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:822:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:829:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:830:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:831:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:835:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:845:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:845:34: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:848:38: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:848:39: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:851:38: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:851:39: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:858:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:859:37: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:859:38: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:863:18: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:867:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:868:62: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:870:13: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/physics/Collisions.cpp:870:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:871:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:871:73: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:887:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:894:13: warning: function 'InExceptionList' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Collisions.cpp:894:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:906:6: warning: function 'CheckEverythingInSphere' has cognitive complexity of 107 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:906:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:906:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:911:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:911:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:912:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:914:2: warning: variable 'sr30' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:915:2: warning: variable 'sr40' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:916:2: warning: variable 'sr180' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:918:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:929:26: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:931:5: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:934:4: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/physics/Collisions.cpp:939:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:941:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:947:67: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:949:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:954:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:954:12: warning: variable 'miny' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:954:17: warning: variable 'maxy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:959:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:964:18: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:965:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:969:15: warning: variable name 'cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:970:15: warning: variable name 'cz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:972:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:990:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:990:51: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Collisions.cpp:993:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1005:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1010:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1013:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:1013:49: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1016:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1028:7: warning: no header providing "EERIE_FACE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1028:20: warning: variable name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1030:26: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1030:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1032:7: warning: variable 'fcenter' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1035:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:1035:49: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1038:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1057:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1057:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1059:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1059:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:1059:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1059:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1059:10: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1059:10: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1060:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1061:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1063:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1063:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1064:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1065:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1065:2: warning: variable 'spx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1065:22: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/physics/Collisions.cpp:1066:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1066:2: warning: variable 'epx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1066:39: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/physics/Collisions.cpp:1067:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1067:2: warning: variable 'spz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1067:22: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/physics/Collisions.cpp:1068:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1068:2: warning: variable 'epz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1068:39: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/physics/Collisions.cpp:1070:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1070:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1071:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1075:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1079:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1088:2: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/physics/Collisions.cpp:1088:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:1093:6: warning: function 'CheckAnythingInSphere' has cognitive complexity of 131 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:1093:50: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1093:71: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Collisions.cpp:1093:77: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1095:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1097:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1097:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1099:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1099:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:1099:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1099:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1099:10: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1099:10: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1100:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1101:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1103:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1103:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1104:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1108:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1108:3: warning: variable 'spz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1108:23: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/physics/Collisions.cpp:1109:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1109:3: warning: variable 'epz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1109:40: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/physics/Collisions.cpp:1110:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1110:3: warning: variable 'spx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1110:23: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/physics/Collisions.cpp:1111:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1111:3: warning: variable 'epx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1111:40: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/physics/Collisions.cpp:1113:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1113:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1114:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1118:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1122:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1124:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1130:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1132:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1134:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1136:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1136:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1137:2: warning: variable 'sr30' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1138:2: warning: variable 'sr40' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1139:2: warning: variable 'sr180' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1141:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1145:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:1147:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1151:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1153:67: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1155:78: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1157:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1159:22: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1159:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1162:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1167:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:1167:12: warning: variable 'miny' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1167:17: warning: variable 'maxy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1172:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1177:18: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1178:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:1182:15: warning: variable name 'cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1183:15: warning: variable name 'cz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1185:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1203:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1213:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1218:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1221:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1233:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1237:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1249:6: warning: function 'CheckIOInSphere' has cognitive complexity of 106 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:1249:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1251:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1253:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1254:2: warning: variable 'sr30' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1255:2: warning: variable 'sr40' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1256:2: warning: variable 'sr180' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1269:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1270:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1270:11: warning: variable name 'ii' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1276:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1283:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1284:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1284:11: warning: variable 'step' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1286:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1287:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1288:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1289:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1290:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1294:10: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1297:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1306:38: warning: loop induction expression should not have floating-point type [cert-flp30-c] +Arx/src/physics/Collisions.cpp:1308:10: warning: variable 'posi' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1314:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1317:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1327:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1337:7: warning: variable 'MAX_ALLOWED_PER_SECOND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.cpp:1342:6: warning: function 'AttemptValidCylinderPos' has cognitive complexity of 79 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:1342:61: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1342:80: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Collisions.cpp:1346:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1350:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1361:3: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1361:3: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1361:3: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1376:10: warning: variable 'tolerate' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1410:4: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1410:4: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1412:4: warning: variable 'tmp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1418:6: warning: variable 'tmp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1420:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1435:5: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1436:5: warning: variable 'pente' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1436:19: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:1439:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/physics/Collisions.cpp:1451:5: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1451:5: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1453:5: warning: variable 'tmp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1459:6: warning: variable 'tmp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1461:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1467:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1471:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1477:2: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1477:2: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1510:6: warning: function 'ARX_COLLISION_Move_Cylinder' has cognitive complexity of 63 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:1510:47: warning: parameter name 'ip' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1510:59: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1510:103: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Collisions.cpp:1524:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:1530:19: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1536:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1537:11: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/physics/Collisions.cpp:1543:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1548:3: warning: variable 'curmovedist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1552:3: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1552:3: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1564:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1570:5: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1570:5: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1575:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1580:5: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1580:5: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1585:6: warning: undefined behavior, destination object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1585:6: warning: undefined behavior, source object type 'IO_PHYSICS' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1586:6: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/physics/Collisions.cpp:1595:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1596:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1597:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1598:10: warning: variable 'ANGLESTEPP' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1605:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1611:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1613:5: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1613:5: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1614:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1614:21: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1615:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:1615:44: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:1617:11: warning: variable name 'cc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1624:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1628:5: warning: undefined behavior, destination object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1628:5: warning: undefined behavior, source object type 'EERIE_CYLINDER' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/physics/Collisions.cpp:1630:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:1630:44: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:1639:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1643:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1681:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1694:6: warning: function 'IO_Visible' has cognitive complexity of 77 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:1698:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:1698:8: warning: variable 'x' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1698:8: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1698:10: warning: variable 'y' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1698:10: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1698:12: warning: variable 'z' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1698:12: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1699:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:1699:8: warning: variable 'dx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1699:8: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1699:11: warning: variable 'dy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1699:11: warning: variable name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1699:14: warning: variable 'dz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1699:14: warning: variable name 'dz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1700:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:1700:8: warning: variable 'adx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1700:12: warning: variable 'ady' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1700:16: warning: variable 'adz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1701:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:1701:8: warning: variable 'ix' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1701:8: warning: variable name 'ix' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1701:11: warning: variable 'iy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1701:11: warning: variable name 'iy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1701:14: warning: variable 'iz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1701:14: warning: variable name 'iz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1702:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1702:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:1702:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1702:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1702:10: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1702:10: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1703:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1703:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1705:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1710:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:1711:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Collisions.cpp:1711:8: warning: variable 'iter' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1711:13: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1711:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1716:8: warning: variable 'distance' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1719:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1722:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:1724:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:1726:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/physics/Collisions.cpp:1777:8: warning: variable 'dd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Collisions.cpp:1777:8: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1796:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1798:33: warning: no header providing "GFLAG_VIEW_BLOCKER" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1800:34: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1815:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:1815:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1816:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Collisions.cpp:1816:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1818:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1818:30: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/physics/Collisions.cpp:1818:30: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/physics/Collisions.cpp:1819:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1819:23: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/physics/Collisions.cpp:1821:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1821:31: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/physics/Collisions.cpp:1821:31: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/physics/Collisions.cpp:1822:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1822:23: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/physics/Collisions.cpp:1826:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1830:64: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1831:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1832:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1835:10: warning: no header providing "RayCollidingPoly" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1852:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:1852:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1854:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1861:21: warning: variable name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1865:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1867:18: warning: variable name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1873:6: warning: function 'ANCHOR_BLOCK_By_IO' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Collisions.cpp:1873:34: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1873:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1875:21: warning: variable name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1877:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1879:17: warning: variable name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1881:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1885:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1886:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.cpp:1890:11: warning: variable name 'cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1891:11: warning: variable name 'cz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.cpp:1893:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.cpp:1911:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.cpp:1913:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Collisions.h:58: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:76:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.h:76:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.h:76:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Collisions.h:76:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Collisions.h:80:15: warning: variable 'MAX_IN_SPHERE_Pos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.h:81:8: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Collisions.h:81:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/physics/Collisions.h:81:14: warning: variable 'EVERYTHING_IN_SPHERE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.h:82:15: warning: variable 'EXCEPTIONS_LIST_Pos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.h:83:8: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/physics/Collisions.h:83:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/physics/Collisions.h:83:14: warning: variable 'EXCEPTIONS_LIST' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.h:84:13: warning: variable 'DIRECT_PATH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/physics/Collisions.h:86:47: warning: parameter name 'ip' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.h:86:60: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.h:86:113: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.h:87:67: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.h:89: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/Collisions.h:98:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.h:98:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.h:98:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Collisions.h:98:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/physics/Collisions.h:101:51: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.h:101:81: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.h:101:84: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.h:101:97: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Collisions.h:104:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.h:104:66: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.h:109:29: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.h:114:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.h:116:61: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.h:119:34: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Collisions.h:119:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Collisions.h:121:62: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Physics.cpp:49:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/physics/Physics.cpp:55:13: warning: function 'BCCheckInPoly' has cognitive complexity of 55 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/physics/Physics.cpp:55:27: warning: 2 adjacent parameters of 'BCCheckInPoly' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/physics/Physics.cpp:55:33: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Physics.cpp:55:42: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Physics.cpp:55:51: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Physics.cpp:57:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Physics.cpp:57:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/physics/Physics.cpp:57:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Physics.cpp:57:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Physics.cpp:57:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Physics.cpp:57:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Physics.cpp:58:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Physics.cpp:61:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Physics.cpp:62:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Physics.cpp:64:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/physics/Physics.cpp:67:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Physics.cpp:68:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Physics.cpp:70:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Physics.cpp:70:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Physics.cpp:71:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/physics/Physics.cpp:71:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Physics.cpp:72:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Physics.cpp:74:7: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Physics.cpp:74:7: warning: redundant explicit casting to the same type 'EERIE_BKG_INFO *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Physics.cpp:76:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Physics.cpp:86:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Physics.cpp:86:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Physics.cpp:86:25: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/physics/Physics.cpp:87:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Physics.cpp:90:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Physics.cpp:93:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Physics.cpp:100:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/physics/Physics.cpp:100:8: warning: redundant explicit casting to the same type 'EERIE_BKG_INFO *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/physics/Physics.cpp:102:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/physics/Physics.cpp:108:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Physics.cpp:109:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/physics/Physics.cpp:114:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/physics/Physics.h:52:33: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Physics.h:52:42: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/physics/Physics.h:52:51: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Architecture.h:23:9: warning: macro 'ARX_ARCH_UNKNOWN' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:24:9: warning: macro 'ARX_ARCH_X86_64' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:25:9: warning: macro 'ARX_ARCH_IA64' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:26:9: warning: macro 'ARX_ARCH_X86' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:27:9: warning: macro 'ARX_ARCH_ARM' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:28:9: warning: macro 'ARX_ARCH_ALPHA' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:29:9: warning: macro 'ARX_ARCH_M68K' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:30:9: warning: macro 'ARX_ARCH_MIPS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:31:9: warning: macro 'ARX_ARCH_POWERPC' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:32:9: warning: macro 'ARX_ARCH_SPARC' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:34:9: warning: macro 'ARX_ARCH_NAME_UNKNOWN' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:35:9: warning: macro 'ARX_ARCH_NAME_X86_64' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:36:9: warning: macro 'ARX_ARCH_NAME_IA64' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:37:9: warning: macro 'ARX_ARCH_NAME_X86' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:38:9: warning: macro 'ARX_ARCH_NAME_ARM' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:39:9: warning: macro 'ARX_ARCH_NAME_ALPHA' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:40:9: warning: macro 'ARX_ARCH_NAME_M68K' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:41:9: warning: macro 'ARX_ARCH_NAME_MIPS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:42:9: warning: macro 'ARX_ARCH_NAME_POWERPC' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Architecture.h:43:9: warning: macro 'ARX_ARCH_NAME_SPARC' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Compiler.h:29:10: warning: macro 'ARX_COMPILER_NAME' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/CrashHandler.cpp:23:1: warning: included header ResourcePath.h is not used directly [misc-include-cleaner] +Arx/src/platform/CrashHandler.cpp:24:1: warning: included header Logger.h is not used directly [misc-include-cleaner] +Arx/src/platform/CrashHandler.cpp:25:1: warning: included header Platform.h is not used directly [misc-include-cleaner] +Arx/src/platform/CrashHandler.cpp:37:8: warning: no header providing "CrashHandlerImpl" is directly included [misc-include-cleaner] +Arx/src/platform/CrashHandler.cpp:37:27: warning: variable 'gCrashHandlerImpl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/CrashHandler.cpp:37:27: warning: variable 'gCrashHandlerImpl' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/platform/CrashHandler.cpp:37:27: warning: variable 'gCrashHandlerImpl' 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.cpp:37:47: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/CrashHandler.cpp:38:12: warning: variable 'gCrashHandlerInitCount' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/CrashHandler.cpp:38:12: warning: variable 'gCrashHandlerInitCount' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/platform/CrashHandler.cpp:63:4: warning: variable 'initialized' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/platform/CrashHandler.cpp:66:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/CrashHandler.cpp:88:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/CrashHandler.cpp:95:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/CrashHandler.cpp:113:48: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/CrashHandler.cpp:137:37: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/platform/CrashHandler.h:53:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/CrashHandler.h:53:32: warning: redundant void argument list in typedef [modernize-redundant-void-arg] +Arx/src/platform/CrashHandler.h:55:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/platform/CrashHandler.h:96:21: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/CrashHandler.h:152:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Dialog.cpp:32:1: warning: included header wait.h is not used directly [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:35:1: warning: included header format.hpp is not used directly [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:80:13: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:80:20: warning: function 'escape' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:84:13: warning: function 'isAllowedInUrl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:84:33: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Dialog.cpp:85:10: warning: no header providing "isspace" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:88:13: warning: function 'closeLink' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:89:2: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Dialog.cpp:90:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:91: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:91: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:93: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:108:20: warning: function 'formatAsHtml' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:108:20: warning: function 'formatAsHtml' has cognitive complexity of 47 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/platform/Dialog.cpp:108:78: warning: parameter name 'ul' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Dialog.cpp:113:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/platform/Dialog.cpp:116:14: warning: no header providing "std::getline" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:118:10: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Dialog.cpp:140:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/platform/Dialog.cpp:142:10: warning: variable 'link_start' is not initialized [cppcoreguidelines-init-variables] +Arx/src/platform/Dialog.cpp:190:12: warning: function 'zenityCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:190:43: warning: 2 adjacent parameters of 'zenityCommand' of similar type ('const std::string &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/platform/Dialog.cpp:204:9: warning: no header providing "boost::format" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:204:24: warning: escaped string literal can be written as a raw string literal [modernize-raw-string-literal] +Arx/src/platform/Dialog.cpp:209:9: warning: calling 'system' uses a command processor [cert-env33-c] +Arx/src/platform/Dialog.cpp:209:9: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/Dialog.cpp:212:12: warning: function 'kdialogCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:212:44: warning: 2 adjacent parameters of 'kdialogCommand' of similar type ('const std::string &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/platform/Dialog.cpp:230:9: warning: calling 'system' uses a command processor [cert-env33-c] +Arx/src/platform/Dialog.cpp:230:9: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/Dialog.cpp:233:12: warning: function 'gxmessageCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:243:24: warning: escaped string literal can be written as a raw string literal [modernize-raw-string-literal] +Arx/src/platform/Dialog.cpp:248:9: warning: calling 'system' uses a command processor [cert-env33-c] +Arx/src/platform/Dialog.cpp:248:9: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/Dialog.cpp:251:12: warning: function 'xdialogCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:267:9: warning: calling 'system' uses a command processor [cert-env33-c] +Arx/src/platform/Dialog.cpp:267:9: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/Dialog.cpp:270:12: warning: function 'xmessageCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:270:45: warning: 2 adjacent parameters of 'xmessageCommand' of similar type ('const std::string &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/platform/Dialog.cpp:286:9: warning: calling 'system' uses a command processor [cert-env33-c] +Arx/src/platform/Dialog.cpp:286:9: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/Dialog.cpp:289:13: warning: function 'showDialog' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:289:13: warning: function 'showDialog' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/platform/Dialog.cpp:296:25: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/Dialog.cpp:297:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Dialog.cpp:297:40: warning: no header providing "strcasecmp" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:298:26: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/Dialog.cpp:298:56: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Dialog.cpp:299:26: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/Dialog.cpp:299:55: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Dialog.cpp:300:26: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/Dialog.cpp:300:59: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Dialog.cpp:302:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/Dialog.cpp:311:3: warning: variable 'exitCode' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Dialog.cpp:312:6: warning: no header providing "WIFEXITED" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:312:29: warning: no header providing "WEXITSTATUS" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:318:80: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/platform/Dialog.cpp:343:1: warning: namespace 'dialog' not terminated with a closing comment [llvm-namespace-comment] +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/Dialog.h:42:1: warning: namespace 'dialog' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/platform/Environment.cpp:23:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/src/platform/Environment.cpp:26:10: warning: inclusion of deprecated C++ header 'stdlib.h'; consider using 'cstdlib' instead [modernize-deprecated-headers] +Arx/src/platform/Environment.cpp:28:1: warning: included header scoped_array.hpp is not used directly [misc-include-cleaner] +Arx/src/platform/Environment.cpp:56:1: warning: included header String.h is not used directly [misc-include-cleaner] +Arx/src/platform/Environment.cpp:59:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:59:60: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Environment.cpp:63:12: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Environment.cpp:65:5: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/Environment.cpp:74:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/platform/Environment.cpp:235:21: warning: variable 'executablePath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Environment.cpp:235:21: warning: variable 'executablePath' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/platform/Environment.cpp:235:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Environment.cpp:244:13: warning: function 'try_readlink' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Environment.cpp:246:12: warning: narrowing conversion from 'ssize_t' (aka 'long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/Environment.cpp:247:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/platform/Environment.cpp:247:25: warning: no header providing "std::size_t" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:249:9: warning: narrowing conversion from 'ssize_t' (aka 'long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/Environment.cpp:294:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/platform/Environment.cpp:298:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/platform/Environment.cpp:302:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/platform/Environment.cpp:332:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Environment.cpp:342:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/platform/Environment.h:27: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/platform/Environment.h:33:60: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:32:7: warning: class 'Flags' defines a copy constructor and a copy assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions] +Arx/src/platform/Flags.h:34:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Flags.h:41:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Flags.h:43:17: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/platform/Flags.h:45:17: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/platform/Flags.h:45:28: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/platform/Flags.h:45:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Flags.h:47:22: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:53:2: warning: function 'has' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:53:2: warning: function 'has' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/platform/Flags.h:54:10: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/platform/Flags.h:54:25: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/platform/Flags.h:57:2: warning: function 'hasAll' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:57:2: warning: function 'hasAll' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/platform/Flags.h:57:27: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:61:2: warning: function 'except' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:61:2: warning: function 'except' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/platform/Flags.h:62:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:63:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/platform/Flags.h:67:2: warning: function 'remove' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:68:13: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/platform/Flags.h:71:2: warning: function 'operator unsigned int' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:71:9: warning: 'operator unsigned int' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/platform/Flags.h:75:2: warning: function 'operator~' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:76:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:81:2: warning: function 'operator!' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:85:2: warning: function 'operator&' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:85:31: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:86:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:91:2: warning: function 'operator|' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:91:31: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:92:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:97:2: warning: function 'operator^' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:97:31: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:98:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:103:2: warning: function 'operator&=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:103:42: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:108:2: warning: function 'operator|=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:108:34: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:113:2: warning: function 'operator^=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:113:34: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:118:2: warning: function 'operator&' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:119:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:120:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/platform/Flags.h:124:2: warning: function 'operator|' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:125:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:126:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/platform/Flags.h:130:2: warning: function 'operator^' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:131:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:132:21: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/platform/Flags.h:136:2: warning: function 'operator&=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:137:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/platform/Flags.h:141:2: warning: function 'operator|=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:142:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/platform/Flags.h:146:2: warning: function 'operator^=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:147:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/platform/Flags.h:151:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:151:33: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Flags.h:156:9: warning: function 'all' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Flags.h:157:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Flags.h:182:9: warning: function-like macro 'DECLARE_FLAGS' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Flags.h:182:59: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/platform/Flags.h:187:9: warning: function-like macro 'DECLARE_FLAGS_OPERATORS' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Flags.h:191:9: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/platform/Flags.h:206:9: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/platform/Lock.h:33: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/Lock.h:56:7: warning: class 'Autolock' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/platform/OS.cpp:40:10: warning: inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead [modernize-deprecated-headers] +Arx/src/platform/OS.cpp:46:1: warning: included header Architecture.h is not used directly [misc-include-cleaner] +Arx/src/platform/OS.cpp:146:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/OS.cpp:154:2: warning: uninitialized record type: 'uname_buf' [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/OS.cpp:172:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/platform/OS.cpp:192:2: warning: uninitialized record type: 'uname_buf' [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/OS.cpp:198:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/platform/OS.cpp:206:20: warning: function 'getOutputOf' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/OS.cpp:207:16: warning: calling 'popen' uses a command processor [cert-env33-c] +Arx/src/platform/OS.cpp:209:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/platform/OS.cpp:211:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/OS.cpp:214:6: warning: variable 'count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:238:20: warning: function 'parseDistributionName' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/OS.cpp:238:20: warning: function 'parseDistributionName' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/platform/OS.cpp:238:47: warning: no header providing "std::istream" is directly included [misc-include-cleaner] +Arx/src/platform/OS.cpp:238:57: warning: parameter name 'is' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/OS.cpp:239:48: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/OS.cpp:245:13: warning: no header providing "std::getline" is directly included [misc-include-cleaner] +Arx/src/platform/OS.cpp:253:3: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:260:3: warning: variable 'value' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:328:10: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/OS.cpp:342:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/OS.cpp:353:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/OS.cpp:393:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/platform/OS.cpp:401:2: warning: variable 'version_files' of type 'const char *[5][2]' can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:401:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/OS.cpp:420:10: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/OS.cpp:432:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/platform/Platform.cpp:22:10: warning: inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead [modernize-deprecated-headers] +Arx/src/platform/Platform.cpp:23:10: warning: inclusion of deprecated C++ header 'stdarg.h'; consider using 'cstdarg' instead [modernize-deprecated-headers] +Arx/src/platform/Platform.cpp:31:6: warning: do not define a C-style variadic function; consider using a function parameter pack or currying instead [cert-dcl50-cpp] +Arx/src/platform/Platform.cpp:38:15: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/Platform.cpp:40:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/Platform.cpp:43:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/platform/Platform.cpp:45:16: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/Platform.h:28:9: warning: function-like macro 'ARX_STR_HELPER' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:29:9: warning: function-like macro 'ARX_STR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:35:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/platform/Platform.h:35:9: warning: macro 'ARX_PLATFORM_UNKNOWN' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/platform/Platform.h:35:9: warning: macro 'ARX_PLATFORM_UNKNOWN' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:36:9: warning: macro 'ARX_PLATFORM_WIN32' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/platform/Platform.h:36:9: warning: macro 'ARX_PLATFORM_WIN32' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:37:9: warning: macro 'ARX_PLATFORM_LINUX' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/platform/Platform.h:37:9: warning: macro 'ARX_PLATFORM_LINUX' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:38:9: warning: macro 'ARX_PLATFORM_MACOSX' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/platform/Platform.h:38:9: warning: macro 'ARX_PLATFORM_MACOSX' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:39:9: warning: macro 'ARX_PLATFORM_BSD' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/platform/Platform.h:39:9: warning: macro 'ARX_PLATFORM_BSD' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:40:9: warning: macro 'ARX_PLATFORM_UNIX' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/platform/Platform.h:40:9: warning: macro 'ARX_PLATFORM_UNIX' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:65:9: warning: macro 'ARX_COMPILER_MSVC' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:99:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Platform.h:100:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Platform.h:102:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Platform.h:103:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Platform.h:105:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Platform.h:106:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Platform.h:108:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Platform.h:109:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Platform.h:113:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Platform.h:114:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Platform.h:127:10: warning: function-like macro 'ARX_DEBUG_BREAK' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:141:10: warning: variadic macro 'ARX_DISCARD' used; consider using a 'constexpr' variadic template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:157:9: warning: function-like macro 'ARX_FORMAT_PRINTF' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:171:6: warning: function 'assertionFailed' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/platform/Platform.h:172:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Platform.h:182:10: warning: variadic macro 'arx_assert_impl' used; consider using a 'constexpr' variadic template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:186:9: warning: variadic macro 'arx_assert_msg' used; consider using a 'constexpr' variadic template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:188:9: warning: function-like macro 'arx_assert' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:191:9: warning: variadic macro 'arx_error_msg' used; consider using a 'constexpr' variadic template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:192:9: warning: function-like macro 'arx_error' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:199:9: warning: function-like macro 'ARRAY_SIZE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:205:9: warning: function-like macro 'ARX_DEAD_CODE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:211:9: warning: function-like macro 'ARX_UNUSED' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Platform.h:211:31: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/platform/Platform.h:232:9: warning: use nullptr [modernize-use-nullptr] +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.cpp:31:72: warning: parameter name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/ProgramOptions.cpp:37:24: warning: 3 adjacent parameters of 'BaseOption' of similar type ('const char *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/platform/ProgramOptions.h:33:7: warning: destructor of 'BaseOption' is public and non-virtual [cppcoreguidelines-virtual-class-destructor] +Arx/src/platform/ProgramOptions.h:39:68: warning: parameter name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/ProgramOptions.h:47:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/ProgramOptions.h:54:72: warning: parameter name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/ProgramOptions.h:58:15: warning: member variable 'm_longName' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/ProgramOptions.h:59:15: warning: member variable 'm_shortName' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/ProgramOptions.h:60:15: warning: member variable 'm_description' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/ProgramOptions.h:65:7: warning: destructor of 'Option' is public and non-virtual [cppcoreguidelines-virtual-class-destructor] +Arx/src/platform/ProgramOptions.h:65:7: warning: destructor of 'Option &)>' is public and non-virtual [cppcoreguidelines-virtual-class-destructor] +Arx/src/platform/ProgramOptions.h:65:7: warning: destructor of 'Option)>' is public and non-virtual [cppcoreguidelines-virtual-class-destructor] +Arx/src/platform/ProgramOptions.h:74:15: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/platform/ProgramOptions.h:74:72: warning: parameter name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/ProgramOptions.h:93:9: warning: function-like macro 'UNIQUE_NAME' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/platform/ProgramOptions.h:106:10: warning: variadic macro 'ARX_PROGRAM_OPTION' used; consider using a 'constexpr' variadic template function [cppcoreguidelines-macro-usage] +Arx/src/platform/Thread.cpp:25:39: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:43:1: warning: constructor does not initialize these fields: thread, priority [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/Thread.cpp:53:2: warning: no header providing "pthread_attr_t" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:54:2: warning: no header providing "pthread_attr_init" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:56:2: warning: no header providing "sched_param" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:56:2: warning: uninitialized record type: 'param' [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/Thread.cpp:58:2: warning: no header providing "pthread_attr_setschedparam" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:60:2: warning: no header providing "pthread_create" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:60:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Thread.cpp:62:2: warning: no header providing "pthread_attr_destroy" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:70:2: warning: variable 'policy' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Thread.cpp:75:2: warning: variable 'min' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Thread.cpp:76:2: warning: variable 'max' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Thread.cpp:81:3: warning: uninitialized record type: 'param' [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/Thread.cpp:83:3: warning: no header providing "pthread_setschedparam" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:87:9: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/platform/Thread.cpp:89:14: warning: method 'waitForCompletion' can be made const [readability-make-member-function-const] +Arx/src/platform/Thread.cpp:91:3: warning: no header providing "pthread_join" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:91:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Thread.cpp:97:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/platform/Thread.cpp:97:22: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/platform/Thread.cpp:102:2: warning: no header providing "pthread_setname_np" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:121:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Thread.cpp:125:2: warning: no header providing "pthread_exit" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:125:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Thread.cpp:129:9: warning: no header providing "pthread_self" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:242:10: warning: inclusion of deprecated C++ header 'time.h'; consider using 'ctime' instead [modernize-deprecated-headers] +Arx/src/platform/Thread.cpp:246:2: warning: uninitialized record type: 't' [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/Thread.cpp:246:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Thread.cpp:248:14: warning: performing an implicit widening conversion to type '__syscall_slong_t' (aka 'long') of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/platform/Thread.cpp:250:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/Thread.h:30:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Thread.h:31:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/Thread.h:40: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:40:7: warning: class 'Thread' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/platform/Thread.h:48:7: warning: use default member initializer for 'started' [modernize-use-default-member-init] +Arx/src/platform/Thread.h:68: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/Thread.h:119:7: warning: use default member initializer for 'stopRequested' [modernize-use-default-member-init] +Arx/src/platform/Thread.h:125:2: warning: function 'stop' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Thread.h:131:2: warning: function 'isStopRequested' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/platform/Thread.h:131:14: warning: method 'isStopRequested' can be made const [readability-make-member-function-const] +Arx/src/platform/Time.cpp:30:10: warning: inclusion of deprecated C++ header 'time.h'; consider using 'ctime' instead [modernize-deprecated-headers] +Arx/src/platform/Time.cpp:32:16: warning: variable 'clock_id' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Time.cpp:32:16: warning: variable 'clock_id' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/platform/Time.cpp:32:27: warning: no header providing "CLOCK_REALTIME" is directly included [misc-include-cleaner] +Arx/src/platform/Time.cpp:37:2: warning: uninitialized record type: 'ts' [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/Time.cpp:37:18: warning: variable name 'ts' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Time.cpp:48:1: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/platform/Time.cpp:49:2: warning: uninitialized record type: 'ts' [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/Time.cpp:49:18: warning: variable name 'ts' is too short, expected at least 3 characters [readability-identifier-length] +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:50:16: warning: narrowing conversion from 'clock_t' (aka 'long') to signed type 'clockid_t' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/Time.cpp:54:1: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/src/platform/Time.cpp:55:2: warning: uninitialized record type: 'ts' [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/Time.cpp:55:18: warning: variable name 'ts' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/Time.cpp:56: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:56:16: warning: narrowing conversion from 'clock_t' (aka 'long') to signed type 'clockid_t' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/Time.h:76:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/platform/Time.h:76:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/platform/Time.h:76:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/platform/Time.h:86:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/platform/Time.h:87:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/platform/Time.h:91:1: warning: namespace 'Time' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:37:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:40:19: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:44:2: warning: no header providing "Autolock" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:44:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:83:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:95:25: warning: no header providing "getProcessId" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:95:62: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:99:83: warning: no header providing "boost::interprocess::create_only" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:99:145: warning: no header providing "boost::interprocess::read_write" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:102:34: warning: no header providing "CrashInfo" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:110:10: warning: catch handler catches by value; should catch by reference instead [misc-throw-by-value-catch-by-reference] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:110:31: warning: no header providing "boost::interprocess::interprocess_exception" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:120:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:127:2: warning: no header providing "strcpy" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:129:2: warning: no header providing "strncpy" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:138:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:141:3: warning: no header providing "LogError" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:151:6: warning: no header providing "strcmp" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:152:4: warning: no header providing "LogWarning" is directly included [misc-include-cleaner] +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:198:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:210:41: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:212:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:214:8: warning: no header providing "strlen" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:220:2: warning: variable 'location' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:221:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:225:17: warning: variable 'oldCrashes' is not initialized [cppcoreguidelines-init-variables] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:228:3: warning: variable 'folderPath' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:231:4: warning: variable 'crashManifestPath' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:239:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:245:33: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:247: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:253:46: warning: no header providing "CrashHandler" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:254:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:260:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:262:30: warning: no header providing "std::remove" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:56: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/CrashHandlerImpl.h:56:7: warning: class 'CrashHandlerImpl' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:86:14: warning: member variable 'm_CrashHandlerApp' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:87:11: warning: member variable 'm_CrashHandlerPath' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:90:44: warning: member variable 'm_SharedMemory' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:91:37: warning: member variable 'm_MemoryMappedRegion' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:94:14: warning: member variable 'm_SharedMemoryName' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:97:13: warning: member variable 'm_pCrashInfo' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:97:13: warning: use default member initializer for 'm_pCrashInfo' [modernize-use-default-member-init] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:100:7: warning: member variable 'm_Lock' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:103:43: warning: member variable 'm_crashCallbacks' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:35:10: warning: inclusion of deprecated C++ header 'signal.h'; consider using 'csignal' instead [modernize-deprecated-headers] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:36:10: warning: inclusion of deprecated C++ header 'string.h'; consider using 'cstring' instead [modernize-deprecated-headers] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:46:13: warning: function 'signalHandler' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:46:39: warning: no header providing "siginfo_t" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:47:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:51:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:53:13: warning: function 'registerSignalHandler' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:53:39: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:54:2: warning: uninitialized record type: 'handler' [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:61:13: warning: function 'unregisterSignalHandler' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:61:41: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:62:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:83:8: warning: accessing fields in struct 'PlatformCrashHandlers' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:93:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:95:67: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:102:6: warning: no header providing "CrashHandlerImpl" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:117:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:121:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:127:2: warning: variable 'exe' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:128:20: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:166:13: warning: function 'removeCrashHandlers' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:197:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:210:37: warning: 2 adjacent parameters of 'handleCrash' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:216:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:216:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:216:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:216:18: warning: no header providing "CrashHandler" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:239:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:262:56: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:267:2: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:267:2: warning: no header providing "exit" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:25: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:25:7: warning: class 'CrashHandlerPOSIX' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:30:10: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:32:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:34:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:35:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:46:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:47:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:48:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/platform/crashhandler/CrashInfo.h:40:8: warning: accessing fields in struct 'CrashInfoBase' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/platform/crashhandler/CrashInfo.h:42:7: warning: enum 'Constants' 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/platform/crashhandler/CrashInfo.h:52:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/crashhandler/CrashInfo.h:53:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/crashhandler/CrashInfo.h:59:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/crashhandler/CrashInfo.h:63:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/crashhandler/CrashInfo.h:63:9: warning: accessing fields in struct 'Variable' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/platform/crashhandler/CrashInfo.h:64:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/crashhandler/CrashInfo.h:65:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/crashhandler/CrashInfo.h:72:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/crashhandler/CrashInfo.h:79:8: warning: accessing fields in struct 'CrashInfo' is inefficient due to padding; only needs 1320 bytes but is using 22392 bytes [altera-struct-pack-align] +Arx/src/platform/crashhandler/CrashInfo.h:79:8: warning: accessing fields in struct 'CrashInfo' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/platform/crashhandler/CrashInfo.h:81:2: warning: constructor does not initialize these bases: CrashInfoBase [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/crashhandler/CrashInfo.h:81:2: warning: constructor does not initialize these fields: signal, code [cppcoreguidelines-pro-type-member-init] +Arx/src/platform/crashhandler/CrashInfo.h:81:2: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/platform/crashhandler/CrashInfo.h:86:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/platform/crashhandler/CrashInfo.h:87:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ChangeLevel.cpp:58:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:93:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:95:17: warning: variable 'CURRENT_TORCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:95:17: warning: variable 'CURRENT_TORCH' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:96:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:96:13: warning: variable 'GLOBAL_MAGIC_MODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:97:7: warning: variable 'FORCE_TIME_RESTORE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:98:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:98:14: warning: variable 'WILL_RESTORE_PLAYER_POSITION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:99:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:99:13: warning: variable 'WILL_RESTORE_PLAYER_POSITION_FLAG' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:100:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:100:13: warning: variable 'NO_GMOD_RESET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:102:14: warning: variable 'PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:103:14: warning: variable 'OLD_PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:104:14: warning: variable 'PROGRESS_BAR_TOTAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:105:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:105:13: warning: variable 'NO_PLAYER_POSITION_RESET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:106:14: warning: variable 'InventoryDir' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:107:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:107:13: warning: variable 'HERO_SHOW_1ST' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:108:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:108:13: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:109:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:109:13: warning: variable 'LOAD_N_DONT_ERASE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:110:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:110:13: warning: redundant 'FORBID_SCRIPT_IO_CREATION' declaration [readability-redundant-declaration] +Arx/src/scene/ChangeLevel.cpp:110:13: warning: variable 'FORBID_SCRIPT_IO_CREATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:111:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:111:13: warning: variable 'NO_TIME_INIT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:112:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:112:13: warning: variable 'CHANGE_LEVEL_ICON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:113:13: warning: variable 'TRUE_PLAYER_MOUSELOOK_ON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:114:12: warning: variable 'iTimeToDrawD7' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:115:14: warning: variable 'LastValidPlayerPos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:116:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/scene/ChangeLevel.cpp:116:9: warning: macro 'MAX_IO_SAVELOAD' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/scene/ChangeLevel.cpp:116:9: warning: macro 'MAX_IO_SAVELOAD' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/scene/ChangeLevel.cpp:118:13: warning: function 'ARX_CHANGELEVEL_Push_Index' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:118:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:119:13: warning: function 'ARX_CHANGELEVEL_PushLevel' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:119:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:119:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:120:13: warning: function 'ARX_CHANGELEVEL_PopLevel' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:120:13: warning: function 'ARX_CHANGELEVEL_PopLevel' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/scene/ChangeLevel.cpp:120:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:120:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:121:13: warning: function 'ARX_CHANGELEVEL_Push_Globals' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:122:13: warning: function 'ARX_CHANGELEVEL_Pop_Globals' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:123:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:123:13: warning: function 'ARX_CHANGELEVEL_Push_Player' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:123:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:124:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:124:13: warning: function 'ARX_CHANGELEVEL_Push_AllIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:124:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:125:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:125:13: warning: function 'ARX_CHANGELEVEL_Push_IO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:125:52: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:125:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:126:17: warning: function 'ARX_CHANGELEVEL_Pop_IO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:126:62: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:128:17: warning: initialization of 'CURRENT_GAME_FILE' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/ChangeLevel.cpp:128:17: warning: variable 'CURRENT_GAME_FILE' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:128:17: warning: variable 'CURRENT_GAME_FILE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:130:14: warning: variable 'ARX_CHANGELEVEL_DesiredTime' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:130:14: warning: variable 'ARX_CHANGELEVEL_DesiredTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:131:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:131:13: warning: variable 'CONVERT_CREATED' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:131:13: warning: variable 'CONVERT_CREATED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:132:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:132:6: warning: variable 'DONT_WANT_PLAYER_INZONE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:133:20: warning: variable 'pSaveBlock' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:133:20: warning: variable 'pSaveBlock' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:133:20: warning: variable 'pSaveBlock' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:133:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:135:35: warning: variable 'idx_io' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:135:35: warning: variable 'idx_io' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:135:35: warning: variable 'idx_io' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:135:44: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:136:47: warning: variable 'Gaids' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:136:47: warning: variable 'Gaids' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:136:47: warning: variable 'Gaids' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:136:55: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:138:17: warning: function 'convertToValidIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:143:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:146:2: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:151:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:151:2: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:151:7: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:162:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:166:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:169:39: warning: 'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead [cert-err34-c] +Arx/src/scene/ChangeLevel.cpp:169:39: warning: no header providing "atoi" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:173:17: warning: function 'ConvertToValidIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:173:17: warning: function 'ConvertToValidIO<64UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:173:40: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ChangeLevel.cpp:178:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:178:13: warning: function 'ReadTargetInfo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:178:13: warning: function 'ReadTargetInfo<64UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:178:34: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ChangeLevel.cpp:180:2: warning: variable 'ident' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:184:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/scene/ChangeLevel.cpp:189:12: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:190:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:190:24: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:190:32: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:194:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:194:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:194:39: warning: no header providing "ANIM_HANDLE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:200:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:200:22: warning: no header providing "MAX_ANIMS" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:226:20: warning: variable 'GLOBAL_pSaveB' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:226:20: warning: variable 'GLOBAL_pSaveB' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:226:20: warning: variable 'GLOBAL_pSaveB' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:226:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:252:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/scene/ChangeLevel.cpp:261:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:264:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:264:13: warning: variable 'JUST_RELOADED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:266:29: warning: 2 adjacent parameters of 'ARX_CHANGELEVEL_Change' of similar type ('const string &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/ChangeLevel.cpp:266:74: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:275:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:275:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:287:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:287:3: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:287:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:291:33: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/scene/ChangeLevel.cpp:295:44: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:305:2: warning: no header providing "assert" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:314:2: warning: 1st argument 'CURRENTLEVEL' (passed to 'num') looks like it might be swapped with the 2nd, 'num' (passed to 'newnum') [readability-suspicious-call-argument] +Arx/src/scene/ChangeLevel.cpp:320:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:329:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:329:2: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:329:7: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:333:32: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/scene/ChangeLevel.cpp:341:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:349:13: warning: function 'ARX_CHANGELEVEL_PushLevel' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:349:39: warning: 2 adjacent parameters of 'ARX_CHANGELEVEL_PushLevel' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/ChangeLevel.cpp:349:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:349:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:353:2: warning: no header providing "ARX_SCRIPT_EventStackExecuteAll" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:356:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:358:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:360:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:363:4: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:363:26: warning: no header providing "SM_INVENTORY2_CLOSE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:365:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:393:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:399:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:399:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:399:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:405:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:405:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:414:8: warning: no header providing "GLOBAL_MODS" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:414:20: warning: variable 'stacked' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:415:20: warning: redundant 'current' declaration [readability-redundant-declaration] +Arx/src/scene/ChangeLevel.cpp:415:20: warning: variable 'current' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:416:20: warning: redundant 'desired' declaration [readability-redundant-declaration] +Arx/src/scene/ChangeLevel.cpp:416:20: warning: variable 'desired' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:418:13: warning: function 'ARX_CHANGELEVEL_Push_Index' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:418:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:420:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:422:2: warning: uninitialized record type: 'asi' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/ChangeLevel.cpp:423:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:426:22: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:434:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:435:34: warning: no header providing "IO_NOSAVE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:442:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:443:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:444:25: warning: no header providing "TYP_SPECIAL1" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:449:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:449:19: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:456:15: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:460:28: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:461:2: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:465:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:469:4: warning: uninitialized record type: 'aii' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/ChangeLevel.cpp:471:4: warning: no header providing "strncpy" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:474:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:475:16: warning: narrowing conversion from 'long' to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:476:20: warning: narrowing conversion from 'long' to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:477:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:484:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:492:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:494:3: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:497:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:498:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:499:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:500:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:500:34: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:500:34: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:507:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ChangeLevel.cpp:508:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/scene/ChangeLevel.cpp:509:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:516:13: warning: function 'ARX_CHANGELEVEL_Push_Globals' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:516:13: warning: function 'ARX_CHANGELEVEL_Push_Globals' has cognitive complexity of 27 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/ChangeLevel.cpp:518:2: warning: uninitialized record type: 'acsg' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/ChangeLevel.cpp:519:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:522:20: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:522:20: warning: no header providing "NB_GLOBALS" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:525:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:525:2: warning: variable 'allocsize' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:525:19: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:532:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:532:7: warning: variable 'count' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:533:2: warning: uninitialized record type: 'avs' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/ChangeLevel.cpp:535:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:537:11: warning: no header providing "svar" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:539:9: warning: no header providing "TYPE_G_TEXT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:543:6: warning: no header providing "strcpy" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:545:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:546:15: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:546:15: warning: no header providing "strlen" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:547:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:550:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:555:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:558:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:558:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:560:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:564:9: warning: no header providing "TYPE_G_LONG" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:569:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:574:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:578:9: warning: no header providing "TYPE_G_FLOAT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:588:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:604:18: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ChangeLevel.cpp:604:52: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:607:3: warning: no header providing "BOOST_STATIC_ASSERT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:611:3: warning: variable 'ident' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:613:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:618:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:618:13: warning: variable 'sp_max' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:619:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:619:13: warning: variable 'cur_rf' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:620:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:620:13: warning: variable 'cur_mx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:621:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:621:13: warning: variable 'cur_mr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:622:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:622:13: warning: variable 'cur_pom' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:623:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:623:13: warning: variable 'sp_wep' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:624:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:624:13: warning: variable 'sp_arm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:626:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:626:13: warning: function 'ARX_CHANGELEVEL_Push_Player' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:626:13: warning: function 'ARX_CHANGELEVEL_Push_Player' has cognitive complexity of 34 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/ChangeLevel.cpp:626:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:628:27: warning: variable 'asp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:630:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:631:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:632:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:633:15: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:637:8: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:637:8: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:639:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:644:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:652:26: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:656:21: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:658:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:660:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:663:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:665:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:668:27: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:669:27: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:677:7: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:680:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:681:14: warning: loop variable name 'm' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:682:15: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:684:41: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:692:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:693:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:698:23: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:706:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:709:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:718:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:721:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:724:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:727:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:730:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:733:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:736:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:756:14: warning: 'signed char' to 's32' (aka 'int') conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/scene/ChangeLevel.cpp:758:12: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:759: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:760: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:761:27: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:762:23: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:770:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:776:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:779:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:781:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:785:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:788:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:792:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:794:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:799:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:819:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:819:13: warning: function 'ARX_CHANGELEVEL_Push_AllIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:819:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:823:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:836:17: warning: function 'GetObjIOSource' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:839:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:842:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:850:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:854:21: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ChangeLevel.cpp:854:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:858:29: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/ChangeLevel.cpp:869:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:869:13: warning: function 'ARX_CHANGELEVEL_Push_IO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:869:13: warning: function 'ARX_CHANGELEVEL_Push_IO' has cognitive complexity of 157 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/ChangeLevel.cpp:869:52: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:869:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:877:2: warning: variable 'savefile' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:880:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:880:7: warning: variable 'type' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:881:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:881:7: warning: variable 'struct_size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:882:19: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:885:27: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:888:27: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:891:27: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:900:2: warning: uninitialized record type: 'ais' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/ChangeLevel.cpp:905:24: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:909:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:910:16: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:912:21: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:914:64: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:915:18: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:921:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:935:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:936:21: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:939:30: warning: narrowing conversion from 'long' to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:940:19: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:942:18: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:945:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:956: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:957:21: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:970:26: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:972:44: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:975:24: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:992:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:996:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:1007:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1007:13: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1009:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1009:23: warning: redundant explicit casting to the same type 'EERIE_3DOBJ *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/ChangeLevel.cpp:1009:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1013:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1013:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1015:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1017:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1019:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1019:23: warning: redundant explicit casting to the same type 'EERIE_3DOBJ *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/ChangeLevel.cpp:1021:37: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1022:35: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1023:36: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1036:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1051:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1057:7: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1058:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1058:22: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1059:31: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1060:32: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1064:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1074:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1076:22: warning: no header providing "MAX_TIMER_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1078:7: warning: no header providing "scr_timer" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1087:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1089:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1089:2: warning: variable 'allocsize' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1090:3: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1104:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1107: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:1111:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1111:2: warning: variable 'timm' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1111:14: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1111:14: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1111:15: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1119:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1119:41: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1119:41: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1121:21: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1122:18: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1124:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1126:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1128:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1130:16: warning: narrowing conversion from 'unsigned long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1132:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/ChangeLevel.cpp:1132:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1135:18: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1142:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1142:38: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1142:38: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1143:21: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1145:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1150:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1150:41: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1150:41: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1152:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1152:8: warning: variable 'count' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1156:9: warning: no header providing "TYPE_L_TEXT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1162:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1163:15: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1164:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1167:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1178:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1178:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1180:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1184:9: warning: no header providing "TYPE_L_LONG" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1189:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1193:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1197:9: warning: no header providing "TYPE_L_FLOAT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1206:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1216:8: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1216:8: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1217:21: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1219:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1224:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1224:41: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1224:41: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1226:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1226:8: warning: variable 'count' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1236:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1237:15: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1238:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1241:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1252:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1252:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1254:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1263:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1267:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1280:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1289:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/scene/ChangeLevel.cpp:1289:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/scene/ChangeLevel.cpp:1292:34: warning: variable 'as' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1292:34: warning: variable name 'as' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1293:9: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1293:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1300:23: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1302:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1304:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1305:24: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1321:24: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1323:18: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1325:23: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1326:21: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1327:18: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1330:9: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1349:23: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1350:19: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1353:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1354:31: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1355:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1368:35: warning: variable 'ai' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1368:35: warning: variable name 'ai' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1369:9: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1369:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1371:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1386:34: warning: variable 'af' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1386:34: warning: variable name 'af' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1387:9: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1387:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1393:37: warning: variable 'ac' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1393:37: warning: variable name 'ac' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1394:9: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1394:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1399:37: warning: variable 'am' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1399:37: warning: variable name 'am' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1400:9: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1400:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1408:41: warning: variable 'aids' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1409:10: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1409:10: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1411:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1411:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/ChangeLevel.cpp:1411:8: warning: variable 'm' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1411:8: warning: variable name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1411:11: warning: variable 'n' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1411:11: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1415:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1416:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1418:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1423:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1425:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:1428:29: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1440:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:1440:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1440:11: warning: no header providing "std::set" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1441:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1446:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:1446:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1446:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1446:18: warning: no header providing "TWEAK_INFO" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1447:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1463:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1463:13: warning: function 'ARX_CHANGELEVEL_Pop_Index' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:1463:68: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1467:20: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1472:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1488:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:1500:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1508:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1508:70: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1510:20: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1512:2: warning: variable 'loadfile' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1514:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1531:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1534:14: warning: variable name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1547:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1550:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1552:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:1553:18: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1569:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1569:61: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1571:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ChangeLevel.cpp:1573:2: warning: variable 'levelFile' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1598:5: warning: no header providing "ARX_SCRIPT_Reset" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1607:3: warning: no header providing "EERIE_ANIMMANAGER_PurgeUnused" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1629:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1629:13: warning: function 'ARX_CHANGELEVEL_Pop_Player' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:1629:13: warning: function 'ARX_CHANGELEVEL_Pop_Player' has cognitive complexity of 41 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/ChangeLevel.cpp:1633:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1647:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1683:7: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1773:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1776:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:1777:4: warning: no header providing "ReleaseAnimFromIO" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1777:27: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1780:18: warning: no header providing "EERIE_ANIMMANAGER_Load" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1787:14: warning: loop variable name 'm' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1788:16: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1795:19: 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/ChangeLevel.cpp:1822:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1845:12: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1846:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:1846:37: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1846:45: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1860:13: warning: function 'loadScriptVariables' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:1860:51: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1860:93: warning: no header providing "VariableType" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1862:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1864:41: warning: variable 'avs' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1868:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1875:16: warning: variable 'type' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1877:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1891:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1891:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1896:19: warning: no header providing "strdup" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1901:19: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1912:13: warning: function 'loadScriptData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:1914:38: warning: variable 'ass' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:1921:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:1923:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1923:17: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:1923:31: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/ChangeLevel.cpp:1923:31: warning: no header providing "malloc" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1931:17: warning: function 'ARX_CHANGELEVEL_Pop_IO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:1931:17: warning: function 'ARX_CHANGELEVEL_Pop_IO' has cognitive complexity of 107 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/ChangeLevel.cpp:1931:62: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1939:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:1944:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:1950:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:1953:18: warning: no header providing "SHOW_FLAG_DESTROYED" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1955:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:1960:31: warning: no header providing "isalpha" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1965:3: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1973:2: warning: variable 'classPath' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1974:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:1974:40: warning: narrowing conversion from 'long' to signed type 'EntityInstance' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1980:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:1980:3: warning: variable 'Gaids_Number' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1980:23: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:2002:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2002:19: warning: no header providing "Material" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2006:14: warning: no header providing "EntityVisilibity" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2023:3: warning: variable 'nb_iogroups' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2034:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2034:39: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:2034:55: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/ChangeLevel.cpp:2056:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2058:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2088:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2090:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2092:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2092:9: warning: variable name 'nn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2092:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2092:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2094:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2103:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2103:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2105:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2118:3: warning: no header providing "ARX_SCRIPT_Timer_Clear_By_IO" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2122:40: warning: variable 'ats' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:2126:4: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2126:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:2126:4: warning: variable 'sFlags' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2126:38: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2128:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2128:4: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2128:15: warning: no header providing "ARX_SCRIPT_Timer_GetFree" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2133:4: warning: no header providing "ActiveTimers" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2149:4: warning: variable 'tt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2149:10: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2149:45: warning: narrowing conversion from 's32' (aka 'int') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:2153:45: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2162:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2164:5: warning: no header providing "SendInitScriptEvent" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2170: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:2174:41: warning: variable 'as' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:2174:41: warning: variable name 'as' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2198:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2209:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2228:5: warning: undefined behavior, destination object type 'IO_PATHFIND' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/ChangeLevel.cpp:2233:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2234:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2234:33: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:2234:55: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/ChangeLevel.cpp:2246:42: warning: variable 'ai' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:2246:42: warning: variable name 'ai' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2258:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2260:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2260:33: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:2260:34: warning: no header providing "IO_EQUIPITEM" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2260:49: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/ChangeLevel.cpp:2268:41: warning: variable 'af' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:2268:41: warning: variable name 'af' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2276:44: warning: variable 'ac' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:2276:44: warning: variable name 'ac' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2295:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2296:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2296:21: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:2296:39: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/ChangeLevel.cpp:2301:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2307:27: warning: no header providing "IO_TWEAKER_INFO" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2310:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:2320:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:2326:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:2327:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:2344:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2344:23: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:2344:39: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/ChangeLevel.cpp:2346:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2346:14: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2352:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2353:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2358:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2358:3: warning: variable 'hidegore' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2369:13: warning: function 'ARX_CHANGELEVEL_PopAllIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2373:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2379:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2393:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2393:35: warning: no header providing "EERIE_CYLINDER" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2395:13: warning: function 'ARX_CHANGELEVEL_PopAllIO_FINISH' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2395:13: warning: function 'ARX_CHANGELEVEL_PopAllIO_FINISH' has cognitive complexity of 130 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/ChangeLevel.cpp:2395:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2400:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2405:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2427:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2427:15: warning: loop variable name 'm' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2428:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2428:16: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2429:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2434:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2434:15: warning: loop variable name 'm' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2435:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2435:16: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2445:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2445:14: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/ChangeLevel.cpp:2470:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2482:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:2488:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2489:45: warning: no header providing "SM_RELOAD" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2507:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:2514:45: warning: no header providing "SM_INIT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2522:45: warning: no header providing "SM_INITEND" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2532:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/ChangeLevel.cpp:2550:13: warning: function 'ARX_CHANGELEVEL_Pop_Globals' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2552:2: warning: no header providing "ARX_SCRIPT_Free_All_Global_Variables" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2554:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:2563:39: warning: variable 'acsg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:2575:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2575:10: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/ChangeLevel.cpp:2575:24: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/ChangeLevel.cpp:2581:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2589:13: warning: function 'ReleaseGaids' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2595:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2598:13: warning: function 'ARX_CHANGELEVEL_PopLevel_Abort' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2600:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2604:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2610:13: warning: function 'ARX_CHANGELEVEL_PopLevel' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2610:38: warning: 2 adjacent parameters of 'ARX_CHANGELEVEL_PopLevel' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/ChangeLevel.cpp:2610:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2610:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2621:9: warning: multilevel pointer conversion from 'ARX_CHANGELEVEL_INVENTORY_DATA_SAVE **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/ChangeLevel.cpp:2621:19: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/scene/ChangeLevel.cpp:2623:2: warning: uninitialized record type: 'asi' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/ChangeLevel.cpp:2644:7: warning: variable 'firstTime' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:2694:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2694:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:2694:3: warning: variable 'ulDTime' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2694:46: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2695:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2751:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2758:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2816:2: warning: uninitialized record type: 'pld' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/ChangeLevel.cpp:2818:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:2832:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2845:13: warning: function 'ARX_CHANGELEVEL_Get_Player_LevelData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2853:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/ChangeLevel.cpp:2875:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2875:13: warning: variable 'STARTED_A_GAME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/ChangeLevel.cpp:2877:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2901:2: warning: uninitialized record type: 'pld' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/ChangeLevel.cpp:2906:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/ChangeLevel.cpp:2906:3: warning: variable 'fPldTime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2926:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/ChangeLevel.cpp:2926:68: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/ChangeLevel.cpp:2934:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2934:72: warning: 3 adjacent parameters of 'ARX_CHANGELEVEL_GetInfo' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/ChangeLevel.cpp:2935:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2935:44: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/ChangeLevel.cpp:2937:2: warning: uninitialized record type: 'pld' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/ChangeLevel.cpp:2946:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/scene/ChangeLevel.h:54:84: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.h:56:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.h:56:94: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/ChangeLevel.h:56:108: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/ChangeLevel.h:61:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/CinematicSound.cpp:46:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/scene/CinematicSound.cpp:49:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/scene/CinematicSound.cpp:54:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/scene/CinematicSound.cpp:60:8: warning: accessing fields in struct 'CinematicSound' is inefficient due to padding; only needs 38 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/scene/CinematicSound.cpp:60:8: warning: accessing fields in struct 'CinematicSound' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/CinematicSound.cpp:65:7: warning: use default member initializer for 'exists' [modernize-use-default-member-init] +Arx/src/scene/CinematicSound.cpp:66:7: warning: use default member initializer for 'isSpeech' [modernize-use-default-member-init] +Arx/src/scene/CinematicSound.cpp:72:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/CinematicSound.cpp:72:23: warning: 'TabSound' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/scene/CinematicSound.cpp:72:23: warning: initialization of 'TabSound' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/CinematicSound.cpp:72:23: warning: variable 'TabSound' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/CinematicSound.cpp:76:25: warning: function 'GetFreeSound' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/CinematicSound.cpp:78:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/CinematicSound.cpp:78:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/scene/CinematicSound.cpp:78:24: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/src/scene/CinematicSound.cpp:84:9: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/scene/CinematicSound.cpp:84:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/CinematicSound.cpp:87:13: warning: function 'DeleteFreeSound' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/CinematicSound.cpp:100:21: warning: redundant void argument list in function definition [modernize-redundant-void-arg] +Arx/src/scene/CinematicSound.cpp:103:19: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/CinematicSound.cpp:109:19: warning: variable name 'cs' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/CinematicSound.cpp:122:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/CinematicSound.cpp:126:19: warning: variable name 'cs' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/CinematicSound.cpp:130:14: warning: narrowing conversion from 'long' to signed type 'audio::SourceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/CinematicSound.cpp:137:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/GameSound.cpp:81:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:87:14: warning: no header providing "audio::AmbianceId" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:88:14: warning: no header providing "audio::SampleId" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:89:14: warning: no header providing "audio::SourceId" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:90:14: warning: no header providing "audio::EnvId" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:91:14: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:92:14: warning: no header providing "audio::FLAG_VOLUME" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:93:14: warning: no header providing "audio::FLAG_POSITION" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:94:14: warning: no header providing "audio::FLAG_REVERBERATION" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:95:14: warning: no header providing "audio::FLAG_FALLOFF" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:96:14: warning: no header providing "audio::FLAG_PITCH" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:97:14: warning: no header providing "audio::FLAG_RELATIVE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:98:14: warning: no header providing "audio::FLAG_AUTOFREE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:100:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:100:13: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:101:17: warning: variable 'CAMERACONTROLLER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:101:17: warning: variable 'CAMERACONTROLLER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:104: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/scene/GameSound.cpp:111:8: warning: accessing fields in struct 'PlayingAmbiance' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/GameSound.cpp:112:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/GameSound.cpp:118:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:119:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:120:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:121:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:122:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:123:42: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:124:45: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:125:48: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:127:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:128:46: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:130:24: warning: initialization of 'ARX_SOUND_PATH_INI' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/GameSound.cpp:131:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/GameSound.cpp:132:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/GameSound.cpp:133:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/GameSound.cpp:134:24: warning: initialization of 'ARX_SOUND_PRESENCE_NAME' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/GameSound.cpp:135:21: warning: initialization of 'ARX_SOUND_FILE_EXTENSION_WAV' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/GameSound.cpp:136:21: warning: initialization of 'ARX_SOUND_FILE_EXTENSION_INI' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/GameSound.cpp:138:14: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:139:14: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/GameSound.cpp:139:24: warning: initialization of 'ARX_SOUND_COLLISION_MAP_NAMES' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/GameSound.cpp:145:13: warning: variable 'bIsActive' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:145:13: warning: variable 'bIsActive' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:148:19: warning: variable 'ambiance_zone' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:148:19: warning: variable 'ambiance_zone' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:149:19: warning: variable 'ambiance_menu' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:149:19: warning: variable 'ambiance_menu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:151:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:151:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/GameSound.cpp:151:13: warning: variable 'Inter_Materials' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:151:13: warning: variable 'Inter_Materials' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:155:8: warning: accessing fields in struct 'SoundMaterial' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/GameSound.cpp:155:8: warning: class 'SoundMaterial' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/scene/GameSound.cpp:157:19: warning: member variable 'variants' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/scene/GameSound.cpp:162:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/GameSound.cpp:162:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/GameSound.cpp:169:3: warning: variable 'sample' of type 'SampleId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:176:9: warning: use default member initializer for 'current' [modernize-use-default-member-init] +Arx/src/scene/GameSound.cpp:180:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/scene/GameSound.cpp:181:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/scene/GameSound.cpp:182:22: warning: 'collisionMaps' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/scene/GameSound.cpp:182:22: warning: variable 'collisionMaps' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:185:21: warning: 'presence' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/scene/GameSound.cpp:185:21: warning: initialization of 'presence' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/GameSound.cpp:188:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/scene/GameSound.cpp:189:24: warning: 'presence' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] +Arx/src/scene/GameSound.cpp:189:24: warning: variable 'presence' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:191:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/scene/GameSound.cpp:195:10: warning: variable 'ARX_SOUND_MixerGame' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:196:10: warning: variable 'ARX_SOUND_MixerGameSample' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:197:10: warning: variable 'ARX_SOUND_MixerGameSpeech' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:198:10: warning: variable 'ARX_SOUND_MixerGameAmbiance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:199:10: warning: variable 'ARX_SOUND_MixerMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:200:10: warning: variable 'ARX_SOUND_MixerMenuSample' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:201:10: warning: variable 'ARX_SOUND_MixerMenuSpeech' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:202:10: warning: variable 'ARX_SOUND_MixerMenuAmbiance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:205:10: warning: variable 'SND_MENU_CLICK' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:206:10: warning: variable 'SND_MENU_RELEASE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:209:10: warning: variable 'SND_BACKPACK' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:210:10: warning: variable 'SND_BOOK_OPEN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:211:10: warning: variable 'SND_BOOK_CLOSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:212:10: warning: variable 'SND_BOOK_PAGE_TURN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:213:10: warning: variable 'SND_GOLD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:214:10: warning: variable 'SND_INVSTD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:215:10: warning: variable 'SND_SCROLL_OPEN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:216:10: warning: variable 'SND_SCROLL_CLOSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:217:10: warning: variable 'SND_TORCH_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:218:10: warning: variable 'SND_TORCH_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:219:10: warning: variable 'SND_TORCH_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:222:10: warning: variable 'SND_FIREPLACE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:223:10: warning: variable 'SND_PLOUF' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:224:10: warning: variable 'SND_QUAKE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:225:10: warning: variable 'SND_WHOOSH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:228:10: warning: variable 'SND_PLAYER_DEATH_BY_FIRE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:230:10: warning: variable 'SND_PLAYER_FILLLIFEMANA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:231:10: warning: variable 'SND_PLAYER_HEART_BEAT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:232:10: warning: variable 'SND_PLAYER_LEVEL_UP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:233:10: warning: variable 'SND_PLAYER_POISONED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:236:10: warning: variable 'SND_MAGIC_AMBIENT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:237:10: warning: variable 'SND_MAGIC_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:238:10: warning: variable 'SND_MAGIC_FIZZLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:241:10: warning: variable 'SND_SYMB_AAM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:242:10: warning: variable 'SND_SYMB_CETRIUS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:243:10: warning: variable 'SND_SYMB_COSUM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:244:10: warning: variable 'SND_SYMB_COMUNICATUM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:245:10: warning: variable 'SND_SYMB_FOLGORA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:246:10: warning: variable 'SND_SYMB_FRIDD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:247:10: warning: variable 'SND_SYMB_KAOM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:248:10: warning: variable 'SND_SYMB_MEGA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:249:10: warning: variable 'SND_SYMB_MORTE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:250:10: warning: variable 'SND_SYMB_MOVIS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:251:10: warning: variable 'SND_SYMB_NHI' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:252:10: warning: variable 'SND_SYMB_RHAA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:253:10: warning: variable 'SND_SYMB_SPACIUM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:254:10: warning: variable 'SND_SYMB_STREGUM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:255:10: warning: variable 'SND_SYMB_TAAR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:256:10: warning: variable 'SND_SYMB_TEMPUS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:257:10: warning: variable 'SND_SYMB_TERA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:258:10: warning: variable 'SND_SYMB_VISTA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:259:10: warning: variable 'SND_SYMB_VITAE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:260:10: warning: variable 'SND_SYMB_YOK' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:263:10: warning: variable 'SND_SPELL_ACTIVATE_PORTAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:264:10: warning: variable 'SND_SPELL_ARMOR_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:265:10: warning: variable 'SND_SPELL_ARMOR_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:266:10: warning: variable 'SND_SPELL_ARMOR_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:267:10: warning: variable 'SND_SPELL_LOWER_ARMOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:268:10: warning: variable 'SND_SPELL_BLESS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:269:10: warning: variable 'SND_SPELL_COLD_PROTECTION_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:270:10: warning: variable 'SND_SPELL_COLD_PROTECTION_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:271:10: warning: variable 'SND_SPELL_COLD_PROTECTION_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:272:10: warning: variable 'SND_SPELL_CONFUSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:273:10: warning: variable 'SND_SPELL_CONTROL_TARGET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:274:10: warning: variable 'SND_SPELL_CREATE_FIELD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:275:10: warning: variable 'SND_SPELL_CREATE_FOOD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:276:10: warning: variable 'SND_SPELL_CURE_POISON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:277:10: warning: variable 'SND_SPELL_CURSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:278:10: warning: variable 'SND_SPELL_DETECT_TRAP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:279:10: warning: variable 'SND_SPELL_DETECT_TRAP_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:280:10: warning: variable 'SND_SPELL_DISARM_TRAP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:281:10: warning: variable 'SND_SPELL_DISPELL_FIELD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:282:10: warning: variable 'SND_SPELL_DISPELL_ILLUSION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:283:10: warning: variable 'SND_SPELL_DOUSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:284:10: warning: variable 'SND_SPELL_ELECTRIC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:285:10: warning: variable 'SND_SPELL_ENCHANT_WEAPON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:286:10: warning: variable 'SND_SPELL_EXPLOSION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:287:10: warning: variable 'SND_SPELL_EYEBALL_IN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:288:10: warning: variable 'SND_SPELL_EYEBALL_OUT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:289:10: warning: variable 'SND_SPELL_FIRE_FIELD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:290:10: warning: variable 'SND_SPELL_FIRE_HIT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:291:10: warning: variable 'SND_SPELL_FIRE_LAUNCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:292:10: warning: variable 'SND_SPELL_FIRE_PROTECTION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:293:10: warning: variable 'SND_SPELL_FIRE_PROTECTION_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:294:10: warning: variable 'SND_SPELL_FIRE_PROTECTION_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:295:10: warning: variable 'SND_SPELL_FIRE_WIND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:296:10: warning: variable 'SND_SPELL_FREEZETIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:297:10: warning: variable 'SND_SPELL_HARM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:298:10: warning: variable 'SND_SPELL_HEALING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:299:10: warning: variable 'SND_SPELL_ICE_FIELD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:300:10: warning: variable 'SND_SPELL_ICE_FIELD_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:301:10: warning: variable 'SND_SPELL_ICE_FIELD_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:302:10: warning: variable 'SND_SPELL_ICE_PROJECTILE_LAUNCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:303:10: warning: variable 'SND_SPELL_INCINERATE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:304:10: warning: variable 'SND_SPELL_INCINERATE_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:305:10: warning: variable 'SND_SPELL_INCINERATE_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:306:10: warning: variable 'SND_SPELL_IGNITE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:307:10: warning: variable 'SND_SPELL_INVISIBILITY_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:308:10: warning: variable 'SND_SPELL_INVISIBILITY_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:309:10: warning: variable 'SND_SPELL_LEVITATE_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:310:10: warning: variable 'SND_SPELL_LIGHTNING_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:311:10: warning: variable 'SND_SPELL_LIGHTNING_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:312:10: warning: variable 'SND_SPELL_LIGHTNING_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:313:10: warning: variable 'SND_SPELL_MAGICAL_HIT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:316:10: warning: variable 'SND_SPELL_FIRE_FIELD_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:317:10: warning: variable 'SND_SPELL_FIRE_FIELD_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:318:10: warning: variable 'SND_SPELL_FIRE_FIELD_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:321:10: warning: variable 'SND_SPELL_MAGICAL_SHIELD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:322:10: warning: variable 'SND_SPELL_MASS_INCINERATE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:323:10: warning: variable 'SND_SPELL_MASS_PARALYSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:324:10: warning: variable 'SND_SPELL_MM_CREATE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:325:10: warning: variable 'SND_SPELL_MM_HIT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:326:10: warning: variable 'SND_SPELL_MM_LAUNCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:327:10: warning: variable 'SND_SPELL_MM_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:328:10: warning: variable 'SND_SPELL_NEGATE_MAGIC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:329:10: warning: variable 'SND_SPELL_NO_EFFECT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:330:10: warning: variable 'SND_SPELL_PARALYSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:331:10: warning: variable 'SND_SPELL_PARALYSE_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:332:10: warning: variable 'SND_SPELL_POISON_PROJECTILE_LAUNCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:333:10: warning: variable 'SND_SPELL_RAISE_DEAD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:334:10: warning: variable 'SND_SPELL_REPEL_UNDEAD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:335:10: warning: variable 'SND_SPELL_REPEL_UNDEAD_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:336:10: warning: variable 'SND_SPELL_RUNE_OF_GUARDING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:337:10: warning: variable 'SND_SPELL_RUNE_OF_GUARDING_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:338:10: warning: variable 'SND_SPELL_SLOW_DOWN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:339:10: warning: variable 'SND_SPELL_SPARK' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:340:10: warning: variable 'SND_SPELL_SPEED_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:341:10: warning: variable 'SND_SPELL_SPEED_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:342:10: warning: variable 'SND_SPELL_SPEED_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:343:10: warning: variable 'SND_SPELL_SUMMON_CREATURE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:344:10: warning: variable 'SND_SPELL_TELEKINESIS_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:345:10: warning: variable 'SND_SPELL_TELEKINESIS_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:346:10: warning: variable 'SND_SPELL_TELEPORT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:347:10: warning: variable 'SND_SPELL_TELEPORTED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:348:10: warning: variable 'SND_SPELL_VISION_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:349:10: warning: variable 'SND_SPELL_VISION_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:351:13: warning: function 'ARX_SOUND_EnvironmentSet' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:352:13: warning: function 'ARX_SOUND_CreateEnvironments' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:353:13: warning: function 'ARX_SOUND_CreateStaticSamples' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:354:13: warning: function 'ARX_SOUND_ReleaseStaticSamples' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:355:13: warning: function 'ARX_SOUND_LoadCollision' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:355:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:355:62: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:356:13: warning: function 'ARX_SOUND_CreateCollisionMaps' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:357:13: warning: function 'ARX_SOUND_CreateMaterials' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:358:13: warning: function 'ARX_SOUND_CreatePresenceMap' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:359:14: warning: function 'GetSamplePresenceFactor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:360:13: warning: function 'ARX_SOUND_LaunchUpdateThread' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:361:13: warning: function 'ARX_SOUND_KillUpdateThread' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:365:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:456:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:461:38: warning: no header providing "audio::MixerId" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:485:28: warning: 2 adjacent parameters of 'ARX_SOUND_MixerSwitch' of similar type ('audio::MixerId') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/GameSound.cpp:485:64: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:491:28: warning: 2 adjacent parameters of 'ARX_SOUND_SetListener' of similar type ('const Vec3f *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/GameSound.cpp:491:34: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:491:87: warning: parameter name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:501:3: warning: variable 'e_id' of type 'EnvId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:509:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:515:9: warning: no header providing "audio::Channel" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:516:8: warning: variable 'presence' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:520:19: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:523:6: warning: no header providing "ACTIVECAM" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:523:19: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:534:14: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:552:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:554:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:560:19: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:562:15: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:562:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:569:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:571:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:577:19: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:579:15: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:579:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:587:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:589:23: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/GameSound.cpp:589:29: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:589:37: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:589:64: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:590:23: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:591:23: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/GameSound.cpp:591:64: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:593:30: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/GameSound.cpp:593:78: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:594:30: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:595:30: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/GameSound.cpp:595:78: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:601:18: warning: function 'speechFileName' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:605:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:605:66: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:607:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:610:11: warning: variable 'sample_id' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:626:26: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:626:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:637:21: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:655:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:655:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:655:41: warning: 3 adjacent parameters of 'ARX_SOUND_PlayCollision' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/GameSound.cpp:655:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:657:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:659:14: warning: no header providing "MATERIAL_NONE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:659:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:661:14: warning: no header providing "MATERIAL_WATER" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:661:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:664:11: warning: variable 'sample_id' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:666:14: warning: narrowing conversion from 'long' to signed type 'SampleId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/GameSound.cpp:668:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:671:8: warning: variable 'presence' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:685:91: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:698:18: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:698:25: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:702:9: warning: variable 'length' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:705:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/GameSound.cpp:705:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:705:32: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/GameSound.cpp:708:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:708:74: warning: 2 adjacent parameters of 'ARX_SOUND_PlayCollision' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/GameSound.cpp:722:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/GameSound.cpp:722: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:722:26: warning: variable name 'mi' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:728:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/GameSound.cpp:728: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:728:25: warning: variable name 'ci' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:743:2: warning: variable 'presence' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:752:19: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:763:9: warning: variable 'length' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:766:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/GameSound.cpp:766:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:766:32: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/GameSound.cpp:769:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:769:66: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:776:11: warning: variable 'sample_id' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:786:19: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:803:14: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:813:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:815:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:821:19: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:830:3: warning: variable 'presence' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:841:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:855:39: warning: overloaded operator has equivalent nested operands [misc-redundant-expression] +Arx/src/scene/GameSound.cpp:861:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/GameSound.cpp:861:16: warning: variable name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:862:9: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:862:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:864:14: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/GameSound.cpp:866:13: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/GameSound.cpp:874:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.cpp:881:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:889:10: warning: variable 'length' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:922:75: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:966:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:968:2: warning: variable 'temp' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:974:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:981:43: warning: integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] +Arx/src/scene/GameSound.cpp:993:17: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:1007:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:1015:2: warning: variable 'temp' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1025:43: warning: integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] +Arx/src/scene/GameSound.cpp:1027:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:1043:45: warning: 2 adjacent parameters of 'ARX_SOUND_SetAmbianceTrackStatus' of similar type ('const string &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/GameSound.cpp:1043:102: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1049:2: warning: variable 'ambiance_id' of type 'AmbianceId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1084:44: warning: integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] +Arx/src/scene/GameSound.cpp:1090:19: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.cpp:1097:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1097:13: warning: variable 'nbelems' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1097:13: warning: variable 'nbelems' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:1098:16: warning: variable 'elems' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1098:16: warning: variable 'elems' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:1098:16: warning: variable 'elems' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:1098:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.cpp:1099:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1099:15: warning: variable 'numbers' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1099:15: warning: variable 'numbers' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:1099:15: warning: variable 'numbers' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:1099:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.cpp:1104:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1105:4: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1105:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.cpp:1107:8: warning: multilevel pointer conversion from 'char **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/GameSound.cpp:1107:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.cpp:1111:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.cpp:1114:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/GameSound.cpp:1114:8: warning: no header providing "ANIM_HANDLE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1114:20: warning: variable 'animations' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:1119:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1125:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1127:5: warning: no header providing "EERIE_ANIM" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1129:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1138:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/GameSound.cpp:1138:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/GameSound.cpp:1138:25: warning: 'elems' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/scene/GameSound.cpp:1138:25: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/scene/GameSound.cpp:1138:25: warning: no header providing "realloc" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1138:33: warning: multilevel pointer conversion from 'char **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/GameSound.cpp:1139:25: warning: no header providing "strdup" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1140:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/GameSound.cpp:1140:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/GameSound.cpp:1140:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1140:26: warning: 'numbers' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/scene/GameSound.cpp:1140:26: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/scene/GameSound.cpp:1140:50: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1159:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1160:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1166:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1170:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1190:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1191:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.cpp:1192:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1198:10: warning: variable 'storedType' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:1199:30: warning: narrowing conversion from 'long' to signed type 'AmbianceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/GameSound.cpp:1200:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1200:3: warning: variable 'type' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1200:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1204:11: warning: variable 'ptr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:1205:22: warning: variable 'playing' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:1207:10: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/scene/GameSound.cpp:1209:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:1211:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/GameSound.cpp:1211:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/GameSound.cpp:1214:4: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1217:27: warning: narrowing conversion from 'long' to signed type 'AmbianceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/GameSound.cpp:1219:4: warning: no header providing "strcpy" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1220:29: warning: narrowing conversion from 'long' to signed type 'AmbianceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/GameSound.cpp:1221:44: warning: narrowing conversion from 'long' to signed type 'AmbianceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/GameSound.cpp:1222:20: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/GameSound.cpp:1227:40: warning: narrowing conversion from 'long' to signed type 'AmbianceId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/GameSound.cpp:1236:2: warning: variable 'count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1237:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/GameSound.cpp:1243:3: warning: variable 'name' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1246:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/scene/GameSound.cpp:1249:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/GameSound.cpp:1253:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/GameSound.cpp:1259:13: warning: function 'ARX_SOUND_CreateEnvironments' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1261:2: warning: no header providing "PakDirectory" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1266:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/GameSound.cpp:1271:13: warning: function 'ARX_SOUND_CreateStaticSamples' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1419:13: warning: function 'ARX_SOUND_ReleaseStaticSamples' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1565:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1565:36: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:1567:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/scene/GameSound.cpp:1567:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/scene/GameSound.cpp:1569:8: warning: no header providing "MATERIAL_WEAPON" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1573:8: warning: no header providing "MATERIAL_FLESH" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1577:8: warning: no header providing "MATERIAL_METAL" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1581:8: warning: no header providing "MATERIAL_GLASS" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1585:8: warning: no header providing "MATERIAL_CLOTH" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1589:8: warning: no header providing "MATERIAL_WOOD" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1593:8: warning: no header providing "MATERIAL_EARTH" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1601:8: warning: no header providing "MATERIAL_ICE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1605:8: warning: no header providing "MATERIAL_GRAVEL" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1609:8: warning: no header providing "MATERIAL_STONE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1613:8: warning: no header providing "MATERIAL_FOOT_LARGE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1617:8: warning: no header providing "MATERIAL_FOOT_BARE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1621:8: warning: no header providing "MATERIAL_FOOT_SHOE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1625:8: warning: no header providing "MATERIAL_FOOT_METAL" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1629:8: warning: no header providing "MATERIAL_FOOT_STEALTH" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1638:13: warning: function 'ARX_SOUND_LoadCollision' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1638:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1638:62: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1640:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/GameSound.cpp:1644:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/scene/GameSound.cpp:1644:37: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/scene/GameSound.cpp:1647:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/GameSound.cpp:1652:13: warning: function 'ARX_SOUND_CreateCollisionMaps' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1652:13: warning: function 'ARX_SOUND_CreateCollisionMaps' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/GameSound.cpp:1656:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/GameSound.cpp:1661:10: warning: variable 'fileSize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:1676:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/GameSound.cpp:1676:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/GameSound.cpp:1677:10: warning: no header providing "IniSection" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1680:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/GameSound.cpp:1680:8: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/GameSound.cpp:1681:11: warning: no header providing "IniKey" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1721:13: warning: function 'ARX_SOUND_CreateMaterials' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1723:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.cpp:1804:13: warning: function 'ARX_SOUND_CreatePresenceMap' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1808:2: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1810:9: warning: variable 'fileSize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/GameSound.cpp:1831:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/GameSound.cpp:1831:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/GameSound.cpp:1832:3: warning: variable 'factor' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1838:14: warning: function 'GetSamplePresenceFactor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1843:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/GameSound.cpp:1843: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.cpp:1843:34: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.cpp:1853:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/scene/GameSound.cpp:1866:28: warning: variable 'updateThread' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1866:28: warning: variable 'updateThread' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:1866:28: warning: variable 'updateThread' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.cpp:1866:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.cpp:1868:13: warning: function 'ARX_SOUND_LaunchUpdateThread' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1877:13: warning: function 'ARX_SOUND_KillUpdateThread' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1884:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.h:56: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/GameSound.h:63:23: warning: variable 'ARX_SOUND_MixerGame' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:64:23: warning: variable 'ARX_SOUND_MixerGameSample' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:65:23: warning: variable 'ARX_SOUND_MixerGameSpeech' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:66:23: warning: variable 'ARX_SOUND_MixerGameAmbiance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:67:23: warning: variable 'ARX_SOUND_MixerMenu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:68:23: warning: variable 'ARX_SOUND_MixerMenuSample' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:69:23: warning: variable 'ARX_SOUND_MixerMenuSpeech' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:70:23: warning: variable 'ARX_SOUND_MixerMenuAmbiance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:73:19: warning: initialization of 'AMB_MENU' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/GameSound.h:74:19: warning: initialization of 'AMB_CREDITS' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/GameSound.h:77:24: warning: variable 'SND_MENU_CLICK' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:78:24: warning: variable 'SND_MENU_RELEASE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:81:24: warning: variable 'SND_BACKPACK' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:82:24: warning: variable 'SND_BOOK_OPEN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:83:24: warning: variable 'SND_BOOK_CLOSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:84:24: warning: variable 'SND_BOOK_PAGE_TURN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:85:24: warning: variable 'SND_GOLD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:86:24: warning: variable 'SND_INVSTD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:87:24: warning: variable 'SND_SCROLL_OPEN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:88:24: warning: variable 'SND_SCROLL_CLOSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:89:24: warning: variable 'SND_TORCH_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:90:24: warning: variable 'SND_TORCH_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:91:24: warning: variable 'SND_TORCH_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:94:24: warning: variable 'SND_FIREPLACE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:95:24: warning: variable 'SND_PLOUF' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:96:24: warning: variable 'SND_QUAKE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:97:24: warning: variable 'SND_WHOOSH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:100:24: warning: variable 'SND_PLAYER_DEATH_BY_FIRE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:101:24: warning: variable 'SND_PLAYER_FILLLIFEMANA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:102:24: warning: variable 'SND_PLAYER_HEART_BEAT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:103:24: warning: variable 'SND_PLAYER_LEVEL_UP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:104:24: warning: variable 'SND_PLAYER_POISONED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:107:24: warning: variable 'SND_MAGIC_AMBIENT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:108:24: warning: variable 'SND_MAGIC_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:109:24: warning: variable 'SND_MAGIC_FIZZLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:112:24: warning: variable 'SND_SYMB_AAM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:113:24: warning: variable 'SND_SYMB_CETRIUS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:114:24: warning: variable 'SND_SYMB_COSUM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:115:24: warning: variable 'SND_SYMB_COMUNICATUM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:116:24: warning: variable 'SND_SYMB_FOLGORA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:117:24: warning: variable 'SND_SYMB_FRIDD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:118:24: warning: variable 'SND_SYMB_KAOM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:119:24: warning: variable 'SND_SYMB_MEGA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:120:24: warning: variable 'SND_SYMB_MORTE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:121:24: warning: variable 'SND_SYMB_MOVIS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:122:24: warning: variable 'SND_SYMB_NHI' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:123:24: warning: variable 'SND_SYMB_RHAA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:124:24: warning: variable 'SND_SYMB_SPACIUM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:125:24: warning: variable 'SND_SYMB_STREGUM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:126:24: warning: variable 'SND_SYMB_TAAR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:127:24: warning: variable 'SND_SYMB_TEMPUS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:128:24: warning: variable 'SND_SYMB_TERA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:129:24: warning: variable 'SND_SYMB_VISTA' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:130:24: warning: variable 'SND_SYMB_VITAE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:131:24: warning: variable 'SND_SYMB_YOK' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:134:24: warning: variable 'SND_SPELL_ACTIVATE_PORTAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:135:24: warning: variable 'SND_SPELL_ARMOR_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:136:24: warning: variable 'SND_SPELL_ARMOR_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:137:24: warning: variable 'SND_SPELL_ARMOR_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:138:24: warning: variable 'SND_SPELL_BLESS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:139:24: warning: variable 'SND_SPELL_COLD_PROTECTION_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:140:24: warning: variable 'SND_SPELL_COLD_PROTECTION_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:141:24: warning: variable 'SND_SPELL_COLD_PROTECTION_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:142:24: warning: variable 'SND_SPELL_CONFUSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:143:24: warning: variable 'SND_SPELL_CONTROL_TARGET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:144:24: warning: variable 'SND_SPELL_CREATE_FIELD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:145:24: warning: variable 'SND_SPELL_CREATE_FOOD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:146:24: warning: variable 'SND_SPELL_CURE_POISON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:147:24: warning: variable 'SND_SPELL_CURSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:148:24: warning: variable 'SND_SPELL_DETECT_TRAP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:149:24: warning: variable 'SND_SPELL_DETECT_TRAP_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:150:24: warning: variable 'SND_SPELL_DISARM_TRAP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:151:24: warning: variable 'SND_SPELL_DISPELL_FIELD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:152:24: warning: variable 'SND_SPELL_DISPELL_ILLUSION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:153:24: warning: variable 'SND_SPELL_DOUSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:154:24: warning: variable 'SND_SPELL_ELECTRIC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:155:24: warning: variable 'SND_SPELL_ENCHANT_WEAPON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:156:24: warning: variable 'SND_SPELL_EXPLOSION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:157:24: warning: variable 'SND_SPELL_EYEBALL_IN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:158:24: warning: variable 'SND_SPELL_EYEBALL_OUT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:159:24: warning: variable 'SND_SPELL_FIRE_FIELD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:160:24: warning: variable 'SND_SPELL_FIRE_HIT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:161:24: warning: variable 'SND_SPELL_FIRE_LAUNCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:162:24: warning: variable 'SND_SPELL_FIRE_PROTECTION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:163:24: warning: variable 'SND_SPELL_FIRE_PROTECTION_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:164:24: warning: variable 'SND_SPELL_FIRE_PROTECTION_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:165:24: warning: variable 'SND_SPELL_FIRE_WIND' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:166:24: warning: variable 'SND_SPELL_FREEZETIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:167:24: warning: variable 'SND_SPELL_HARM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:168:24: warning: variable 'SND_SPELL_HEALING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:169:24: warning: variable 'SND_SPELL_ICE_FIELD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:170:24: warning: variable 'SND_SPELL_ICE_FIELD_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:171:24: warning: variable 'SND_SPELL_ICE_FIELD_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:172:24: warning: variable 'SND_SPELL_ICE_PROJECTILE_LAUNCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:173:24: warning: variable 'SND_SPELL_INCINERATE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:174:24: warning: variable 'SND_SPELL_INCINERATE_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:175:24: warning: variable 'SND_SPELL_INCINERATE_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:176:24: warning: variable 'SND_SPELL_IGNITE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:177:24: warning: variable 'SND_SPELL_INVISIBILITY_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:178:24: warning: variable 'SND_SPELL_INVISIBILITY_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:179:24: warning: variable 'SND_SPELL_LEVITATE_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:180:24: warning: variable 'SND_SPELL_LIGHTNING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:181:24: warning: variable 'SND_SPELL_LIGHTNING_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:182:24: warning: variable 'SND_SPELL_LIGHTNING_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:183:24: warning: variable 'SND_SPELL_LIGHTNING_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:184:24: warning: variable 'SND_SPELL_LOWER_ARMOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:185:24: warning: variable 'SND_SPELL_FIRE_FIELD_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:186:24: warning: variable 'SND_SPELL_FIRE_FIELD_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:187:24: warning: variable 'SND_SPELL_FIRE_FIELD_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:189:24: warning: variable 'SND_SPELL_MAGICAL_HIT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:190:24: warning: variable 'SND_SPELL_MAGICAL_SHIELD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:191:24: warning: variable 'SND_SPELL_MASS_INCINERATE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:192:24: warning: variable 'SND_SPELL_MASS_PARALYSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:193:24: warning: variable 'SND_SPELL_MM_CREATE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:194:24: warning: variable 'SND_SPELL_MM_HIT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:195:24: warning: variable 'SND_SPELL_MM_LAUNCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:196:24: warning: variable 'SND_SPELL_MM_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:197:24: warning: variable 'SND_SPELL_NEGATE_MAGIC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:198:24: warning: variable 'SND_SPELL_NO_EFFECT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:199:24: warning: variable 'SND_SPELL_PARALYSE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:200:24: warning: variable 'SND_SPELL_PARALYSE_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:201:24: warning: variable 'SND_SPELL_POISON_PROJECTILE_LAUNCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:202:24: warning: variable 'SND_SPELL_RAISE_DEAD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:203:24: warning: variable 'SND_SPELL_REPEL_UNDEAD' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:204:24: warning: variable 'SND_SPELL_REPEL_UNDEAD_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:205:24: warning: variable 'SND_SPELL_RUNE_OF_GUARDING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:206:24: warning: variable 'SND_SPELL_RUNE_OF_GUARDING_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:207:24: warning: variable 'SND_SPELL_SLOW_DOWN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:208:24: warning: variable 'SND_SPELL_SPARK' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:209:24: warning: variable 'SND_SPELL_SPEED_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:210:24: warning: variable 'SND_SPELL_SPEED_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:211:24: warning: variable 'SND_SPELL_SPEED_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:212:24: warning: variable 'SND_SPELL_SUMMON_CREATURE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:213:24: warning: variable 'SND_SPELL_TELEKINESIS_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:214:24: warning: variable 'SND_SPELL_TELEKINESIS_END' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:215:24: warning: variable 'SND_SPELL_TELEPORT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:216:24: warning: variable 'SND_SPELL_TELEPORTED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:217:24: warning: variable 'SND_SPELL_VISION_START' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:218:24: warning: variable 'SND_SPELL_VISION_LOOP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/GameSound.h:221:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:221:36: warning: parameter name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.h:227:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:229:87: warning: parameter name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.h:234:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:234:78: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.h:234:98: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.h:234:104: warning: parameter 4 is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] +Arx/src/scene/GameSound.h:234:124: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/scene/GameSound.h:235:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:235:73: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.h:237:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:237:66: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.h:237:71: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.h:238:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:238:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:238:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:239:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:241:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:241:66: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.h:241:71: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.h:241:91: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.h:242:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:242:79: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.h:243:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:244:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:244:68: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.h:245:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/GameSound.h:249:86: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.h:251:82: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/GameSound.h:251:87: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/GameSound.h:255:127: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.h:256:125: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/GameSound.h:258:117: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/GameSound.h:267:64: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:65:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:74:1: warning: included header Levels.h is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:119:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:119:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:121:17: warning: variable 'CAMERACONTROLLER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:121:17: warning: variable 'CAMERACONTROLLER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:122:27: warning: variable 'Movable' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:122:27: warning: variable 'Movable' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:123:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:123:13: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:124:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:124:13: warning: variable 'NEED_TEST_TEXT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:126:11: warning: variable 'nodes' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:127:14: warning: variable 'TREATZONE_LIMIT' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:127:14: warning: variable 'TREATZONE_LIMIT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:129:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:129:6: warning: variable 'HERO_SHOW_1ST' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:133:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:133:6: warning: variable 'INTER_DRAW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:135:13: warning: function 'IsCollidingInter' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:135:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:135:43: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:136:17: warning: function 'AddCamera' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:137:27: warning: no header providing "EntityInstance" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:138:17: warning: function 'AddMarker' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:141:7: warning: variable 'STARTED_ANGLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:142:29: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:144:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:159:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:159:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:161:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:161:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:168:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:168:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:174:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:183:14: warning: function 'ARX_INTERACTIVE_fGetPrice' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:183:40: warning: 2 adjacent parameters of 'ARX_INTERACTIVE_fGetPrice' of similar type ('Entity *') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Interactive.cpp:183:49: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:186:30: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:186:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:189:2: warning: variable 'durability_ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:192:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:195:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:198:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:198:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:199:9: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:202:13: warning: function 'ARX_INTERACTIVE_ForceIOLeaveZone' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:202:55: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:202:59: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:204:13: warning: variable name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:208:3: warning: variable 'temp' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:210:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:211:4: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:211:26: warning: no header providing "SM_LEAVEZONE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:215:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:215:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:215:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:219:5: warning: variable 'str' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:220:37: warning: no header providing "SM_CONTROLLEDZONE_LEAVE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:226:6: warning: function 'ARX_INTERACTIVE_DestroyDynamicInfo' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Interactive.cpp:226:50: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:228:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:230:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:230:2: warning: variable 'n' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:230:7: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:230:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:232:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Interactive.cpp:232:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:232:2: warning: variable 'sN' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:232:8: warning: variable name 'sN' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:232:32: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Interactive.cpp:236:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:236:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:249:2: warning: no header providing "ARX_SCRIPT_EventStackClearForIo" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:253:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:253:26: warning: no header providing "MAX_SPELLS" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:255:9: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:264:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:264:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:267:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:268:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:272:19: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:274:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:279:3: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:279:3: warning: undefined behavior, destination object type 'IO_PATHFIND' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:293:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:297:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:297:20: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:297:20: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/Interactive.cpp:301:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:301:6: warning: variable 'll' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:301:11: warning: variable name 'll' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:302:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Interactive.cpp:305:18: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:305:25: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:305:31: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:306:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:307:17: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:307:24: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:311:18: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:321:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:321:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:323:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:326:29: warning: no header providing "SHOW_FLAG_LINKED" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:331:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:331:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:334:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:341:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:341:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:344:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:348:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:348:2: warning: variable 'grp' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:354:4: warning: no header providing "EERIE_FACE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:354:17: warning: variable name 'ef' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:356:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:356:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:360:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:361:23: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:362:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:375:46: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:377:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:380:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:386:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:393:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:407:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:407:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:409:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:412:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:415:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:421:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:428:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:431:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:433:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:440:37: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:442:53: warning: no header providing "IO_PHYSICAL_OFF" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:455:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:462:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:464:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:477:16: warning: variable 'treatio' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:477:16: warning: variable 'treatio' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:477:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:478:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:478:6: warning: variable 'TREATZONE_CUR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:479:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:479:13: warning: variable 'TREATZONE_MAX' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:479:13: warning: variable 'TREATZONE_MAX' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:486:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:491:34: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:495:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:499:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:500:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:508:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:508:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:513:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:513:13: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Interactive.cpp:513:29: warning: 'treatio' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/scene/Interactive.cpp:513:29: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/scene/Interactive.cpp:516:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:518:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:525:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:525:50: warning: no header providing "IO_JUST_COLLIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:528:31: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:532:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:532:46: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:536:31: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:537:13: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:537:30: warning: no header providing "ACTIVECAM" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:541:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:546:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:546:6: warning: variable 'GLOBAL_Player_Room' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:547:6: warning: function 'PrepareIOTreatZone' has cognitive complexity of 127 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Interactive.cpp:547:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:549:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:558:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:566:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:569:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:569:2: warning: variable 'Cam_Room' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:573:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Interactive.cpp:573:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:573:2: warning: variable 'sGlobalPlayerRoom' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:573:47: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Interactive.cpp:575:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:575:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:590:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:594:6: warning: no header providing "RoomDistance" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:598:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:601:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:604:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:607:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:611:7: warning: variable 'treat' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:613:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:617:32: warning: no header providing "SHOW_FLAG_TELEPORTING" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:618:32: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:619:32: warning: no header providing "SHOW_FLAG_HIDDEN" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:621:23: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:621:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:622:5: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:623:28: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:623:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:632:11: warning: variable 'dists' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:644:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:645:8: warning: no header providing "UpdateIORoom" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:647:22: warning: no header providing "SP_GetRoomDist" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:658:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:662:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:663:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:669:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:672:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:677:22: warning: no header providing "GFLAG_WASINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:694:4: warning: no header providing "EVENT_SENDER" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:694:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:709:31: warning: no header providing "SM_TREATOUT" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:709:47: warning: no header providing "REFUSE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:711:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:720:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:720:2: warning: variable 'M_TREAT' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:723:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:725:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:734:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:737:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:739:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:762:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:764:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:767:16: warning: no header providing "strcmp" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:767:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:775:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:784:16: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:784:21: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:784:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:793:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:793:4: warning: variable 'k' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:793:9: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:795:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:795:16: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:795:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:796:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:804:2: warning: no header providing "strcpy" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:810:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:812:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:821:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:821:22: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:824:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:827:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:831:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:839:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:846:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:846:24: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:846:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:846:32: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:849:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:852:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:854:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:860:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:861:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:862:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:870:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:870:19: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:870:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:870:27: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:873:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:876:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:887:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:887:22: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:887:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:887:30: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:890:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:893:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:904:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:904:26: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:904:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:904:34: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:907:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:915:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:915:30: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:915:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:915:38: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:918:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:928:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:942:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:945:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:953:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:953:24: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:955:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Interactive.cpp:956:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:956:7: warning: variable 'o' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:956:7: warning: variable name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:958: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:964:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:965: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:973:16: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:973:21: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:975:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:975:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:979:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:979:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Interactive.cpp:979:28: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Interactive.cpp:980:2: warning: undefined behavior, destination object type 'ARX_NODE' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:985:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:987:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:989:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:996:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1003:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1020:52: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1027:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1035:26: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1047:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1049:2: warning: variable 'pbox' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1056:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1056:56: warning: the parameter 'type' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/scene/Interactive.cpp:1065:48: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1067:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/Interactive.cpp:1078:46: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1094:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1099:49: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1112:3: warning: no header providing "ARX_SCRIPT_Timer_Clear_For_IO" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1119:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1121:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:1121:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1121:24: warning: no header providing "MAX_ANIMS" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1123:4: warning: no header providing "EERIE_ANIMMANAGER_ReleaseHandle" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1124:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1127:3: warning: no header providing "ARX_SPELLS_RemoveAllSpellsOn" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1131:69: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1132:4: warning: undefined behavior, destination object type 'IO_PATHFIND' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:1138:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1140:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1142:21: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1144:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1145:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1146:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1148:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1155:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1159:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1162:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1163:20: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1168:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1181:13: warning: function 'RestoreIOInitPos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:1181:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1197:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1203:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1217:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1223:19: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1224:19: warning: no header providing "IO_INVERTED" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1230:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:1230:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1234:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1239:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1243:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1245:21: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1246:21: warning: no header providing "GFLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1247:21: warning: no header providing "GFLAG_NOGORE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1249:21: warning: no header providing "GFLAG_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1250:21: warning: no header providing "GFLAG_ELEVATOR" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1251:21: warning: no header providing "GFLAG_HIDEWEAPON" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1252:21: warning: no header providing "GFLAG_NOCOMPUTATION" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1253:21: warning: no header providing "GFLAG_INTERACTIVITYHIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1254:21: warning: no header providing "GFLAG_DOOR" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1255:21: warning: no header providing "GFLAG_GOREEXPLODE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1257:16: warning: no header providing "BASE_RUBBER" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1260:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1264:18: warning: no header providing "MATERIAL_STONE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1270:28: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1272:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1281:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1287:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:1287:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1287:32: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1290:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1291:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1322:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1324:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1350:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1358:20: warning: no header providing "COLLIDE_WITH_PLAYER" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1366:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1366:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1370:35: warning: no header providing "IO_FIXDATA" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1376:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1376:64: warning: parameter name 's1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1382:2: warning: variable 'icontochange' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1384:21: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1392:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1392:3: warning: variable 'w' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1392:17: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1393:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1393:3: warning: variable 'h' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1393:17: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1395:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1395:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1396:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1396:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1398:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1398:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1399:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1399:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1401:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1402:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1404:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1405:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1412:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1413:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1415:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1427:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1430:2: warning: no header providing "SendInitScriptEvent" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1436:2: warning: no header providing "CloneLocalVars" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1446:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1446:32: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Interactive.cpp:1446:48: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Interactive.cpp:1447:3: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1447:3: warning: undefined behavior, destination object type 'IO_EQUIPITEM' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:1447:3: warning: undefined behavior, source object type 'IO_EQUIPITEM' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:1453:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1453:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1454:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1454:21: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Interactive.cpp:1454:41: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Interactive.cpp:1456:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1456:27: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Interactive.cpp:1456:28: warning: no header providing "PHYSVERT" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1456:39: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Interactive.cpp:1458:3: warning: undefined behavior, destination object type 'PHYSVERT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:1458:3: warning: undefined behavior, source object type 'PHYSVERT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:1465:54: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1477:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1478:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Interactive.cpp:1478:8: warning: variable 'modx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:1478:14: warning: variable 'modz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:1482:11: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1482:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1483:10: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1483:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1486:3: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1488:7: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1490:16: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1490:21: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1491:22: warning: no header providing "CheckTopPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1493:22: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1507:52: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1509:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1511:6: warning: no header providing "ARX_SCRIPT_GetSystemIOScript" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1513:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1513:3: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1513:14: warning: no header providing "ARX_SCRIPT_Timer_GetFree" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1517:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1517:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1517:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1517:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:1518:4: warning: no header providing "ActiveTimers" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1519:4: warning: no header providing "scr_timer" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1519:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1525:25: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1525:26: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1543:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1545:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1548:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1552:3: warning: variable 'vvp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1560:3: warning: variable 'diff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1561:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:1561:17: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1562:3: warning: variable 'eediff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1570:4: warning: variable 'mul' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1574:17: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:1574:17: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/Interactive.cpp:1576:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1580:6: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1588:14: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:1588:14: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/Interactive.cpp:1592:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:1592:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1595:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:1595:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1597:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1598:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1602:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1602:60: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1614:35: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/scene/Interactive.cpp:1619:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1626:2: warning: variable 'translate' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1632:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1648:45: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/scene/Interactive.cpp:1652:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1652:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1673:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1687:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1699:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1701:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1701:8: warning: variable name 'ni' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1703:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1709:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:1715:33: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1717:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1722:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1726:2: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1730:26: warning: no header providing "SM_INIT" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1731:26: warning: no header providing "SM_INITEND" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1740:13: warning: function 'GetIOScript' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:1740:34: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1741:2: warning: no header providing "loadScript" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1745:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1757:13: warning: function 'MakeTemporaryIOIdent' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:1757:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1766:2: warning: variable 'className' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1767:2: warning: variable 'classDir' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1769:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1769:11: warning: loop variable name 't' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1774:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:1786:21: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1808:37: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/scene/Interactive.cpp:1810:2: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1811:2: warning: variable 'script' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1815:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1818:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:1818:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1827:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1827:17: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Interactive.cpp:1827:31: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Interactive.cpp:1835:25: warning: no header providing "SM_LOAD" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1840:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1841:15: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1846:8: warning: variable 'tempo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:1847:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1847:54: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/scene/Interactive.cpp:1848:11: warning: no header providing "GetTruePolyY" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1864:21: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1866:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1866:3: warning: variable 'w' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1866:17: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1867:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1867:3: warning: variable 'h' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1867:17: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1868:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1869:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1878:17: warning: function 'AddCamera' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:1881:2: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1882:2: warning: variable 'script' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1886:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1889:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:1889:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1901:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1902:15: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1907:8: warning: variable 'tempo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:1908:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:1908:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1909:42: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/scene/Interactive.cpp:1920:47: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/scene/Interactive.cpp:1924:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:1924:17: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Interactive.cpp:1924:31: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Interactive.cpp:1925:2: warning: undefined behavior, destination object type 'EERIE_CAMERA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:1925:2: warning: undefined behavior, source object type 'EERIE_CAMERA' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:1928:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1933:17: warning: function 'AddMarker' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:1936:2: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1937:2: warning: variable 'script' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1941:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1944:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:1944:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1956:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1957:15: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:1962:8: warning: variable 'tempo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:1963:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:1963:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1964:42: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/scene/Interactive.cpp:1975:47: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/scene/Interactive.cpp:1979:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:1984:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1986:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1986:22: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1987:17: warning: variable name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:1992:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:1993:18: warning: variable name 'ad' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2041:2: warning: 'life' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2042:2: warning: 'mana' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2044:2: warning: 'reachedtime' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2045:2: warning: 'reachedtarget' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2046:2: warning: 'weapon' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2046:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2047:2: warning: 'detect' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2048:2: warning: 'movemode' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2049:2: warning: 'armor_class' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2050:2: warning: 'absorb' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2051:2: warning: 'damages' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2052:2: warning: 'tohit' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2053:2: warning: 'aimtime' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2054:2: warning: 'critical' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2055:2: warning: 'reach' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2056:2: warning: 'backstab_skill' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2058:2: warning: 'behavior' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2058:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2059:2: warning: 'behavior_param' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2060:2: warning: 'tactics' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2061:2: warning: 'xpvalue' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2062:2: warning: 'cut' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2064:2: warning: 'moveproblem' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2065:2: warning: 'weapontype' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2065:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2066:2: warning: 'weaponinhand' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2067:2: warning: 'fightdecision' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2069:2: warning: 'look_around_inc' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2070:2: warning: 'collid_time' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2071:2: warning: 'collid_state' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2072:2: warning: 'speakpitch' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2073:2: warning: 'lastmouth' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2074:2: warning: 'ltemp' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2076:2: warning: undefined behavior, destination object type 'IO_BEHAVIOR_DATA[5]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:2078:2: warning: 'poisonned' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2079:2: warning: 'resist_poison' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2080:2: warning: 'resist_magic' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2081:2: warning: 'resist_fire' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2083:2: warning: 'strike_time' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2084:2: warning: 'walk_start_time' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2085:2: warning: 'aiming_start' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2086:2: warning: 'npcflags' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2086:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2087:2: warning: undefined behavior, destination object type 'IO_PATHFIND' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Interactive.cpp:2088:2: warning: 'ex_rotate' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2088:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2089:2: warning: 'blood_color' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2091:2: warning: 'SPLAT_DAMAGES' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2092:2: warning: 'SPLAT_TOT_NB' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2093:2: warning: 'last_splat_pos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2094:2: warning: 'vvpos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2096:2: warning: 'climb_count' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2097:2: warning: 'stare_factor' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2098:2: warning: 'fDetect' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2099:2: warning: 'cuts' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2100:2: warning: 'unused' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/Interactive.cpp:2110:37: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/scene/Interactive.cpp:2112:2: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2113:2: warning: variable 'script' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2117:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2120:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:2120:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2147:15: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:2148:15: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:2153:8: warning: variable 'tempo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2154:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2154:54: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/scene/Interactive.cpp:2179:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2188:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2191:2: warning: no header providing "ReleaseScript" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2197:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2197:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2197:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2201:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2204:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2207:51: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2210:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2217:2: warning: no header providing "ARX_SCRIPT_Timer_ClearAll" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2218:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:2228:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2234:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2234:7: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2238:3: warning: variable 'temp' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2257:22: warning: variable 'arrowobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:2257:22: warning: variable 'arrowobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:2259:10: warning: function 'AddItem' has cognitive complexity of 34 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Interactive.cpp:2260:38: warning: the parameter 'flags' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/scene/Interactive.cpp:2268:20: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2272:20: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2275:2: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2276:2: warning: variable 'script' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2277:2: warning: variable 'icon' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2281:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2285:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2288:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:2288:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2298:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2298:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Interactive.cpp:2298:33: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Interactive.cpp:2323:61: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:2323:68: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:2325:61: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:2325:68: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:2326:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2326:42: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2326:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2327:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2327:42: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2327:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2329:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2329:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2334:9: warning: variable 'tempo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2336:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2356:21: warning: variable 'tc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2356:21: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2370:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2370:3: warning: variable 'w' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2370:17: warning: variable name 'w' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2371:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2371:3: warning: variable 'h' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2371:17: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2373:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2374:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2375:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2376:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2378:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2379:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2380:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2381:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2383:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2385:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2388:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2390:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2399:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2407:10: warning: function 'GetFirstInterAtPos' has cognitive complexity of 111 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Interactive.cpp:2407:29: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2407:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2409:8: warning: variable 'n' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2409:8: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2414:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2415:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2424:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2432:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2436:12: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2436:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2445:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2445:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2448:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2450:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2455:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2472:7: warning: variable 'flDistanceToRef' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2473:7: warning: variable 'flDistanceToIO' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2477:12: warning: variable name 'fp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2479:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2487:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2489:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2492:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2499:7: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/scene/Interactive.cpp:2504:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2505:12: warning: no header providing "CEDRIC_PtIn2DPolyProjV2" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2507:12: warning: no header providing "PtIn2DPolyProj" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2512:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2514:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2517:76: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2534:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2538:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2540:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2543:21: warning: no header providing "IO_ICONIC" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2543:69: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2546:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2546:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2546:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2548:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:2548:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2550:62: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2556:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2556:13: warning: variable 'LOOKING_FOR_SPELL_TARGET' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:2561:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2564:8: warning: variable 'dist_Threshold' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2566:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2568:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2571:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2573:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2576:7: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2581:3: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:2591:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2595:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2595:26: warning: 3 adjacent parameters of 'IsCollidingAnyInter' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Interactive.cpp:2595:32: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2595:41: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2595:50: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2599:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2611:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2612:6: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/scene/Interactive.cpp:2619:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2619:43: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2623:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2623:43: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2636:13: warning: function 'IsCollidingInter' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:2636:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2639:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2644:10: warning: no header providing "EERIE_VERTEX" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2648:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2650:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2650:5: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2652:9: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2659:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2659:4: warning: variable 'nbv' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2659:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2660:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2662:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2673:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2675:17: warning: no header providing "SFX_TYPE_YLSIDE_DEATH" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2676:17: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2676:18: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2678:6: warning: function 'ARX_INTERACTIVE_CheckCollision' has cognitive complexity of 64 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Interactive.cpp:2678:56: warning: 2 adjacent parameters of 'ARX_INTERACTIVE_CheckCollision' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Interactive.cpp:2678:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2678:61: warning: parameter name 'kk' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2678:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2680:2: warning: variable 'col' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2681:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2682:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2692:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2696:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2696:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2716:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2716:11: warning: variable 'step' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2717:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2717:11: warning: variable 'nbv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2718:12: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2720:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2721:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2722:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2723:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2727:19: warning: variable name 'sp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2730:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2739:14: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2739:31: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2742:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2742:36: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2743:33: warning: no header providing "SM_COLLIDE_DOOR" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2745:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2745:36: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2761:6: warning: function 'ARX_INTERACTIVE_CheckFULLCollision' has cognitive complexity of 202 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Interactive.cpp:2761:60: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2763:2: warning: variable 'col' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2764:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2764:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2764:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2765:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2766:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2767:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2767:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2780:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2784:68: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2787:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2790:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2795:36: warning: no header providing "IO_NO_NPC_COLLIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2795:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2803:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2803:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2811:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2811:10: warning: variable 'step' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2812:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2812:10: warning: variable 'nbv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2813:11: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2814:18: warning: variable name 'sp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2822:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2823:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2824:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2831:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2836:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Interactive.cpp:2836:13: warning: variable 'miny' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2836:19: warning: variable 'maxy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:2841:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2845:12: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2847:20: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2848:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2852:17: warning: variable name 'cx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2853:17: warning: variable name 'cz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2855:16: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2871:15: warning: no header providing "PointIn2DPolyXZ" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2882:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2887:11: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/scene/Interactive.cpp:2889:13: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2893:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2893:61: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2897:16: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2897:33: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2900:37: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2900:38: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2903:37: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2903:38: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2915:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2915:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2920:14: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2920:31: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:2923:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2923:36: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2926:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2926:36: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2942:6: warning: function 'UpdateCameras' has cognitive complexity of 140 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Interactive.cpp:2944: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:2947:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:2955:5: warning: variable 'diff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2955:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:2962:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2970:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:2980:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2986:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Interactive.cpp:2987:7: 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:2988:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:2989:29: warning: no header providing "SM_WAYPOINT" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2990:7: 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:2991:29: warning: no header providing "SM_NULL" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2992:29: warning: no header providing "SM_PATHEND" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2998:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2999:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:2999:7: warning: variable '_to' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:3001:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3003:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3005:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:3005:7: warning: variable 'ii' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:3005:12: warning: variable name 'ii' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3007:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Interactive.cpp:3008:7: 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:3009:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:3011:7: 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:3049:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3050:33: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:3050:58: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:3062:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Interactive.cpp:3062:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:3069:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:3069:13: warning: variable name 'vv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3069:18: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:3069:18: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/Interactive.cpp:3071:7: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:3071:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3075:13: warning: variable name 'f1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3077:7: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:3077:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3079:7: warning: variable 'f2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:3079:13: warning: variable name 'f2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3082:7: warning: no header providing "SetTargetCamera" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3094:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3109:6: warning: variable 'tr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:3109:12: warning: variable name 'tr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3109:25: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3110:33: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:3110:40: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:3112:33: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:3112:40: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Interactive.cpp:3124:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Interactive.cpp:3126:29: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3131:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3139:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:3139:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3145:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:3145:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3149:17: warning: variable 'DESTROYED_DURING_RENDERING' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:3149:17: warning: variable 'DESTROYED_DURING_RENDERING' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.cpp:3157:6: warning: function 'RenderInter' has cognitive complexity of 133 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Interactive.cpp:3157:36: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3159:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3163:2: warning: uninitialized record type: 'mat' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Interactive.cpp:3165:8: warning: variable 'dist' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:3166:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:3166:7: warning: variable 'diff' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:3175:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3182:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3198:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3203:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3220:5: warning: variable 'tmp' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:3221:11: warning: variable name 'up' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3244:34: warning: no header providing "EA_PAUSED" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3244:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3246:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3246:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:3250:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3251:28: warning: no header providing "DRAWFLAG_HIGHLIGHT" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3261:5: warning: variable 'render' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:3265:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3268:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3273:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3333:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3342:47: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3342:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3346:5: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:3363:6: warning: function 'ARX_INTERACTIVE_DestroyIO' has cognitive complexity of 42 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Interactive.cpp:3367:20: warning: no header providing "SHOW_FLAG_DESTROYED" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3367:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3372:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3373:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:3375:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3376:19: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:3378:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3379:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:3388:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:3388:4: warning: variable 'numm' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:3388:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Interactive.cpp:3390:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3391:5: warning: no header providing "ARX_SPELLS_FizzleAllSpellsFromCaster" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3394:4: warning: no header providing "ARX_SCRIPT_Timer_Clear_By_IO" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3398:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3407:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:3407:6: warning: variable 'k' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:3407:11: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3411:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Interactive.cpp:3411:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Interactive.cpp:3411:23: warning: redundant explicit casting to the same type 'Entity *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/Interactive.cpp:3434:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3436:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:3437:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:3439:28: warning: no header providing "IO_UNIQUE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3441:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3446:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:3447:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.cpp:3456:13: warning: function 'intersect' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:3456:34: warning: no header providing "std::set" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3464:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/Interactive.cpp:3465:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/Interactive.cpp:3474:5: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/scene/Interactive.cpp:3484:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3488:46: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3490:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3492:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3494:8: warning: variable name 'ac' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3496:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:3498:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:3498:3: warning: variable 'n' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:3498:8: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3504:10: warning: no header providing "SPELL_ARMOR" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3507:10: warning: no header providing "SPELL_LOWER_ARMOR" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:3515:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:3515:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3520:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.cpp:3520:43: warning: parameter name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3524:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3527:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3530:9: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Interactive.cpp:3530:9: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3531:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.cpp:3533:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3555:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3555:39: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:3556:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/scene/Interactive.cpp:3556:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3557:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3558:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3559:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3559:42: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:3560:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3561:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3562:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3563:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3564:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3565:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3565:43: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:3566:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3567:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3568:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3569:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3570:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3571:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3571:44: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:3572:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3573:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3574:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3575:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3576:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3577:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3577:45: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:3578:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.cpp:3579:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Interactive.h:68:8: warning: accessing fields in struct 'ARX_NODE' is inefficient due to padding; only needs 984 bytes but is using 992 bytes [altera-struct-pack-align] +Arx/src/scene/Interactive.h:68:8: warning: accessing fields in struct 'ARX_NODE' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/Interactive.h:69:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Interactive.h:70:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Interactive.h:72:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Interactive.h:73:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:73:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Interactive.h:74:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Interactive.h:80:8: warning: accessing fields in struct 'ARX_NODES' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/Interactive.h:81:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:82:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:93: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:99:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:99:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:99:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/scene/Interactive.h:99:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/scene/Interactive.h:101: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/Interactive.h:106:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:106:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:106:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/scene/Interactive.h:106:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/scene/Interactive.h:109:18: warning: variable 'nodes' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.h:116:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:116:64: warning: parameter name 's1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:117:50: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:118:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:118:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:119:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:119:41: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:119:70: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.h:120:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:120:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:121:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:121:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:122:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:122:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:124:46: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:125:54: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:126:52: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:127:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:127:61: warning: parameter name 'kk' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:127:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:129:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:130:48: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:131:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:132:40: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:132:60: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:134:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:136:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:138:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:146:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:146:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:147:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:147:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:149:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:151:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:154:37: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:156:16: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:156:21: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:157:6: warning: function 'ClearNode' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/scene/Interactive.h:157:16: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:157:21: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:157:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:159:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:161:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:161:22: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:162:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:162:24: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:166:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:166:26: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:166:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:166:34: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:167:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:167:30: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:167:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:167:38: warning: parameter name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:168:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:170:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:185:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:188:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:191:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:191:32: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:191:41: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:191:50: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:192:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:192:73: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.h:192:99: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.h:192:126: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.h:202:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.h:204:46: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.h:206:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.h:208:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Interactive.h:214:36: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:215:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:217:33: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:218:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:219:30: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:220:13: warning: function 'GetMaterialString' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/scene/Interactive.h:223:46: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:224:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:224:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:225:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:227:8: warning: accessing fields in struct 'TREATZONE_IO' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/Interactive.h:228:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:231:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:234:23: warning: variable 'treatio' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.h:234:23: warning: variable 'treatio' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.h:235:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:235:13: warning: variable 'TREATZONE_CUR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Interactive.h:239:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:239:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:240:34: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:241:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:243:31: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:244:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:245:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:246:42: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:246:46: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:248:36: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:249:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Interactive.h:249:43: warning: parameter name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Interactive.h:250:26: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LevelFormat.h:57:8: warning: accessing fields in struct 'DANAE_LS_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:60:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:61:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:71:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:79:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:81:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:82:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:83:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:87:8: warning: accessing fields in struct 'DANAE_LS_SCENE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:88:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:89:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:90:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:93:8: warning: accessing fields in struct 'DANAE_LS_LIGHTINGHEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:100:8: warning: accessing fields in struct 'DANAE_LS_VLIGHTING' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:107:8: warning: accessing fields in struct 'DANAE_LS_LIGHT' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:120:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:122:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:125:8: warning: accessing fields in struct 'DANAE_LS_FOG' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:138:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:139:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:140:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:143:8: warning: accessing fields in struct 'DANAE_LS_NODE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:144:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:146:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:147:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:150:8: warning: accessing fields in struct 'DANAE_LS_PATH' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:151:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:161:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:163:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:164:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:165:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:168:8: warning: accessing fields in struct 'DANAE_LS_PATHWAYS' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:172:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:173:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:174:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:178:8: warning: accessing fields in struct 'DANAE_LLF_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:180:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:181:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:187:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:188:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:189:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:190:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:193:8: warning: accessing fields in struct 'DANAE_LS_INTER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/LevelFormat.h:194:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:199:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LevelFormat.h:200:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.cpp:57:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/scene/Light.cpp:59:14: warning: variable 'GLOBAL_LIGHT_FACTOR' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.cpp:60:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.cpp:60:15: warning: variable 'GLight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.cpp:61:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.cpp:61:13: warning: initialization of 'DynLight' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/Light.cpp:61:13: warning: variable 'DynLight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.cpp:63:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.cpp:63:15: warning: variable 'PDL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.cpp:64:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:64:6: warning: variable 'TOTPDL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.cpp:66:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.cpp:66:15: warning: variable 'IO_PDL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.cpp:67:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:67:6: warning: variable 'TOTIOPDL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.cpp:69:13: warning: function 'ARX_EERIE_LIGHT_Make' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Light.cpp:69:46: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:71:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:74:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:74:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:75:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:76:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/scene/Light.cpp:81:30: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:81:43: warning: 2 adjacent parameters of 'PrecalcIOLighting' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Light.cpp:81:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:90:5: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:98:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:100:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:103:29: warning: no header providing "EXTRAS_SEMIDYNAMIC" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:117:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:117:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:123:36: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:125:17: warning: no header providing "POLY_IGNORE" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:125:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:127:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.cpp:128:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.cpp:129:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.cpp:135:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:137:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:148:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:158:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:158:7: warning: variable 'nbvert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:160:17: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:160:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:161:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:163:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:164:26: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:172:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:184:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:191:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:193:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:195:22: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:195:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Light.cpp:197:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:199:4: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:200:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Light.cpp:207:28: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:214:29: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:221:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:224:3: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:224:10: warning: multilevel pointer conversion from 'EERIE_LIGHT **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/Light.cpp:224:21: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/scene/Light.cpp:229:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:235:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Light.cpp:240:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:244:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:251:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:256:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:256:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Light.cpp:256:31: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Light.cpp:256:31: warning: no header providing "malloc" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:261:4: warning: undefined behavior, destination object type 'EERIE_LIGHT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Light.cpp:262:31: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:264:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:272:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:274:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:275:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:276:39: warning: no header providing "TYP_SPECIAL1" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:284:48: warning: parameter name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:286:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:286:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:290:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:290:17: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Light.cpp:290:32: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Light.cpp:291:3: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:291:3: warning: undefined behavior, destination object type 'EERIE_LIGHT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Light.cpp:291:3: warning: undefined behavior, source object type 'const EERIE_LIGHT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Light.cpp:298:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:307:7: warning: function 'my_CheckInPoly' has cognitive complexity of 56 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Light.cpp:307:28: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:307:37: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:307:46: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:309:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:309:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Light.cpp:309:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:309:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:309:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:309:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:310:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:323:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:338:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:338:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:339:2: warning: no header providing "EERIE_BKG_INFO" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:339:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:339:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:346:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:346:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:347:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:351:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:355:22: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:355:51: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:358:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:358:11: warning: variable 'nbvert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:361:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:361:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Light.cpp:361:11: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:361:11: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:361:14: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:361:14: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:365:7: warning: variable 'fDiff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:367:12: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Light.cpp:367:12: warning: no header providing "fabs" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:368:10: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Light.cpp:369:10: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Light.cpp:372:11: warning: no header providing "dot" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:373:33: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:376:13: warning: no header providing "Visible" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:390:13: warning: function 'ARX_EERIE_LIGHT_Make' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Light.cpp:390:13: warning: function 'ARX_EERIE_LIGHT_Make' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Light.cpp:390:46: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:392:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:392:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:393:7: warning: variable 'nbvert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:394:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.cpp:395:8: warning: variable 'fRes' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:397:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:404:17: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:416:5: warning: variable 'vLight' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:420:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Light.cpp:429:58: warning: no header providing "EXTRAS_NOCASTED" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:431:5: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Light.cpp:433:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:435:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:436:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:441:4: warning: variable 'fTemp1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:442:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Light.cpp:442:10: warning: variable 'fr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:442:10: warning: variable name 'fr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:442:14: warning: variable 'fg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:442:14: warning: variable name 'fg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:442:18: warning: variable 'fb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:442:18: warning: variable name 'fb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:452:5: warning: variable 'intensity' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:453:5: warning: variable 'fTemp2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:468:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Light.cpp:468:17: warning: variable name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:470:2: warning: no header providing "EERIETreatPoint" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:474:9: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:474:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:475:3: warning: variable 'siz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:478:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:488:7: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/scene/Light.cpp:488:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:489:59: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:503:6: warning: function 'TreatBackgroundDynlights' has cognitive complexity of 64 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Light.cpp:505:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:505:7: warning: variable 'n' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:505:7: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:507:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:509:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Light.cpp:513:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:515:8: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:515:36: warning: no header providing "ACTIVECAM" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:528:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:528:17: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:532:9: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:532:40: warning: no header providing "SM_CUSTOM" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:545:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:545:17: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:554:22: warning: no header providing "GetFreeDynLight" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:567:34: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:567:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:573:24: warning: no header providing "componentwise_max" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:586:6: warning: function 'PrecalcDynamicLighting' has cognitive complexity of 40 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Light.cpp:586:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:586:34: warning: parameter name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:586:38: warning: 2 adjacent parameters of 'PrecalcDynamicLighting' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Light.cpp:586:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:586:43: warning: parameter name 'z0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:586:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:586:52: warning: parameter name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:586:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:586:61: warning: parameter name 'z1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:591:2: warning: variable 'fx0' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:591:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:591:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:592:2: warning: variable 'fz0' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:592:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:592:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:593:2: warning: variable 'fx1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:593:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:593:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:594:2: warning: variable 'fz1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:594:14: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:594:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:596:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:598:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:603:4: warning: variable 'bDist' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:603:18: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:617:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:617:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:619:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:623:5: warning: variable 'tim' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:623:18: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Light.cpp:623:18: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/Light.cpp:623:25: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Light.cpp:623:42: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:624:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Light.cpp:624:5: warning: variable 'duration' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:624:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Light.cpp:630:6: warning: variable 'sub' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:633:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:637:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:641:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:656:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:656:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Light.cpp:656:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:656:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:656:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:656:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:657:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:657:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:658:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:658:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:660:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:665:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:672:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:680:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:680:36: warning: 2 adjacent parameters of 'EERIEPrecalcLights' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Light.cpp:680:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:680:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:680:58: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:682:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:682:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:684:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:685:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:687:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:688:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:690:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:691:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:693:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:694:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:696:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:698:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Light.cpp:716:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:718:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:722:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:724:17: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:735:22: warning: 3 adjacent parameters of 'RecalcLightZone' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Light.cpp:735:28: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:735:37: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:735:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:737:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.cpp:737:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Light.cpp:737:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:737:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:737:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:737:10: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:737:13: warning: variable 'x0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:737:13: warning: variable name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:737:17: warning: variable 'x1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:737:17: warning: variable name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:737:21: warning: variable 'z0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:737:21: warning: variable name 'z0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:737:25: warning: variable 'z1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:737:25: warning: variable name 'z1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:739:6: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:740:6: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Light.cpp:747:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:748:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:750:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:751:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:753:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:754:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:756:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:757:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:759:2: warning: variable 'oldml' of type 'LightMode' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:767:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:767:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:768:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Light.cpp:768:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.cpp:770:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Light.cpp:771:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Light.cpp:771:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Light.cpp:779:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.h:61:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.h:61:22: warning: variable 'PDL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.h:62:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.h:62:22: warning: variable 'GLight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.h:63:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.h:63:20: warning: variable 'DynLight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.h:64:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Light.h:64:22: warning: variable 'IO_PDL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.h:65:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.h:65:13: warning: variable 'TOTPDL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.h:66:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.h:66:13: warning: variable 'TOTIOPDL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Light.h:68:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.h:70:36: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.h:75:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.h:77:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.h:78:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.h:79:48: warning: parameter name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.h:81:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.h:83:28: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.h:83:37: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Light.h:83:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Light.h:85:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LinkedObject.cpp:65:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LinkedObject.cpp:74:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LinkedObject.cpp:74:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LinkedObject.cpp:77:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LinkedObject.cpp:83:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LinkedObject.cpp:83:13: warning: function 'EERIE_LINKEDOBJ_Create' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/LinkedObject.cpp:85:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LinkedObject.cpp:85:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LinkedObject.cpp:87:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LinkedObject.cpp:87:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/LinkedObject.cpp:87:17: warning: no header providing "EERIE_LINKED" is directly included [misc-include-cleaner] +Arx/src/scene/LinkedObject.cpp:87:32: warning: 'obj->linked' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/scene/LinkedObject.cpp:87:32: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/scene/LinkedObject.cpp:90:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LinkedObject.cpp:91:34: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LinkedObject.cpp:100:13: warning: function 'EERIE_LINKEDOBJ_Remove' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/LinkedObject.cpp:100:55: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LinkedObject.cpp:102:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LinkedObject.cpp:102:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LinkedObject.cpp:104:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LinkedObject.cpp:104:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LinkedObject.cpp:106:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LinkedObject.cpp:108:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LinkedObject.cpp:113:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LinkedObject.cpp:118:2: warning: undefined behavior, destination object type 'EERIE_LINKED' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/LinkedObject.cpp:118:2: warning: undefined behavior, source object type 'EERIE_LINKED' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/LinkedObject.cpp:119:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LinkedObject.cpp:119:16: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/LinkedObject.cpp:119:32: warning: 'obj->linked' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/scene/LinkedObject.cpp:119:32: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/scene/LinkedObject.cpp:130:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LinkedObject.cpp:132:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/LinkedObject.cpp:141:93: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/scene/LinkedObject.cpp:141:154: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LinkedObject.cpp:143:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LinkedObject.cpp:145:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LinkedObject.cpp:145:2: warning: variable 'ni' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LinkedObject.cpp:145:7: warning: variable name 'ni' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LinkedObject.cpp:152:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LinkedObject.cpp:152:2: warning: variable 'n' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LinkedObject.cpp:152:7: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LinkedObject.cpp:154:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LinkedObject.cpp:158:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LinkedObject.cpp:160:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LinkedObject.cpp:160:2: warning: variable 'ni2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LinkedObject.cpp:162:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LinkedObject.h:58:156: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LinkedObject.h:58:161: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:61:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:97:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:99:14: warning: variable 'PROGRESS_BAR_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:100:14: warning: variable 'PROGRESS_BAR_TOTAL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:101:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:101:13: warning: variable 'DONT_ERASE_PLAYER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:103:24: warning: redundant 'QuakeFx' declaration [readability-redundant-declaration] +Arx/src/scene/LoadLevel.cpp:103:24: warning: variable 'QuakeFx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:104:13: warning: variable 'bGToggleCombatModeWithKey' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:105:13: warning: variable 'bGCroucheToggle' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:107:15: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:109:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:109:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/LoadLevel.cpp:109:7: warning: variable 'px' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/LoadLevel.cpp:109:7: warning: variable name 'px' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:109:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/LoadLevel.cpp:109:11: warning: variable name 'pz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:110:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:110:16: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:122:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:134:2: warning: no header providing "EERIE_BKG_INFO" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:134:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/LoadLevel.cpp:134:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:136:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:136:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LoadLevel.cpp:137:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:141:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LoadLevel.cpp:155:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:155:6: warning: function 'DanaeSaveLevel' has cognitive complexity of 78 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/LoadLevel.cpp:157:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:157:2: warning: variable 'nb_inter' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:158:21: warning: variable name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:164:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:166:22: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:181:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:183:22: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:194:2: warning: uninitialized record type: 'dlh' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:195:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:196:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:197:2: warning: no header providing "BOOST_STATIC_ASSERT" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:200:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:201:20: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:201:20: warning: no header providing "BKG_CountPolys" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:203:24: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:203:24: warning: no header providing "BKG_CountIgnoredPolys" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:204:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:206:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:206:2: warning: variable 'bcount' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:206:16: warning: no header providing "CountBkgVertex" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:208:65: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:209:49: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/scene/LoadLevel.cpp:214:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:227:2: warning: no header providing "strcpy" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:231:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:239:13: warning: narrowing conversion from 'time_t' (aka 'long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:239:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:245:2: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:250:3: warning: uninitialized record type: 'dls' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:252:3: warning: no header providing "strncpy" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:261:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:263:4: warning: uninitialized record type: 'dli' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:279:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:281:21: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:290:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/LoadLevel.cpp:292:4: warning: uninitialized record type: 'dlf' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:297:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:303:18: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:305:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:311:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:314:4: warning: uninitialized record type: 'dln' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:321:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/LoadLevel.cpp:323:5: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/LoadLevel.cpp:336:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:338:3: warning: uninitialized record type: 'dlp' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:340:15: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:340:16: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:345:21: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:346:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:356:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:358:4: warning: uninitialized record type: 'dlpw' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:363:4: warning: variable 'fValue' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:395:24: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:410:2: warning: uninitialized record type: 'llh' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:415:18: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:416:20: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:419:13: warning: narrowing conversion from 'time_t' (aka 'long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:419:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:426:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/LoadLevel.cpp:428:17: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:430:25: warning: no header providing "TYP_SPECIAL1" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:434:3: warning: uninitialized record type: 'dlight' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:455:2: warning: uninitialized record type: 'dll' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:457:18: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:458:18: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:459:17: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:463:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:464:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:466:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:466:21: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:466:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:466:26: warning: redundant explicit casting to the same type 'EERIE_BKG_INFO *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/LoadLevel.cpp:467:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:467:13: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:469:17: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:471:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:471:6: warning: variable 'nbvert' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:471:32: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:472:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:473:17: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:496:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:501:24: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:515:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:521:2: warning: variable 'file' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:528:45: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/scene/LoadLevel.cpp:528:50: warning: no header providing "std::endl" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:529:46: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/scene/LoadLevel.cpp:529:59: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/scene/LoadLevel.cpp:530:45: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/scene/LoadLevel.cpp:533:88: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/scene/LoadLevel.cpp:537:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:537:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:537:37: warning: parameter name 'fl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:540:2: warning: no header providing "EERIE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:540:17: warning: variable 'script' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/LoadLevel.cpp:576:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LoadLevel.cpp:578:2: warning: no header providing "ARX_SCRIPT_ComputeShortcuts" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:584:52: warning: no header providing "EntityInstance" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:585:48: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:592:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:592:2: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:592:7: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:597:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:599:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:601:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:611:2: warning: variable 'tmp' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:612:2: warning: variable 'id' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:612:9: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:613:5: warning: no header providing "PakDirectory" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:614:6: warning: no header providing "PakFile" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:615:4: warning: no header providing "loadScript" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:616:49: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:616:71: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:620:5: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:620:27: warning: no header providing "SM_LOAD" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:620:39: warning: no header providing "ACCEPT" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:620:60: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:621:3: warning: variable 'pbox' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:621:30: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:623:20: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:631:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:631:13: warning: variable 'LastLoadedLightningNb' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/LoadLevel.cpp:631:13: warning: variable 'LastLoadedLightningNb' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:632:14: warning: variable 'LastLoadedLightning' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/LoadLevel.cpp:632:14: warning: variable 'LastLoadedLightning' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:632:14: warning: variable 'LastLoadedLightning' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:632:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:633:7: warning: initialization of 'loddpos' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/LoadLevel.cpp:633:7: warning: variable 'loddpos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:634:7: warning: initialization of 'MSP' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/LoadLevel.cpp:634:7: warning: variable 'MSP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:636:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:636:13: warning: variable 'FASTmse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:638:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:638:6: warning: function 'DanaeLoadLevel' has cognitive complexity of 98 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/LoadLevel.cpp:644:2: warning: variable 'lightingFileName' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:663:2: warning: uninitialized record type: 'dlh' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/LoadLevel.cpp:671:3: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:672:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:691:5: warning: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare] +Arx/src/scene/LoadLevel.cpp:691:5: warning: no header providing "strcmp" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:701:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:704:3: warning: variable 'scene' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:706:6: warning: no header providing "FastSceneLoad" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:721:3: warning: no header providing "EERIEPOLY_Compute_PolyIn" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:731:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:732:84: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:732:110: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:733:84: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:733:110: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:734:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:734:9: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:734:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:734:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:734:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:734:44: warning: no header providing "BKG_SIZX" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:735:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:735:9: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:735:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:735:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:735:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:735:44: warning: no header providing "BKG_SIZZ" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:738:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:738:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:738:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:738:70: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:739:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:739:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:739:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:739:70: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:753:18: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/scene/LoadLevel.cpp:761:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:767:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:772:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:779:4: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:784:4: warning: variable 'classPath' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:791:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:793:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:801:10: warning: variable name 'll' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:801:37: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:801:37: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/LoadLevel.cpp:801:44: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/LoadLevel.cpp:801:44: warning: no header providing "malloc" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:804:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:804:15: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:804:15: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/LoadLevel.cpp:804:34: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:804:34: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/LoadLevel.cpp:808:12: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:810:12: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/LoadLevel.cpp:828:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:828:2: warning: variable 'nb_lights' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:836:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:838:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:841:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:841:4: warning: variable 'j' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:841:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:843:19: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:855:37: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:863:25: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:865:22: warning: no header providing "EXTRAS_SPAWNFIRE" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:866:20: warning: no header providing "EXTRAS_FLARE" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:867:22: warning: no header providing "EXTRAS_FIREPLACE" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:883:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:885:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:888:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:888:3: warning: variable 'n' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:888:8: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:891:14: warning: variable name 'fd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:892:16: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/scene/LoadLevel.cpp:908:4: warning: variable 'ta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:908:10: warning: variable name 'ta' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:908:15: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:908:23: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:909:34: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/LoadLevel.cpp:909:45: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/LoadLevel.cpp:910:4: warning: variable 'tb' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:910:10: warning: variable name 'tb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:911:34: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/LoadLevel.cpp:911:45: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/LoadLevel.cpp:921:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:921:2: warning: variable 'nb_nodes' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:922:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:926:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:930:24: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:932:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:946:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:946:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/LoadLevel.cpp:946:27: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/LoadLevel.cpp:950:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:952:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:955:3: warning: variable 'ppos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:956:14: warning: variable name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:973:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:973:38: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/LoadLevel.cpp:973:53: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/LoadLevel.cpp:974:3: warning: undefined behavior, destination object type 'ARX_PATHWAY' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/LoadLevel.cpp:976:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:978:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:981:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:996:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:1005:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:1005:10: warning: redundant explicit casting to the same type 'char *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/LoadLevel.cpp:1034:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:1037:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1037:3: warning: variable 'j' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:1037:8: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:1039:18: warning: variable name 'el' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:1057:36: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1066:31: warning: no header providing "EXTRAS_STARTEXTINGUISHED" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:1085:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:1088:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1093:8: warning: variable name 'll' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:1093:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:1093:35: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/LoadLevel.cpp:1093:42: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/LoadLevel.cpp:1095:13: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:1095:13: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/LoadLevel.cpp:1095:32: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:1095:32: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/LoadLevel.cpp:1099:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/LoadLevel.cpp:1101:10: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/LoadLevel.cpp:1107:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:1130:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1130:6: warning: variable 'FAST_RELEASE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1131:17: warning: redundant 'FlyingOverIO' declaration [readability-redundant-declaration] +Arx/src/scene/LoadLevel.cpp:1131:17: warning: variable 'FlyingOverIO' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1131:17: warning: variable 'FlyingOverIO' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1132:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1132:22: warning: variable 'LAST_JUMP_ENDTIME' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1134:22: warning: variable 'stone0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1134:22: warning: variable 'stone0' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1135:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1135:13: warning: variable 'stone0_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1136:22: warning: variable 'stone1' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1136:22: warning: variable 'stone1' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1137:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1137:13: warning: variable 'stone1_count' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1139:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1139:13: warning: variable 'JUST_RELOADED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.cpp:1141:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1153:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:1157:2: warning: no header providing "InitBkg" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:1157:21: warning: no header providing "MAX_BKGX" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:1157:31: warning: no header providing "MAX_BKGZ" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:1162:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:1164:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:1177:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:1178:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:1188:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/LoadLevel.cpp:1206:6: warning: function 'RestoreLastLoadedLightning' has cognitive complexity of 32 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/LoadLevel.cpp:1208:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1209:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1211:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LoadLevel.cpp:1213:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:1213:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LoadLevel.cpp:1218:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:1223:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/LoadLevel.cpp:1223:19: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:1225:21: warning: variable name 'eb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:1229:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/LoadLevel.cpp:1229:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:1230:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1230:7: warning: variable 'nbvert' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/LoadLevel.cpp:1232:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1232:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LoadLevel.cpp:1233:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1235:9: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:1235:9: warning: redundant explicit casting to the same type 'EERIE_BKG_INFO *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/LoadLevel.cpp:1237:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1237:14: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:1241:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LoadLevel.cpp:1242:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LoadLevel.cpp:1244:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1246:10: warning: variable name 'dc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.cpp:1253:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LoadLevel.cpp:1261:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/LoadLevel.cpp:1264:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/LoadLevel.cpp:1268:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1272:5: warning: switch has 2 consecutive identical branches [bugprone-branch-clone] +Arx/src/scene/LoadLevel.cpp:1283:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/LoadLevel.cpp:1283:66: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:1283:67: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.cpp:1283:73: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:1283:73: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/LoadLevel.h:58:14: warning: variable 'loddpos' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.h:62:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.h:62:6: warning: function 'DanaeSaveLevel' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/scene/LoadLevel.h:64:27: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.h:65:28: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.h:65:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.h:65:37: warning: parameter name 'fl' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/LoadLevel.h:68:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.h:69:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.h:73:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/LoadLevel.h:73:13: warning: variable 'FAST_RELEASE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/LoadLevel.h:79:14: warning: variable 'MSP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Object.cpp:54:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:84:12: warning: using decl 'sprintf' is unused [misc-unused-using-decls] +Arx/src/scene/Object.cpp:87:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:94:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:100:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:109:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:115:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Object.cpp:115:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/Object.cpp:125:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:125:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:131:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:132:16: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:133:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Object.cpp:145:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:147:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:147:2: warning: variable 'lVRight' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:148:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:148:2: warning: variable 'lURight' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:149:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:149:2: warning: variable 'lViewAttach' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:150:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:150:2: warning: variable 'lPrimAttach' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:151:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:151:2: warning: variable 'lLeftAttach' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:153:49: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:154:49: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:155:53: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:156:56: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:157:53: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:160:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:160:2: warning: variable 'lWeapAttach' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:161:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:161:2: warning: variable 'lSecAttach' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:162:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:162:2: warning: variable 'lJaw' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:163:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:163:2: warning: variable 'lMouthAll' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:165:56: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:166:58: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:167:53: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:168:54: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:171:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:175:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:175:3: warning: variable 'lMouthOrigin' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:176:61: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:179:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:179:2: warning: variable 'lHeadGroup' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:180:52: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:182:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:186:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:186:3: warning: variable 'lHeadOrigin' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:187:60: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:191:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:191:2: warning: variable 'lFire' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:192:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:192:2: warning: variable 'lCarryAttach' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:193:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:193:2: warning: variable 'lHead' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:194:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:194:2: warning: variable 'lChest' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:195:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:195:2: warning: variable 'lLeggings' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:197:46: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:198:54: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:199:50: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:200:51: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:201:54: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:204:31: warning: parameter name 'ea' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:211:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:214:3: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:222:44: warning: parameter name 'ea' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:222:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:222:53: warning: parameter name 'f1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:222:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:222:62: warning: parameter name 'f2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:224:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:226:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:228:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:230:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:232:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:236:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:245:12: warning: function 'allocStructZero' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:245:12: warning: function 'allocStructZero' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:245:12: warning: function 'allocStructZero' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:245:12: warning: function 'allocStructZero' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:245:12: warning: function 'allocStructZero' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:245:12: warning: function 'allocStructZero' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:245:12: warning: function 'allocStructZero' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:245:12: warning: function 'allocStructZero' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:245:12: warning: function 'allocStructZero' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:245:12: warning: function 'allocStructZero' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:246:15: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Object.cpp:246:19: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Object.cpp:246:19: warning: no header providing "malloc" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:246:30: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/scene/Object.cpp:247:2: warning: undefined behavior, destination object type 'EERIE_3DSCENE' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:247:2: warning: undefined behavior, destination object type 'EERIE_FRAME' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:247:2: warning: undefined behavior, destination object type 'EERIE_GROUP' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:247:2: warning: undefined behavior, destination object type 'EERIE_MULTI3DSCENE' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:247:9: warning: multilevel pointer conversion from 'EERIE_3DOBJ **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/Object.cpp:247:9: warning: multilevel pointer conversion from 'TextureContainer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/Object.cpp:247:24: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/scene/Object.cpp:252:12: warning: function 'copyStruct' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:252:12: warning: function 'copyStruct' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:252:12: warning: function 'copyStruct' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:253:15: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Object.cpp:253:19: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/scene/Object.cpp:254:2: warning: undefined behavior, destination object type 'PHYSVERT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:254:2: warning: undefined behavior, source object type 'const PHYSVERT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:258:14: warning: function 'TheaToEerie' has cognitive complexity of 55 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Object.cpp:266:2: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:268:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:268:22: warning: variable name 'th' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:272:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:285:47: warning: performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 's32' (aka 'int') [bugprone-implicit-widening-of-multiplication-result] +Arx/src/scene/Object.cpp:291:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:294:3: warning: uninitialized record type: 'kf2015' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Object.cpp:295:30: warning: variable 'tkf2015' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Object.cpp:302:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:319:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:319:3: warning: variable 'lKeyOrient' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:320:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:320:3: warning: variable 'lKeyMove' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:321:50: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:322:53: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:324:3: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:324:3: warning: variable 'time_frame' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:325:27: warning: narrowing conversion from 's32' (aka 'int') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:326:23: warning: narrowing conversion from 's32' (aka 'int') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:337:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:350:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:365:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:367:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:370:18: warning: variable name 'eg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:378:3: warning: variable 'num_sample' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:385:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:385:24: warning: variable name 'ts' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:398:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:402:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:402:9: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:407:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:407:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:413:11: warning: variable name 'r1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:414:11: warning: variable name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:415:5: warning: variable 'tot' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:424:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:424:9: warning: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:429:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:429:9: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:435:11: warning: variable name 'r1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:436:11: warning: variable name 'r2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:437:5: warning: variable 'tot' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:449:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:455:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:458:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:459:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:459:4: warning: variable 'pos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:477:21: warning: narrowing conversion from 's32' (aka 'int') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:478:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Object.cpp:487:38: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:489:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:526:13: warning: function 'ReCreateUVs' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:539:3: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:539:3: warning: variable 'scale' of type 'Vec2f' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:539:37: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:539:59: warning: narrowing conversion from 'u32' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:541:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:542:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:543:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:544:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:545:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:546:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:550:13: warning: function 'loadObjectData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:550:13: warning: function 'loadObjectData' has cognitive complexity of 72 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Object.cpp:550:82: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:556:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:556:23: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:559:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:559:18: warning: variable name 'tn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:570:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:571:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:572:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:573:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:578:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:591:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:592:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:606:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:608:3: warning: uninitialized record type: 'tf3006' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Object.cpp:609:27: warning: variable 'ptf3006' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Object.cpp:615:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:636:26: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'TBOOL' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:641:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:641:32: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Object.cpp:642:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:642:32: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Object.cpp:643:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:643:32: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Object.cpp:645:3: warning: variable 'num_map' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:645:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:648:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:648:32: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:654:27: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Object.cpp:660:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/scene/Object.cpp:690:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:690:31: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:691:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:691:31: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:692:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:692:31: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:693:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:693:31: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:694:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:694:31: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:695:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:695:31: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.cpp:726:129: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:757:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:759:3: warning: uninitialized record type: 'tg3011' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Object.cpp:760:28: warning: variable 'ptg3011' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Object.cpp:765:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:776:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:776:13: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/Object.cpp:776:13: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Object.cpp:776:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:776:39: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/Object.cpp:776:39: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Object.cpp:776:46: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:777:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:783:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:783:12: warning: loop variable name 'o' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:794:2: warning: variable 'THEO_nb_selected' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:798:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:800:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:807:14: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/Object.cpp:807:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Object.cpp:807:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:807:40: warning: C-style casts are discouraged; use reinterpret_cast [google-readability-casting] +Arx/src/scene/Object.cpp:807:40: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Object.cpp:807:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:808:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:815:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:817:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:834:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:839:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:840:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:841:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:850:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:855:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:856:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:857:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:871:24: warning: function 'ScnToEerie' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:871:24: warning: function 'ScnToEerie' has cognitive complexity of 38 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Object.cpp:879:2: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:882:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:891:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:902:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:904:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:904:25: warning: variable name 'tt' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:907:4: warning: variable 'mapsname' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:917:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:921:12: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:925:12: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:940:2: warning: variable 'nbo' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:948:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:948:7: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:950:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:952:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:960:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:962:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:962:8: warning: variable 'objVersion' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Object.cpp:983:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1000:16: warning: no header providing "SavedColor" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:1002:2: warning: variable 'nbl' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1005:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1008:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1010:3: warning: uninitialized record type: 'sl3024' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Object.cpp:1011:27: warning: variable 'tsl3024' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Object.cpp:1017:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:1029:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:1044:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:1045:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:1046:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:1048:21: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/scene/Object.cpp:1049:19: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/scene/Object.cpp:1051:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1051:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1056:21: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/scene/Object.cpp:1067:13: warning: function 'ReleaseScene' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:1069:7: warning: multilevel pointer conversion from 'TextureContainer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/Object.cpp:1069:59: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1071:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1075:7: warning: multilevel pointer conversion from 'EERIE_3DOBJ **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/Object.cpp:1075:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1076:7: warning: multilevel pointer conversion from 'TextureContainer **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/Object.cpp:1076:59: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1079:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1080:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1082:8: warning: multilevel pointer conversion from 'EERIE_LIGHT **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/Object.cpp:1082:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1088:45: warning: parameter name 'ms' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1091:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1093:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1100:29: warning: function 'PAK_MultiSceneToEerie_Impl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:1102:2: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:1102:23: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1106:2: warning: no header providing "PakDirectory" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:1109:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/Object.cpp:1139:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1157:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1167:23: warning: variable name 'em' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1167:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1171:2: warning: no header providing "EERIEPOLY_Compute_PolyIn" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:1189:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1194:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1197:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1198:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1204:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1205:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1206:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1207:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1208:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1229:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1231:40: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:1237:14: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1241:2: warning: undefined behavior, destination object type 'EERIE_3DSCENE' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:1249:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1273:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:1279:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1280:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1281:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1282:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1283:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1284:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1285:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1286:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1298:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:1303:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:1315:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:1315:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1322:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:1344:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1346:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1350:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1358:11: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:1365:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1371:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1380:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1382:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:1382:22: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Object.cpp:1382:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1382:30: warning: 'bone->idxvertices' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/scene/Object.cpp:1382:30: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/scene/Object.cpp:1382:30: warning: no header providing "realloc" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:1382:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1391:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1391:36: warning: 2 adjacent parameters of 'GetFather' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Object.cpp:1391:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1391:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1393:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1413:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1414:82: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1417:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1418:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1419:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1422:6: warning: function 'EERIE_CreateCedricData' has cognitive complexity of 46 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Object.cpp:1432:3: warning: undefined behavior, destination object type 'EERIE_BONE' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:1435:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:1436:42: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:1445:43: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1454:3: warning: undefined behavior, destination object type 'EERIE_BONE' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:1459:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1461:4: warning: no header providing "EERIE_VERTEX" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:1487:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1487:9: warning: variable name 'ok' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1489:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1491:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Object.cpp:1493:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:1500:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:1506:43: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:1510:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1512:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1512:5: warning: variable 'father' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1525:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1527:4: warning: uninitialized record type: 'qt1' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Object.cpp:1550:3: warning: undefined behavior, destination object type 'EERIE_3DPAD' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:1552:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1553:4: warning: variable 'vector' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1555:13: warning: loop variable name 'v' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1557:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1557:5: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1572:22: warning: function 'TheoToEerie' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:1572:22: warning: function 'TheoToEerie' has cognitive complexity of 63 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Object.cpp:1572:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1572:63: warning: 2 adjacent parameters of 'TheoToEerie' of similar type ('const res::path &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Object.cpp:1577:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1580:2: warning: variable 'txpath' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1583:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1588:8: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:1594:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1597:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:1608:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1618:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1622:12: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:1626:12: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:1646:8: warning: variable 'count' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Object.cpp:1647:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1647:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Object.cpp:1647:7: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Object.cpp:1647:7: warning: variable name 'j' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1647:10: warning: variable 'j2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Object.cpp:1647:10: warning: variable name 'j2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1651:17: warning: variable name 'p0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1652:17: warning: variable name 'p1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1653:17: warning: variable name 'p2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1654:29: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:1665:3: warning: variable 'area' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1677:6: warning: variable 'area2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1681:11: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:1703:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1703:2: warning: variable 'neck_orgn' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1704:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.cpp:1704:2: warning: variable 'head_idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1709:3: warning: variable 'origin' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1710:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Object.cpp:1710:3: warning: variable 'count' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1710:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Object.cpp:1719:4: warning: variable 'max_threshold' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1723:20: warning: variable name 'ev' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1724:5: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1724:11: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.cpp:1732:5: warning: variable 'ifactor' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1746:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1751:22: warning: function 'GetExistingEerie' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:1754:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1762:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1767:22: warning: function 'TheoToEerie_Fast' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:1792:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1795:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:1798:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Object.cpp:1833:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Object.cpp:1833:14: warning: initialization of 'actions' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/Object.cpp:1833:14: warning: variable 'actions' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Object.cpp:1836:2: warning: undefined behavior, destination object type 'ACTIONSTRUCT[100]' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +Arx/src/scene/Object.cpp:1838:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Object.cpp:1838:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:1843:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.cpp:1845:2: warning: variable 'offset' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:1847:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Object.h:52:6: warning: enum 'ActionType' 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/Object.h:59:8: warning: accessing fields in struct 'ACTIONSTRUCT' is inefficient due to padding; only needs 202 bytes but is using 208 bytes [altera-struct-pack-align] +Arx/src/scene/Object.h:59:8: warning: accessing fields in struct 'ACTIONSTRUCT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/Object.h:59:8: warning: constructor does not initialize these fields: dl, type, exist [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Object.h:62:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.h:64:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Object.h:69:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Object.h:69:23: warning: variable 'vert_list' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Object.h:70:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Object.h:70:21: warning: variable 'actions' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Object.h:74:45: warning: parameter name 'ms' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.h:77:38: warning: parameter name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.h:78:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.h:79:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.h:81:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.h:82:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.h:83:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.h:83:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Object.h:97:14: warning: function 'TheaToEerie' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/scene/Object.h:99:31: warning: parameter name 'ea' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Object.h:102:6: warning: function 'EERIE_Object_Precompute_Fast_Access' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/scene/ObjectFormat.h:61:9: warning: macro 'SAVE_MAP_IN_OBJECT' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/scene/ObjectFormat.h:62:9: warning: macro 'SAVE_MAP_BMP' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/scene/ObjectFormat.h:63:9: warning: macro 'SAVE_MAP_TGA' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/scene/ObjectFormat.h:71:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/scene/ObjectFormat.h:73:8: warning: accessing fields in struct 'ArxQuat' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:80:2: warning: function 'operator EERIE_QUAT' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/ObjectFormat.h:80:9: warning: 'operator EERIE_QUAT' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/ObjectFormat.h:81:3: warning: uninitialized record type: 'a' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/ObjectFormat.h:81:14: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ObjectFormat.h:86:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/ObjectFormat.h:86:48: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/ObjectFormat.h:93:8: warning: accessing fields in struct 'TheoAngle' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:102:8: warning: accessing fields in struct 'TSCN_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:116:8: warning: accessing fields in struct 'TSCN_OBJHEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:118:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:131:8: warning: accessing fields in struct 'TSCN_LIGHT' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:132:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:152:8: warning: accessing fields in struct 'TSCN_LIGHT_3019' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:153:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:174:8: warning: accessing fields in struct 'TSCN_LIGHT_3024' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:175:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:200:8: warning: accessing fields in struct 'THEO_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:201:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:209:8: warning: accessing fields in struct 'THEO_TEXTURE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:210:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:223:8: warning: accessing fields in struct 'THEO_SAVE_MAPS_IN' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:224:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:232:8: warning: accessing fields in struct 'THEO_SAVE_MAPS_IN_3019' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:233:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:242:8: warning: accessing fields in struct 'THEO_OFFSETS' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:251:8: warning: accessing fields in struct 'THEO_NB' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:260:8: warning: accessing fields in struct 'THEO_VERTEX' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:267:8: warning: accessing fields in struct 'THEO_ACTION_POINT' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:268:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:274:8: warning: accessing fields in struct 'THEO_FACE_UV' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:283:8: warning: accessing fields in struct 'THEO_FACE_RGB' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:289:8: warning: accessing fields in struct 'THEO_FACES' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:313:8: warning: accessing fields in struct 'THEO_FACES_3006' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:338:8: warning: accessing fields in struct 'THEO_EXTRA_DATA' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:344:8: warning: accessing fields in struct 'THEO_EXTRA_DATA_3005' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:351:6: warning: enum 'TheoObjectType' 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/ObjectFormat.h:356:6: warning: enum 'TheoRenderType' 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/ObjectFormat.h:370:8: warning: accessing fields in struct 'THEO_GROUPS' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:375:8: warning: accessing fields in struct 'THEO_GROUPS_3011' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:386:8: warning: accessing fields in struct 'THEO_SELECTED' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:387:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:395:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/scene/ObjectFormat.h:397:8: warning: accessing fields in struct 'THEA_HEADER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:398:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:400:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:406:8: warning: accessing fields in struct 'THEA_KEYFRAME' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:417:8: warning: accessing fields in struct 'THEA_KEYFRAME_2015' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:420:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:429:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/scene/ObjectFormat.h:431:8: warning: accessing fields in struct 'THEO_GROUPANIM' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:433:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/ObjectFormat.h:439:8: warning: accessing fields in struct 'THEA_SAMPLE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/ObjectFormat.h:440:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +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:100:8: warning: accessing fields in struct 'ARX_VARIABLE_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:103:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:106:8: warning: accessing fields in struct 'ARX_SCRIPT_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:112:8: warning: accessing fields in struct 'SavedGlobalMods' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:117:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:119:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:119:57: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:120:11: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:127:2: warning: function 'operator GLOBAL_MODS' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:127:9: warning: 'operator GLOBAL_MODS' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:128:15: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:137:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_INDEX' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:147:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:150:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_LIGHT' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:152:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:155:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_IO_INDEX' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:156:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:161:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:164:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_PATH' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:165:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:166:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:167:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:170:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_SAVE_GLOBALS' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:173:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:176:8: warning: accessing fields in struct 'SavedMapMarkerData' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:183:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:185:17: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:185:67: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:186:3: warning: 'x' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/SaveFormat.h:187:3: warning: 'y' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/SaveFormat.h:188:3: warning: 'lvl' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/SaveFormat.h:195:8: warning: accessing fields in struct 'SavedCylinder' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:201:2: warning: function 'operator EERIE_CYLINDER' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:201:9: warning: 'operator EERIE_CYLINDER' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:202:18: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:207:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:207:58: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:214:8: warning: accessing fields in struct 'SavedIOPhysics' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:222:2: warning: function 'operator IO_PHYSICS' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:222:9: warning: 'operator IO_PHYSICS' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:223:14: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:232:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:232:55: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:246:8: warning: accessing fields in struct 'SavedMiniMap' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:258:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:260:2: warning: function 'operator MiniMapData' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:260:9: warning: 'operator MiniMapData' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:261:3: warning: uninitialized record type: 'a' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/SaveFormat.h:261:24: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:262:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/SaveFormat.h:275:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:275:63: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:293:8: warning: accessing fields in struct 'SavedPrecast' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:301:2: warning: function 'operator PRECAST_STRUCT' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:301:9: warning: 'operator PRECAST_STRUCT' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:302:18: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:303:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/SaveFormat.h:311:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:311:57: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:313:11: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:315:11: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:316:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:328:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_PLAYER' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:375:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:376:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:377:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:378:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:379:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:380:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:387:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:393:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:394:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:395:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:396:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:398:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:401:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:402:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:407:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:411:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:415:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_INVENTORY_DATA_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:417:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:420:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:421:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:422:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:424:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:425:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:426:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:427:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:431:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_TIMERS_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:433:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:449:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_SCRIPT_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:455:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_VARIABLE_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:458:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:461:8: warning: accessing fields in struct 'SavedModInfo' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:469:2: warning: function 'operator EERIE_MOD_INFO' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:469:9: warning: 'operator EERIE_MOD_INFO' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:470:18: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:479:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:479:57: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:480:17: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:490:8: warning: accessing fields in struct 'IO_LINKED_DATA' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:495:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:500:8: warning: accessing fields in struct 'SavedAnimUse' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:513:2: warning: function 'operator ANIM_USE' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:513:9: warning: 'operator ANIM_USE' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:514:3: warning: uninitialized record type: 'a' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/SaveFormat.h:514:12: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:515:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/SaveFormat.h:516:16: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/SaveFormat.h:528:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:528:51: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:533:11: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:536:15: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:538:8: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:544:8: warning: accessing fields in struct 'SavedSpellcastData' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:547:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:553:2: warning: function 'operator IO_SPELLCAST_DATA' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:553:9: warning: 'operator IO_SPELLCAST_DATA' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:554:21: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:555:54: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/SaveFormat.h:557:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/SaveFormat.h:558:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/SaveFormat.h:559:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/SaveFormat.h:560:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/SaveFormat.h:568:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:568:66: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:572:17: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:574:12: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:575:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:581:8: warning: accessing fields in struct 'SavedHalo' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:589:2: warning: function 'operator IO_HALO' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:589:9: warning: 'operator IO_HALO' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:590:11: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:599:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:599:47: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:603:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:610:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_IO_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:615:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:629:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:640:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:648:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:649:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:651:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:667:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:676:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:677:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:678:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:679:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:684:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:685:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:689:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:691:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:697:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:701:8: warning: accessing fields in struct 'SavedBehaviour' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:709:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:711:2: warning: function 'operator IO_BEHAVIOR_DATA' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:711:9: warning: 'operator IO_BEHAVIOR_DATA' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:712:20: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:718:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/SaveFormat.h:724:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:724:61: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:725:11: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:728:13: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:729:12: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:738:8: warning: accessing fields in struct 'SavedPathfindTarget' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:740:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:743:2: warning: function 'operator IO_PATHFIND' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:743:9: warning: 'operator IO_PATHFIND' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:744:15: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:745:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/SaveFormat.h:747:12: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/SaveFormat.h:752:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:752:61: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:754:16: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:762:8: warning: accessing fields in struct 'SavedExtraRotate' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:765:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:766:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:768:2: warning: function 'operator EERIE_EXTRA_ROTATE' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:768:9: warning: 'operator EERIE_EXTRA_ROTATE' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:769:22: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:777:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:777:65: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:778:11: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:787:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_NPC_IO_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:794:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:811:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:817:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:818:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:836:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:840:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:844:8: warning: accessing fields in struct 'SavedEquipItemElement' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:850:2: warning: function 'operator IO_EQUIPITEM_ELEMENT' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:850:9: warning: 'operator IO_EQUIPITEM_ELEMENT' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:851:24: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:858:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:858:72: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:860:11: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:869:8: warning: accessing fields in struct 'SavedEquipItem' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:871:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:873:2: warning: function 'operator IO_EQUIPITEM' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:873:9: warning: 'operator IO_EQUIPITEM' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:874:16: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:880:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:880:57: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:888:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_ITEM_IO_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:897:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:900:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_FIX_IO_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:902:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:903:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:906:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_MARKER_IO_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 4 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:910:8: warning: accessing fields in struct 'SavedRect' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:917:2: warning: function 'operator Rectangle_' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:917:9: warning: 'operator Rectangle_' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:918:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:926:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:926:44: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:936:8: warning: accessing fields in struct 'SavedTweakerInfo' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:940:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:941:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:942:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:944:17: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:944:58: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:955:8: warning: accessing fields in struct 'SavedGroupData' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:959:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:963:8: warning: accessing fields in struct 'SavedTweakInfo' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:968:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:969:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:971:17: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:971:51: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:972:3: warning: 'type' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/scene/SaveFormat.h:972:10: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:981:8: warning: accessing fields in struct 'SavedMatrix' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:988:2: warning: function 'operator EERIEMATRIX' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:988:9: warning: 'operator EERIEMATRIX' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:989:3: warning: uninitialized record type: 'a' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/SaveFormat.h:989:15: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:997:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:997:53: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:1007:8: warning: accessing fields in struct 'SavedTransform' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:1019:2: warning: function 'operator EERIE_TRANSFORM' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:1019:9: warning: 'operator EERIE_TRANSFORM' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:1020:19: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:1028:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:1028:60: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:1038:8: warning: accessing fields in struct 'SavedCamera' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:1088:2: warning: function 'operator EERIE_CAMERA' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:1088:9: warning: 'operator EERIE_CAMERA' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/scene/SaveFormat.h:1090:16: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:1127:2: warning: function 'operator=' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/scene/SaveFormat.h:1127:54: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/SaveFormat.h:1153:11: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:1153:28: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:1155:12: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:1156:10: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:1157:14: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:1158:13: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/SaveFormat.h:1168:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_CAMERA_IO_SAVE' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:1172:8: warning: accessing fields in struct 'ARX_CHANGELEVEL_PLAYER_LEVEL_DATA' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/scene/SaveFormat.h:1174:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/SaveFormat.h:1177:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Scene.cpp:85:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/scene/Scene.cpp:85:9: warning: macro 'MAX_OUT' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/scene/Scene.cpp:85:9: warning: macro 'MAX_OUT' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/scene/Scene.cpp:86:9: warning: macro 'VAL_THRESHOLD' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/scene/Scene.cpp:87:9: warning: macro 'PASSS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/scene/Scene.cpp:88:9: warning: macro 'PASS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/scene/Scene.cpp:91:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:91:13: warning: variable 'USE_LIGHT_OPTIM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:92:22: warning: variable 'eyeballobj' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:92:22: warning: variable 'eyeballobj' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:93:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:93:13: warning: variable 'NEED_TEST_TEXT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:94:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:94:13: warning: variable 'EXTERNALVIEW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:95:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:95:6: warning: variable 'LAST_PORTALS_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:97:26: warning: variable 'enviro' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:97:26: warning: variable 'enviro' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:98:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:98:13: warning: variable 'ZMAPMODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:99:8: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:99:14: warning: variable 'ulBKGColor' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:101:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Scene.cpp:101:13: warning: variable 'TransPol' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:101:22: warning: no header providing "MAX_TRANSPOL" is directly included [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:103:21: warning: variable 'portals' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:103:21: warning: variable 'portals' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:103:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:105:14: warning: variable 'WATEREFFECT' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:105:14: warning: variable 'WATEREFFECT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:107:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:107:6: warning: variable 'TRANSPOLYSPOS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:108:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:108:6: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:110:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:110:6: warning: variable 'LAST_ROOM' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:112:22: warning: no header providing "SMY_VERTEX3" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:112:37: warning: variable 'pDynamicVertexBuffer' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:112:37: warning: variable 'pDynamicVertexBuffer' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:116:8: warning: accessing fields in struct 'DynamicVertexBuffer' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/scene/Scene.cpp:116:8: warning: class 'DynamicVertexBuffer' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/scene/Scene.cpp:125:9: warning: member variable 'nbindices' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/scene/Scene.cpp:125:9: warning: use default member initializer for 'nbindices' [modernize-use-default-member-init] +Arx/src/scene/Scene.cpp:126:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:126:19: warning: member variable 'indices' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/scene/Scene.cpp:127:9: warning: member variable 'offset' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/scene/Scene.cpp:129:2: warning: constructor does not initialize these fields: start, offset [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Scene.cpp:129:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:129:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:133:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:136:18: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +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:151:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:163:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:166:7: warning: method 'draw' can be made const [readability-make-member-function-const] +Arx/src/scene/Scene.cpp:166:12: warning: no header providing "Renderer" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:187:3: warning: initialization of 'dynamicVertices' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/scene/Scene.cpp:187:3: warning: variable 'dynamicVertices' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:189:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/scene/Scene.cpp:191:1: warning: no header providing "EERIE_FRUSTRUM_PLANE" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:191:22: warning: variable 'efpPlaneNear' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:193:27: warning: variable 'vPolyWater' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:193:27: warning: variable 'vPolyWater' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:194:27: warning: variable 'vPolyLava' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:194:27: warning: variable 'vPolyLava' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:196:6: warning: variable 'bOLD_CLIPP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:198:6: warning: redundant 'PopAllTriangleListTransparency' declaration [readability-redundant-declaration] +Arx/src/scene/Scene.cpp:200:8: warning: no header providing "PORTAL_ROOM_DRAW" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:200:27: warning: variable 'RoomDraw' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:200:27: warning: variable 'RoomDraw' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:200:27: warning: variable 'RoomDraw' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:200:38: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:201:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:201:13: warning: variable 'NbRoomDraw' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:201:13: warning: variable 'NbRoomDraw' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:202:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:202:15: warning: variable 'RoomDrawList' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:202:15: warning: variable 'RoomDrawList' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:202:15: warning: variable 'RoomDrawList' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:202:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:203:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:203:13: warning: variable 'NbRoomDrawList' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:203:13: warning: variable 'NbRoomDrawList' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:204:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:204:6: warning: variable 'TotalRoomDrawList' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:208:27: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:211:13: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:212:13: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:215:13: warning: function 'ApplyLavaGlowToVertex' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:216:8: warning: variable 'f' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:216:8: warning: variable name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:217:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:217:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:217:7: warning: variable 'lr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:217:7: warning: variable name 'lr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:217:11: warning: variable 'lg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:217:11: warning: variable name 'lg' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:217:15: warning: variable 'lb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:217:15: warning: variable name 'lb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:218:17: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:219:6: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:220:16: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:222:6: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:223:16: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:225:6: warning: narrowing conversion from 'ColorBGRA' (aka 'unsigned int') to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:226:16: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:228:13: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/Scene.cpp:231:34: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:231:38: warning: 2 adjacent parameters of 'ManageLavaWater' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Scene.cpp:231:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:231:49: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:231:59: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Scene.cpp:233:18: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:233:45: warning: no header providing "POLY_LAVA" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:235:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:246:17: warning: no header providing "POLY_FALL" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:248:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:249:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:251:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:253:4: warning: different indentation for 'if' and corresponding 'else' [readability-misleading-indentation] +Arx/src/scene/Scene.cpp:253:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:254:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:256:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:261:43: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:261:47: warning: 2 adjacent parameters of 'ManageWater_VertexBuffer' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Scene.cpp:261:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:261:58: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:261:68: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Scene.cpp:261:87: warning: no header providing "SMY_VERTEX" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:263:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:271:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:278:42: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:278:46: warning: 2 adjacent parameters of 'ManageLava_VertexBuffer' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Scene.cpp:278:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:278:57: warning: parameter name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:278:67: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Scene.cpp:280:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:289:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:298:20: warning: variable 'ProjectionMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:299:38: warning: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:301:2: warning: no header providing "EERIE_TRANSFORM" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:301:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Scene.cpp:301:20: warning: variable name 'et' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:301:25: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Scene.cpp:301:25: warning: redundant explicit casting to the same type 'EERIE_TRANSFORM *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/scene/Scene.cpp:301:45: warning: no header providing "ACTIVECAM" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:304:2: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:309:2: warning: variable 'fZTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:317:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:317:31: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:323:17: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:323:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:324:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:329:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:335:52: warning: no header providing "EERIE_FRUSTRUM" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:336:26: warning: no header providing "EERIE_FRUSTRUM_DATA" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:338:2: warning: variable 'dists' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:342:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:344:86: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:352:26: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:352:35: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:352:38: warning: 2 adjacent parameters of 'VisibleSphere' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Scene.cpp:352:44: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:355:5: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:355:76: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:358:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:358:2: warning: variable 'room_num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:368:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:376:23: warning: no header providing "EERIE_3D_BBOX" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:415:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/scene/Scene.cpp:423:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:425:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:432:6: warning: function 'ARX_SCENE_PORTAL_Basic_ClipIO' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:432:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:434:59: warning: no header providing "IO_FORCEDRAW" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:438:6: warning: no header providing "USE_PORTALS" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:445:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:446:4: warning: no header providing "UpdateIORoom" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:448:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:462:4: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/scene/Scene.cpp:462:4: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/scene/Scene.cpp:469:24: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:475:25: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:475:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:477:8: warning: different indentation for 'if' and corresponding 'else' [readability-misleading-indentation] +Arx/src/scene/Scene.cpp:477:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:479:29: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:486:29: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:500:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:500:21: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:501:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:501:21: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:502:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:502:21: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:503:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:503:21: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:510:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:525:6: warning: function 'ARX_SCENE_PORTAL_ClipIO' has cognitive complexity of 63 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:525:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:527:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:529:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:531:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:539:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:539:8: warning: variable 'room_num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:543:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:565:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:565:19: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:566:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:566:19: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:567:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:567:19: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:568:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:568:19: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:574:4: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/scene/Scene.cpp:574:4: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/scene/Scene.cpp:578:6: warning: no header providing "EERIE_2D_BBOX" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:580:25: warning: no header providing "BBOXMAX" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:580:38: warning: no header providing "BBOXMIN" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:585:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:585:21: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:586:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:586:21: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:587:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:587:21: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:588:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:588:21: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:603:23: warning: no header providing "dist" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:611:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:611:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:612:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:612:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:613:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:613:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:614:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:614:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:624:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:624:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:625:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:625:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:626:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:626:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:627:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:627:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:642:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:642:6: warning: function 'ARX_PORTALS_GetRoomNumForPosition2' has cognitive complexity of 56 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:642:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:645:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:645:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:649:6: warning: no header providing "CheckInPolyPrecis" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:651:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:654:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:655:6: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:659:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:665:5: warning: no header providing "GetMinPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:669:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:673:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/scene/Scene.cpp:679:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:687:3: warning: variable 'off' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:692:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:701:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:710:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:719:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:728:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:737:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:746:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:748:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:748:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:753:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:762:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:771:3: warning: variable 'vvv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:771:13: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:772:42: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:774:26: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:778:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:789:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:789:6: warning: function 'ARX_PORTALS_GetRoomNumForPosition' has cognitive complexity of 42 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:789:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:791:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:791:7: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:792:8: warning: variable 'height' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:794:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:796:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:801:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:804:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:804:13: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:806:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:808:5: warning: no header providing "EERIE_PORTALS" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:808:21: warning: variable name 'po' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:811:9: warning: no header providing "PointIn2DPolyXZ" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:813:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:813:12: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:815:10: warning: no header providing "GetTruePolyY" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:821:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:823:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:834:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:843:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:845:17: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:847:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:854:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:856:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:856:12: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Scene.cpp:856:32: warning: 'RoomDraw' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/scene/Scene.cpp:856:32: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/scene/Scene.cpp:856:32: warning: no header providing "realloc" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:866:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:878:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:883:52: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:886:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:886:7: warning: variable 'nbv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:888:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:890:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:896:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:905:63: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:906:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/scene/Scene.cpp:916:130: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:917:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/scene/Scene.cpp:925:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Scene.cpp:934:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:935:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/scene/Scene.cpp:941:68: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:943:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:945:79: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:953:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:965:36: warning: parameter name 'fr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:965:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:965:50: warning: 4 adjacent parameters of 'Frustrum_Set' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Scene.cpp:965:56: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:965:64: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:965:72: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:965:80: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:973:44: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:975:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:975:8: warning: variable 'Ax' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:975:8: warning: variable name 'Ax' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:975:12: warning: variable 'Ay' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:975:12: warning: variable name 'Ay' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:975:16: warning: variable 'Az' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:975:16: warning: variable name 'Az' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:975:20: warning: variable 'Bx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:975:20: warning: variable name 'Bx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:975:24: warning: variable 'By' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:975:24: warning: variable name 'By' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:975:28: warning: variable 'Bz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:975:28: warning: variable name 'Bz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:975:32: warning: variable 'epnlen' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:988:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:988:18: warning: call to 'sqrt' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:988:18: warning: no header providing "sqrt" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1002:60: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1002:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1004:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1004:2: warning: variable 'to' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1004:7: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1023:2: warning: variable 'vEyePt' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1024:2: warning: variable 'vTout' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1035:2: warning: variable 'vUpVec' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1038:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1040:2: warning: uninitialized record type: 'matProj' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Scene.cpp:1043:2: warning: uninitialized record type: 'matView' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Scene.cpp:1046:2: warning: uninitialized record type: 'matres' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Scene.cpp:1049:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:1049:8: warning: variable 'a' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1049:8: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1049:10: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1049:10: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1049:12: warning: variable 'c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1049:12: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1049:14: warning: variable 'd' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1049:14: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1049:16: warning: variable 'n' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1049:16: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1055:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1055:19: warning: call to 'sqrt' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1063:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1063:18: warning: call to 'sqrt' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1071:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1071:18: warning: call to 'sqrt' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1079:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1079:18: warning: call to 'sqrt' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1090:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1090:18: warning: call to 'sqrt' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1098:2: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1098:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:1099:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:1102:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1105:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1105:18: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Scene.cpp:1105:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1105:26: warning: 'RoomDrawList' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/scene/Scene.cpp:1105:26: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/scene/Scene.cpp:1105:55: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1113:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1113:48: warning: parameter name 'fr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1115:42: warning: no header providing "MAX_FRUSTRUMS" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1117:3: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1123:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1123:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1123:74: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1124:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1124:40: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1126:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1133:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1133:84: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1133:94: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1134:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1134:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1136:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1144:13: warning: function 'RenderWaterBatch' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:1163:13: warning: function 'RenderWater' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:1163:13: warning: function 'RenderWater' has cognitive complexity of 35 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:1170: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:1178:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1181:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1183:3: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1183:3: warning: variable 'iNbVertex' of type 'unsigned short' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1200:15: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1200:41: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1200:41: warning: no header providing "sin" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1201:15: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1201:41: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1201:41: warning: no header providing "cos" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1207:9: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1207:44: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1208:9: warning: narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1208:44: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1214:43: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1215:43: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1217:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1227:36: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1228:36: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1230:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1234:43: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1235:43: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1237:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1241:43: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1242:43: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1244:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1253:36: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1254:36: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1256:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1260:43: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1261:43: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1263:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1267:43: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1268:43: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1270:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1287:37: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1288:37: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1290:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1294:44: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1295:44: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1297:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1301:44: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1302:44: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1304:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1360:10: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1368:2: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1371:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1373:3: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1373:3: warning: variable 'iNbVertex' of type 'unsigned short' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1390:42: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1391:42: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1394:36: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1395:36: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1398:35: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1399:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1408:36: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1409:36: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1412:36: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1413:36: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1416:35: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1417:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1426:36: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1427:36: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1430:36: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1431:36: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1434:35: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1435:35: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1452:37: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1453:37: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1456:37: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1457:37: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1460:36: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1461:36: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:1483:60: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1494:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1527:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1527:93: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1527:103: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1528:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1528:58: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1532:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1537:6: warning: function 'ARX_PORTALS_RenderRoom' has cognitive complexity of 128 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:1537:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1537:64: warning: 2 adjacent parameters of 'ARX_PORTALS_RenderRoom' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Scene.cpp:1537:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1537:74: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1544:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1547:3: warning: no header providing "FAST_BKG_DATA" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1547:19: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1548:8: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1550:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1553:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1555:19: warning: no header providing "POLY_IGNORE" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1555:33: warning: no header providing "POLY_NODRAW" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1555:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1559:4: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/scene/Scene.cpp:1559:19: warning: no header providing "POLY_DOUBLESIDED" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1559:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1563:5: warning: variable 'nrm' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1566:11: warning: no header providing "dot" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1567:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1570:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1576:9: warning: no header providing "EERIERTPPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1576:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1579:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1582:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1582:9: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1582:9: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1586:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1591:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1593:19: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1598:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1602:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1605:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1614:20: warning: no header providing "POLY_GLOW" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1614:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1620:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1620:43: warning: no header providing "ApplyDynLight" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1636:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1639:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1647:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1656:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1658:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1658:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:1658:12: warning: variable 'lfr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1658:16: warning: variable 'lfb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1659:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:1659:13: warning: variable 'fr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1659:13: warning: variable name 'fr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1659:16: warning: variable 'fb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1659:16: warning: variable name 'fb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1660:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1660:7: warning: variable 'lr' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1660:12: warning: variable name 'lr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1661:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Scene.cpp:1661:7: warning: variable 'ffr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1661:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1663:13: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1663:31: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1665:7: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Scene.cpp:1665:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1667:7: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Scene.cpp:1667:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1672:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1673:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1676:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1677:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1678:25: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/Scene.cpp:1688:6: warning: function 'ARX_PORTALS_Frustrum_RenderRoom' has cognitive complexity of 128 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:1688:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1688:84: warning: 2 adjacent parameters of 'ARX_PORTALS_Frustrum_RenderRoom' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Scene.cpp:1688:84: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1688:94: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1694:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1697:19: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1700:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1703:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1705:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1708:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1712:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1716:5: warning: variable 'nrm' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1720:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1723:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1729:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1732:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1732:9: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1732:9: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1736:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1740:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1747:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1751:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1754:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1763:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1768:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1784:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1787:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1795:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1804:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1806:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1806:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:1806:12: warning: variable 'lfr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1806:16: warning: variable 'lfb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1807:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:1807:13: warning: variable 'fr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1807:13: warning: variable name 'fr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1807:16: warning: variable 'fb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1807:16: warning: variable name 'fb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1808:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1808:7: warning: variable 'lr' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1808:12: warning: variable name 'lr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1809:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Scene.cpp:1809:7: warning: variable 'ffr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1809:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1811:13: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1811:31: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1813:7: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Scene.cpp:1813:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1815:7: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Scene.cpp:1815:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1820:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1821:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1824:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1825:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1826:25: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/Scene.cpp:1837:44: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1837:68: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1837:91: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1837:114: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1837:137: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1838:46: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1838:49: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1838:55: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1838:57: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1838:63: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1838:86: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1838:109: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1838:132: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1838:155: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1840:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Scene.cpp:1840:1: warning: no header providing "TILE_LIGHTS" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1840:13: warning: variable 'tilelights' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:1840:24: warning: no header providing "MAX_BKGX" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1840:34: warning: no header providing "MAX_BKGZ" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1844:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1844:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1845:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Scene.cpp:1845:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1847:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:1853:24: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1853:30: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1853:32: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1853:38: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1856:2: warning: variable 'xx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1856:8: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1856:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1856:27: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1857:2: warning: variable 'zz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1857:8: warning: variable name 'zz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1857:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1857:27: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:1859:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1861:6: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1866:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:1866:25: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/scene/Scene.cpp:1866:41: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/scene/Scene.cpp:1866:49: warning: multilevel pointer conversion from 'EERIE_LIGHT **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/Scene.cpp:1876:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1876:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1876:37: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/scene/Scene.cpp:1876:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1879:8: warning: multilevel pointer conversion from 'EERIE_LIGHT **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/scene/Scene.cpp:1879:52: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:1883:6: warning: function 'ARX_PORTALS_Frustrum_RenderRoomTCullSoft' has cognitive complexity of 316 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:1883:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1883:93: warning: 2 adjacent parameters of 'ARX_PORTALS_Frustrum_RenderRoomTCullSoft' of similar type ('long') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/scene/Scene.cpp:1883:93: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1883:103: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1898:3: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1900:19: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1901:15: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1901:15: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1904:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1911:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1911:5: warning: variable 'ix' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1911:10: warning: variable name 'ix' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1912:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1912:5: warning: variable 'ax' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1912:10: warning: variable name 'ax' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1913:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1913:5: warning: variable 'iz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1913:10: warning: variable name 'iz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1914:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1914:5: warning: variable 'az' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1914:10: warning: variable name 'az' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1916:30: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1917:30: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1918:30: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1919:30: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1921:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1921:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1922:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1931:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:1932:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1932:63: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1944:47: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1964:4: warning: variable 'nrm' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1965:8: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1965:8: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:1988:4: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:1988:20: warning: variable 'pIndicesCurr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:1989:4: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Scene.cpp:1989:19: warning: variable 'pNumIndices' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2035:16: warning: variable 'pMyVertexCurr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2109:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2117:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2149:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2164:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2177:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2179:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2179:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:2179:12: warning: variable 'lfr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2179:16: warning: variable 'lfb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2180:7: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:2180:13: warning: variable 'fr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2180:13: warning: variable name 'fr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2180:16: warning: variable 'fb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2180:16: warning: variable name 'fb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2181:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2181:7: warning: variable 'lr' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2181:12: warning: variable name 'lr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2182:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Scene.cpp:2182:7: warning: variable 'ffr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2182:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:2184:13: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2184:31: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2186:7: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Scene.cpp:2186:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2188:7: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Scene.cpp:2188:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2193:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2194:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2199:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2200:13: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2202:25: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/Scene.cpp:2222:14: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2229:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2231:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2234:27: warning: no header providing "POLY_METAL" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:2251:5: warning: no header providing "EERIEDrawnPolys" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:2251:22: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2265:10: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2272:40: warning: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] +Arx/src/scene/Scene.cpp:2280:5: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:2281:5: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:2283:5: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/scene/Scene.cpp:2283:35: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2291:18: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2293:6: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:2293:6: warning: variable 'iNbVertex' of type 'unsigned short' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2310:6: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Scene.cpp:2310:12: warning: variable name 'tu' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2311:6: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Scene.cpp:2311:12: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2312:6: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/scene/Scene.cpp:2313:6: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/scene/Scene.cpp:2313:21: warning: variable 'nu' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2313:21: warning: variable name 'nu' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2314:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2318:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2334:7: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2334:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2338:7: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Scene.cpp:2338:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2389:60: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2394:14: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2410:22: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2422:22: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2434:22: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2447:22: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2457:6: warning: function 'ARX_PORTALS_ComputeRoom' has cognitive complexity of 38 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:2457:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2457:65: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2457:75: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2459:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:2459:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2461:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2461:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2463:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2463:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2465:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2467:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2469:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2471:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2473:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2480:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2482:72: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2484:19: warning: variable name 'po' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2487:3: warning: variable 'threshold' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2495:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2498:3: warning: variable 'Cull' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2498:12: warning: no header providing "BackFaceCull2D" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:2504:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2504:8: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2504:8: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2506:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2508:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2514:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2524:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2527:64: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2530:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2532:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2559:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2559:6: warning: function 'ARX_PORTALS_Frustrum_ComputeRoom' has cognitive complexity of 57 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:2559:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2559:79: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2559:89: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2561:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2563:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:2563:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2573:2: warning: variable 'fClippZFar' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2576:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2578:72: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2580:19: warning: variable name 'po' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2588:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2591:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2596:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2599:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2604:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2607:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2612:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2615:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2624:3: warning: variable 'pos' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2625:3: warning: variable 'fRes' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2626:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2635:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2645:7: warning: variable 'Cull' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2647:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2648:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2651:3: warning: uninitialized record type: 'fd' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Scene.cpp:2651:18: warning: variable name 'fd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2656:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2658:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2686:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:2686:8: warning: variable 'dx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2686:8: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2686:12: warning: variable 'dy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2686:12: warning: variable name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2686:16: warning: variable 'dz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2686:16: warning: variable name 'dz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2686:20: warning: variable 'adx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2686:25: warning: variable 'ady' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2686:30: warning: variable 'adz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2686:35: warning: variable 'ix' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2686:35: warning: variable name 'ix' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2686:39: warning: variable 'iz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2686:39: warning: variable name 'iz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2687:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:2687:8: warning: variable 'x0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2687:8: warning: variable name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2687:12: warning: variable 'z0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2687:12: warning: variable name 'z0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2688:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:2688:8: warning: variable 'forr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2688:14: warning: variable 'temp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2691:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:2693:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:2695:6: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:2739:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2739:6: warning: variable 'curpixel' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2740:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2740:7: warning: variable 'tot' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2743:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2743:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/scene/Scene.cpp:2743:7: warning: variable 'x' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2743:7: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2743:9: warning: variable 'y' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2743:9: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2744:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/scene/Scene.cpp:2752:20: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2753:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2754:8: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2762:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2764:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2767:9: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2767:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:2769:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Scene.cpp:2769:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2781:39: warning: parameter name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2783:2: warning: variable 's21' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2784:2: warning: variable 's31' of type 'Vec3f' (aka 'Vector3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2786:8: warning: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2791:2: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2791:8: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2797:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2797:13: warning: variable 'SPECIAL_DRAGINTER_RENDER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:2798:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2798:6: warning: variable 'MAX_FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/scene/Scene.cpp:2804:6: warning: function 'ARX_SCENE_Render' has cognitive complexity of 308 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/scene/Scene.cpp:2804:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2808:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2810:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2812:83: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2815:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2815:14: warning: variable name 'x0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2816:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2816:14: warning: variable name 'x1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2817:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2817:14: warning: variable name 'z0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2818:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2818:14: warning: variable name 'z1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2819:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2819:7: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2819:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2820:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2820:14: warning: variable name 'ep' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2821:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2823:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2823:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Scene.cpp:2823:2: warning: variable 'tim' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2823:22: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:2823:23: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2827:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2830:2: warning: variable 'cval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2830:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:2831:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2831:2: warning: variable 'lcval' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2831:15: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2837:3: warning: no header providing "PrepareActiveCamera" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:2838:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Scene.cpp:2838:3: warning: variable 'xx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2838:9: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2838:12: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Scene.cpp:2839:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Scene.cpp:2839:3: warning: variable 'yy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2839:9: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2839:12: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Scene.cpp:2841:22: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2842:22: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2857:3: warning: variable 'prec' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2861:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2861:7: warning: variable 'lll' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:2864:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2864:2: warning: variable 'LAST_FC' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2867:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2867:59: warning: no header providing "PrecalcDynamicLighting" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:2870:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Scene.cpp:2870:28: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:2871:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Scene.cpp:2871:28: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:2872:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/scene/Scene.cpp:2872:28: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/scene/Scene.cpp:2881:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2882:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:2883:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:2884:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2885:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:2886:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:2892:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2898:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2905:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2914:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2914:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2917:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2925:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2925:2: warning: variable 'room_num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2932:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2932:3: warning: variable 'lprec' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:2932:35: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2934:3: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/scene/Scene.cpp:2934:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/scene/Scene.cpp:2939:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:2939:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:2940:53: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2941:36: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2945:5: warning: uninitialized record type: 'frustrum' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Scene.cpp:2947:82: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2948:44: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2952:5: warning: uninitialized record type: 'frustrum' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Scene.cpp:2954:82: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2959:5: warning: uninitialized record type: 'frustrum' [cppcoreguidelines-pro-type-member-init] +Arx/src/scene/Scene.cpp:2961:82: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2962:53: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:2973:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2973:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:2977:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:2986:74: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2988:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2990:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:2994:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3001:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3005:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3009:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3018:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3021:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3027:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3030:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:3030:9: warning: variable 'to' is not initialized [cppcoreguidelines-init-variables] +Arx/src/scene/Scene.cpp:3030:9: warning: variable name 'to' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:3033:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3037:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3044:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3048:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3051:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3060:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3065:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3083:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3086:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3094:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3103:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:3105:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:3105:7: warning: variable 'lr' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:3105:12: warning: variable name 'lr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:3106:7: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/scene/Scene.cpp:3106:7: warning: variable 'ffr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:3106:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:3108:13: warning: variable name 'dd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:3110:7: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Scene.cpp:3110:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3112:7: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Scene.cpp:3112:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3114:13: warning: variable name 'fb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:3115:13: warning: variable name 'fr' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.cpp:3117:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3118:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3121:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:3121:7: warning: variable 'lfb' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:3121:18: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:3122:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.cpp:3122:7: warning: variable 'lfr' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:3122:18: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:3123:25: warning: integer literal has suffix 'L', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/scene/Scene.cpp:3136:36: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:3136:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3145:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3148:47: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/scene/Scene.cpp:3158:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3168:23: warning: no header providing "CAM_TOPVIEW" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:3171:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3177:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3189:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.cpp:3214:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/scene/Scene.h:54:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.h:54:53: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.h:56:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/scene/Scene.h:57:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.h:59:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.h:61:26: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.h:61:35: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/scene/Scene.h:61:44: warning: parameter name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:49:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/script/Script.cpp:61:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/script/Script.cpp:87:12: warning: using decl 'max' is unused [misc-unused-using-decls] +Arx/src/script/Script.cpp:88:12: warning: using decl 'transform' is unused [misc-unused-using-decls] +Arx/src/script/Script.cpp:89:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:91:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/script/Script.cpp:91:9: warning: macro 'MAX_SSEPARAMS' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/script/Script.cpp:91:9: warning: macro 'MAX_SSEPARAMS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/script/Script.cpp:93:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:93:13: warning: variable 'lChangeWeapon' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:94:17: warning: variable 'pIOChangeWeapon' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:94:17: warning: variable 'pIOChangeWeapon' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:96:10: warning: variable 'LASTSPAWNED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:96:10: warning: variable 'LASTSPAWNED' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:96:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:97:10: warning: variable 'EVENT_SENDER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:97:10: warning: variable 'EVENT_SENDER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:97:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:98:14: warning: variable 'svar' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:98:14: warning: variable 'svar' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:98:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:100:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.cpp:100:13: warning: variable 'SSEPARAMS' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/Script.cpp:100:13: warning: variable 'SSEPARAMS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:101:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:101:6: warning: variable 'FORBID_SCRIPT_IO_CREATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:102:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:102:6: warning: variable 'NB_GLOBALS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:103:13: warning: variable 'scr_timer' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:103:13: warning: variable 'scr_timer' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:103:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:104:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:104:6: warning: variable 'ActiveTimers' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:106:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:106:41: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:121:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:141:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:152:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:167:6: warning: function 'ARX_SCRIPT_ResetObject' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/Script.cpp:167:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:167:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:172:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:172:3: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:172:14: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:176:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:178:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:181:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:188:45: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:190:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:198:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:201:57: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:205:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:206:33: warning: no header providing "GFLAG_NEEDINIT" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:210:32: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:210:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:214:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:214:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/script/Script.cpp:215:4: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:215:61: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:218:44: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:223:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:223:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/script/Script.cpp:224:71: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:227:54: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:235:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:236:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:245:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:251:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:253:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:253:2: warning: variable 'heartbeat_count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:253:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:253:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:255:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:255:11: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/script/Script.cpp:257:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:257:3: warning: variable 'i' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:257:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:258:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:258:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:263:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:263:56: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:271:4: warning: variable 'event' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:281:46: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:287:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:290:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:293:35: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:300:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:303:30: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:306:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:309:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:309:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:312:11: warning: function 'getSystemVar' has cognitive complexity of 509 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/Script.cpp:312:45: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:313:66: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:315:2: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:318:2: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:318:7: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:319:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/script/Script.cpp:319:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/script/Script.cpp:341:6: warning: no header providing "MakeTopObjString" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:352:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:352:24: warning: 'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead [cert-err34-c] +Arx/src/script/Script.cpp:352:24: warning: no header providing "atof" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:357:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:357:24: warning: 'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead [cert-err34-c] +Arx/src/script/Script.cpp:362:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:362:24: warning: 'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead [cert-err34-c] +Arx/src/script/Script.cpp:380:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:380:19: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:386:17: warning: 'atol' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead [cert-err34-c] +Arx/src/script/Script.cpp:386:17: warning: no header providing "atol" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:391:17: warning: 'atol' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead [cert-err34-c] +Arx/src/script/Script.cpp:396:17: warning: 'atol' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead [cert-err34-c] +Arx/src/script/Script.cpp:404:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:404:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:404:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:404:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/Script.cpp:413:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:413:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:413:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:413:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/Script.cpp:422:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:422:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:422:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:422:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/Script.cpp:431:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:431:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:431:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:431:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/Script.cpp:447:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:447:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:447:52: warning: narrowing conversion from constant value 864000000 of type 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:452:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:452:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:457:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:457:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:462:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:462:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:472:37: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:481:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:481:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:486:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:486:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:491:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:491:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:496:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:496:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:501:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:501:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:509:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:509:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:517:29: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:517:35: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/Script.cpp:533:10: warning: no header providing "strcmp" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:535:8: warning: no header providing "UpdateIORoom" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:537:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:537:7: warning: variable 'Player_Room' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:538:19: warning: no header providing "SP_GetRoomDist" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:542:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:542:6: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:542:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:544:27: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:545:30: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:549:8: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/script/Script.cpp:549:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:576:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:576:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:576:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:590:6: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/script/Script.cpp:590:6: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:590:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:590:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:590:23: warning: 'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead [cert-err34-c] +Arx/src/script/Script.cpp:599:5: warning: variable 'temp' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:652:16: warning: variable name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:686:37: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:756:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:808:5: warning: no header providing "Spell" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:808:5: warning: variable 'id' of type 'Spell' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:808:11: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:808:16: warning: no header providing "GetSpellId" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:809:14: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:810:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:810:28: warning: no header providing "MAX_SPELLS" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:811:10: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:812:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:812:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:860:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:860:6: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:860:11: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:866:8: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/script/Script.cpp:921:28: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:926:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:926:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:926:10: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:932:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:932:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1029:5: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:1031:28: warning: no header providing "SPELL_LIFE_DRAIN" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1032:31: warning: no header providing "SPELL_HARM" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1033:31: warning: no header providing "SPELL_FIRE_FIELD" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1034:31: warning: no header providing "SPELL_ICE_FIELD" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1035:31: warning: no header providing "SPELL_LIGHTNING_STRIKE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1036:31: warning: no header providing "SPELL_MASS_LIGHTNING_STRIKE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1047:5: warning: variable 'temp' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1049:5: warning: variable 'id' of type 'Spell' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1049:11: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1051:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:1091:17: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/script/Script.cpp:1109:37: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1116:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:1116:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1132:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1135:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1140:44: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1147:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1147:12: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1150:46: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1156:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:1156:22: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/script/Script.cpp:1156:36: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/script/Script.cpp:1156:36: warning: no header providing "malloc" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1158:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1158:13: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1160:4: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1164:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:1164:32: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/script/Script.cpp:1164:40: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/script/Script.cpp:1164:47: warning: no header providing "strlen" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1165:5: warning: no header providing "strcpy" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1171:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1175:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:1175:10: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/script/Script.cpp:1175:25: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/script/Script.cpp:1175:25: warning: no header providing "realloc" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1182:28: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.cpp:1182:53: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1192:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1195:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1195:22: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.cpp:1195:47: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1199:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1199:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1204:24: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.cpp:1204:49: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1208:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1208:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1213:29: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.cpp:1213:54: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1217:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1222:95: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1224:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.cpp:1225:8: warning: variable 't1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/Script.cpp:1225:8: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1231:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1231:9: warning: variable 'lv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/Script.cpp:1231:9: warning: variable name 'lv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1232:10: warning: variable 'fv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/Script.cpp:1232:10: warning: variable name 'fv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1233:16: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1241:6: 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:1245:6: 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:1253:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1253:4: warning: variable 'l1' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1253:9: warning: variable name 'l1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1254:4: 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:1259:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1259:4: warning: variable 'l1' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1259:9: warning: variable name 'l1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1260:4: 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:1263:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1264:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1269:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1270:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/script/Script.cpp:1270:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1276:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1277:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/script/Script.cpp:1277:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1289:2: 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:1293:95: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1296:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1296:8: warning: variable 'lv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/Script.cpp:1296:8: warning: variable name 'lv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1297:9: warning: variable 'fv' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/Script.cpp:1297:9: warning: variable name 'fv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1298:15: warning: variable name 'tv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1301:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:1301:19: warning: 'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead [cert-err34-c] +Arx/src/script/Script.cpp:1303:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:1310:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:1312:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:1319:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:1319:16: warning: 'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead [cert-err34-c] +Arx/src/script/Script.cpp:1322:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1322:53: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1322:82: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1330:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1331:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1340:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1340:54: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1348:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1349:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1358:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1358:53: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1366:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1367:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1373:14: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:1376:28: warning: no header providing "strdup" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1376:50: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1385:35: warning: parameter name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1387:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.cpp:1389:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1400:5: 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:1407:5: 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:1420:35: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1420:52: warning: parameter name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1422:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.cpp:1424:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1424:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1426:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1426:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1428:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1441:5: 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:1448:5: 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:1470:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:1470:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1475:15: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1479:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1488:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1502:9: warning: macro 'MAX_EVENT_STACK' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/script/Script.cpp:1503:8: warning: accessing fields in struct 'STACKED_EVENT' is inefficient due to padding; only needs 92 bytes but is using 96 bytes [altera-struct-pack-align] +Arx/src/script/Script.cpp:1503:8: warning: accessing fields in struct 'STACKED_EVENT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/script/Script.cpp:1503:8: warning: constructor does not initialize these fields: sender, exist, io, msg [cppcoreguidelines-pro-type-member-init] +Arx/src/script/Script.cpp:1505:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1512:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.cpp:1512:15: warning: variable 'eventstack' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:1521:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:1521:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1523:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1524:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1528:4: warning: misleading indentation: statement is indented too deeply [readability-misleading-indentation] +Arx/src/script/Script.cpp:1528:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1530:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1537:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1537:6: warning: variable 'STACK_FLOW' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:1539:47: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1541:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:1541:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1547:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1549:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1560:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1562:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:1562:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1566:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1567:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +Arx/src/script/Script.cpp:1569:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1571:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1572:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1578:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1580:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1586:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1598:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1600:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:1600:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1616:48: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1619:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1621:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1621:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1621:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:1634:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1636:3: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/script/Script.cpp:1636:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1644:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1651:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1651:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1651:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:1667:3: warning: variable 'ret' of type 'ScriptResult' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1679:4: warning: variable 'ret' of type 'ScriptResult' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1683:3: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/script/Script.cpp:1683:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1691:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1693:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1696:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1697:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1697:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1697:13: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:1724:13: warning: function 'ARX_SCRIPT_Timer_Exist' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/Script.cpp:1726:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1753:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1755:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1756:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1766:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1774:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1782:79: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1783:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1790:56: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1792:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1796:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1802:44: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1804:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1808:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1817:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1817:6: warning: variable 'MAX_TIMER_SCRIPT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.cpp:1818:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1820:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/script/Script.cpp:1820:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1831:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1832:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1832:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1838:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1840:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1844:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1849:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1849:44: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1852:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1862:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1862:44: warning: parameter name 'st' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1864:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1884:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1889:21: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1896:27: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1896:33: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:1899:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/script/Script.cpp:1899:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/Script.cpp:1913:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1915:15: warning: variable name 'st' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1920:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/Script.cpp:1920:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/script/Script.cpp:1920:3: warning: variable 'now' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1920:35: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/Script.cpp:1921:3: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/Script.cpp:1921:3: warning: variable 'fire_time' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1929:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1929:4: warning: variable 'increment' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1929:21: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:1936:18: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1937:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:1938:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1938:3: warning: variable 'pos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1966:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.cpp:1976:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1977:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1980:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:1986:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1993:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:1998:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:1999:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.cpp:2002:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/Script.cpp:2008:10: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:2015:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:2018:6: warning: function 'ManageCasseDArme' has cognitive complexity of 152 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/Script.cpp:2018:32: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.cpp:2020:23: warning: no header providing "OBJECT_TYPE_DAGGER" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:2021:22: warning: no header providing "OBJECT_TYPE_1H" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:2022:22: warning: no header providing "OBJECT_TYPE_2H" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:2023:22: warning: no header providing "OBJECT_TYPE_BOW" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:2026:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:2027:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:2028:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:2113:5: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/script/Script.cpp:2153:72: warning: no header providing "tolower" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:2155:23: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:2157:35: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:2159:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.cpp:2161:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/Script.h:61: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:68: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/script/Script.h:78:8: warning: accessing fields in struct 'SCRIPT_VAR' is inefficient due to padding; only needs 88 bytes but is using 96 bytes [altera-struct-pack-align] +Arx/src/script/Script.h:78:8: warning: accessing fields in struct 'SCRIPT_VAR' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/script/Script.h:80:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:83:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.h:86:8: warning: accessing fields in struct 'LABEL_INFO' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/script/Script.h:88:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:91: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:104:1: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:104:1: warning: parameter name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:104:1: warning: the parameter 'a' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/script/Script.h:104:1: warning: the parameter 'b' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/script/Script.h:106:8: warning: accessing fields in struct 'EERIE_SCRIPT' is inefficient due to padding; only needs 748 bytes but is using 752 bytes [altera-struct-pack-align] +Arx/src/script/Script.h:106:8: warning: accessing fields in struct 'EERIE_SCRIPT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/script/Script.h:106:8: warning: constructor does not initialize these fields: size, data, nblvar, lvar, lastcall, master, nb_labels, labels [cppcoreguidelines-pro-type-member-init] +Arx/src/script/Script.h:109:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:111:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/Script.h:112:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/Script.h:112:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.h:115:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:115:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.h:116:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:120:8: warning: accessing fields in struct 'SCR_TIMER' is inefficient due to padding; only needs 92 bytes but is using 96 bytes [altera-struct-pack-align] +Arx/src/script/Script.h:120:8: warning: accessing fields in struct 'SCR_TIMER' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/script/Script.h:123:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/Script.h:123:8: warning: use default member initializer for 'exist' [modernize-use-default-member-init] +Arx/src/script/Script.h:124:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/Script.h:124:8: warning: use default member initializer for 'flags' [modernize-use-default-member-init] +Arx/src/script/Script.h:125:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:125:7: warning: use default member initializer for 'times' [modernize-use-default-member-init] +Arx/src/script/Script.h:126:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:126:7: warning: use default member initializer for 'msecs' [modernize-use-default-member-init] +Arx/src/script/Script.h:127:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:127:7: warning: use default member initializer for 'pos' [modernize-use-default-member-init] +Arx/src/script/Script.h:128:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:128:7: warning: use default member initializer for 'longinfo' [modernize-use-default-member-init] +Arx/src/script/Script.h:129:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/Script.h:129:16: warning: use default member initializer for 'tim' [modernize-use-default-member-init] +Arx/src/script/Script.h:133:2: warning: function 'SCR_TIMER' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/Script.h:133:23: warning: initializer for member 'name' is redundant [readability-redundant-member-init] +Arx/src/script/Script.h:134:65: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.h:134:75: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.h:136:2: warning: function 'reset' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/Script.h:145:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.h:146:8: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/Script.h:151: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:321: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/Script.h:327: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:408:21: warning: variable 'svar' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.h:408:21: warning: variable 'svar' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.h:409:17: warning: variable 'EVENT_SENDER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.h:409:17: warning: variable 'EVENT_SENDER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.h:410:20: warning: variable 'scr_timer' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.h:410:20: warning: variable 'scr_timer' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.h:411:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:411:13: warning: variable 'NB_GLOBALS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.h:412:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:412:13: warning: variable 'ActiveTimers' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.h:413:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:413:13: warning: variable 'FORBID_SCRIPT_IO_CREATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.h:414:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:414:13: warning: variable 'MAX_TIMER_SCRIPT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/Script.h:417:33: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:419:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:420:44: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:421:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:423:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:428:38: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:428:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:429:32: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:429:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:430:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:430:44: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:431:49: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:433:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:434:6: warning: function 'ARX_SCRIPT_Timer_ClearByNum' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/script/Script.h:434:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:435:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:436:47: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:440:32: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:441:35: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:443:43: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:447:100: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:448:105: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:454:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:454:56: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:455:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:455:56: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:455:86: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:456:50: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:456:57: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:459:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:459:22: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.h:459:47: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:460:24: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.h:460:49: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:461:29: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/Script.h:461:54: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:463:11: warning: function 'getSystemVar' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/script/Script.h:463:45: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:463:58: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:463:132: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:464:56: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:465:84: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:467:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:471:39: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:479:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/Script.h:479:41: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:481:44: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:483:35: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:483:53: warning: parameter name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/Script.h:484:35: warning: parameter name 'tx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptEvent.cpp:69:12: warning: using decl 'max' is unused [misc-unused-using-decls] +Arx/src/script/ScriptEvent.cpp:71:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:73:14: warning: variable 'g_TimeStartCinemascope' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptEvent.cpp:75:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.cpp:77:1: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/ScriptEvent.cpp:77:14: warning: initialization of 'AS_EVENT' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/script/ScriptEvent.cpp:77:14: warning: variable 'AS_EVENT' 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:156:48: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptEvent.cpp:158:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.cpp:158:2: warning: variable 'nb' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptEvent.cpp:158:7: warning: variable name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptEvent.cpp:158:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptEvent.cpp:158:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.cpp:158:22: warning: no header providing "MAX_SHORTCUT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:158:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptEvent.cpp:158:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.cpp:158:42: warning: no header providing "SM_MAXCMD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:160:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.cpp:161:20: warning: no header providing "FindScriptPos" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:165:14: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/script/ScriptEvent.cpp:170:14: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/script/ScriptEvent.cpp:174:13: warning: function 'checkInteractiveObject' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/ScriptEvent.cpp:174:45: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptEvent.cpp:174:49: warning: no header providing "ScriptMessage" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:174:68: warning: no header providing "ScriptResult" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:178:48: warning: no header providing "SM_RELOAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:179:9: warning: no header providing "ACCEPT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:189:17: warning: no header providing "SM_LOAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:189:37: warning: no header providing "REFUSE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:195:14: warning: no header providing "SM_DEAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:196:14: warning: no header providing "SM_DIE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:197:14: warning: no header providing "SM_EXECUTELINE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:199:14: warning: no header providing "SM_INVENTORY2_OPEN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:200:14: warning: no header providing "SM_INVENTORY2_CLOSE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:206:67: warning: no header providing "SM_BREAK" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:207:3: warning: no header providing "ManageCasseDArme" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:217:7: warning: class 'ObsoleteCommand' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/script/ScriptEvent.cpp:221:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:225:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/script/ScriptEvent.cpp:227:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptEvent.cpp:238:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptEvent.cpp:238:2: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/script/ScriptEvent.cpp:242:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptEvent.cpp:246:168: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:246:203: warning: no header providing "SM_NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:259:27: warning: function 'send' has cognitive complexity of 217 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptEvent.cpp:259:47: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptEvent.cpp:260:41: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptEvent.cpp:260:73: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.cpp:264:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.cpp:264:7: warning: variable 'pos' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptEvent.cpp:272:42: warning: no header providing "SM_INIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:272:60: warning: no header providing "SM_INITEND" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:281:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/script/ScriptEvent.cpp:281:24: warning: redundant cast to the same type [google-readability-casting] +Arx/src/script/ScriptEvent.cpp:281:24: warning: redundant explicit casting to the same type 'EERIE_SCRIPT *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/script/ScriptEvent.cpp:282:13: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:282:13: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptEvent.cpp:295:10: warning: no header providing "SM_COLLIDE_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:296:30: warning: no header providing "DISABLE_COLLIDE_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:296:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/ScriptEvent.cpp:298:10: warning: no header providing "SM_CHAT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:299:30: warning: no header providing "DISABLE_CHAT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:299:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/ScriptEvent.cpp:301:10: warning: no header providing "SM_HIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:302:30: warning: no header providing "DISABLE_HIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:302:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/ScriptEvent.cpp:305:30: warning: no header providing "DISABLE_INVENTORY2_OPEN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:305:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/ScriptEvent.cpp:307:10: warning: no header providing "SM_HEAR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:308:30: warning: no header providing "DISABLE_HEAR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:308:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/ScriptEvent.cpp:310:10: warning: no header providing "SM_UNDETECTPLAYER" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:311:10: warning: no header providing "SM_DETECTPLAYER" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:312:30: warning: no header providing "DISABLE_DETECT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:312:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/ScriptEvent.cpp:314:10: warning: no header providing "SM_AGGRESSION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:315:30: warning: no header providing "DISABLE_AGGRESSION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:315:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/ScriptEvent.cpp:317:10: warning: no header providing "SM_MAIN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:318:30: warning: no header providing "DISABLE_MAIN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:318:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/ScriptEvent.cpp:320:10: warning: no header providing "SM_CURSORMODE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:321:30: warning: no header providing "DISABLE_CURSORMODE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:321:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/ScriptEvent.cpp:323:10: warning: no header providing "SM_EXPLORATIONMODE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:324:30: warning: no header providing "DISABLE_EXPLORATIONMODE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:324:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/script/ScriptEvent.cpp:326:10: warning: no header providing "SM_KEY_PRESSED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:327:6: warning: variable 'dwCurrTime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptEvent.cpp:337:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptEvent.cpp:337:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.cpp:339:5: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:370:2: warning: no header providing "MakeSSEPARAMS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:374:11: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptEvent.cpp:376:11: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptEvent.cpp:383:3: warning: variable 'word' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptEvent.cpp:406:20: warning: no header providing "std::remove" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:408:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/script/ScriptEvent.cpp:408: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:408:28: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptEvent.cpp:412:4: warning: variable 'command' of type 'script::Command &' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptEvent.cpp:414:28: warning: variable 'res' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptEvent.cpp:417:51: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/ScriptEvent.cpp:417:51: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.cpp:429:6: warning: do not use 'else' after 'break' [readability-else-after-return] +Arx/src/script/ScriptEvent.cpp:433:12: warning: no header providing "BIGERROR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:437:12: warning: no header providing "SM_DUMMY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:439:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptEvent.cpp:447:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptEvent.cpp:451:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptEvent.cpp:481:28: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/script/ScriptEvent.cpp:483:12: warning: the 'empty' method should be used to check for emptiness instead of comparing to an empty object [readability-container-size-empty] +Arx/src/script/ScriptEvent.cpp:496:15: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:498: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:498:33: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:509:2: warning: variable 'count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptEvent.h:27:8: warning: accessing fields in struct 'SCRIPT_EVENT' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/script/ScriptEvent.h:28:24: warning: pass by value and use std::move [modernize-pass-by-value] +Arx/src/script/ScriptEvent.h:41: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:41:7: warning: class 'ScriptEvent' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/script/ScriptEvent.h:45:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.h:50:22: warning: function 'ScriptEvent::send' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/script/ScriptEvent.h:50:42: warning: parameter name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptEvent.h:50:102: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptEvent.h:50:137: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptEvent.h:58:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/script/ScriptUtils.cpp:27:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:31:20: warning: function 'isWhitespace' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/ScriptUtils.cpp:31:38: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptUtils.cpp:32:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptUtils.cpp:45:18: warning: no header providing "EERIE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:45:41: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:45:70: warning: no header providing "ScriptMessage" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:49:9: warning: no header providing "GetVarValueInterpretedAsText" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:54:22: warning: function 'getCommand' has cognitive complexity of 32 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptUtils.cpp:65:3: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptUtils.cpp:65:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptUtils.cpp:73:15: warning: no header providing "std::find" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:86:17: warning: function 'getWord' has cognitive complexity of 86 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptUtils.cpp:91:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/script/ScriptUtils.cpp:109:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/script/ScriptUtils.cpp:161:15: warning: function 'skipWord' has cognitive complexity of 56 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptUtils.cpp:217:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/script/ScriptUtils.cpp:226:2: warning: variable 'word' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptUtils.cpp:232:9: warning: no header providing "GetVarValueInterpretedAsFloat" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:242:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptUtils.cpp:248:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptUtils.cpp:263:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptUtils.cpp:263:2: warning: variable 'targetpos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptUtils.cpp:263:19: warning: no header providing "FindScriptPos" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:283:15: warning: function 'skipStatement' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptUtils.cpp:292:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptUtils.cpp:315:2: warning: variable 'oldpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptUtils.cpp:324:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/script/ScriptUtils.cpp:325:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/script/ScriptUtils.cpp:325:14: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:326:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/script/ScriptUtils.cpp:328:8: warning: variable 'suppressionCount' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptUtils.cpp:329:20: warning: variable 'suppressions' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptUtils.cpp:330:20: warning: variable 'blockSuppressions' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptUtils.cpp:344:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/script/ScriptUtils.cpp:344: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:344:37: warning: variable name 'i0' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptUtils.cpp:349:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/script/ScriptUtils.cpp:349: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:349:38: warning: variable name 'i1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptUtils.cpp:349: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:357:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptUtils.cpp:693:10: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptUtils.cpp:694:4: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:706:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:719:1: warning: namespace 'script' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptUtils.h:34:22: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptUtils.h:36:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptUtils.h:37:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/script/ScriptUtils.h:38:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptUtils.h:40:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptUtils.h:44:37: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptUtils.h:51:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +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:73:24: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/ScriptUtils.h:95:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/script/ScriptUtils.h:95:67: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptUtils.h:98:2: warning: function 'getStringVar' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/script/ScriptUtils.h:107:2: warning: function 'getEntity' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptUtils.h:107:2: warning: function 'getEntity' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/script/ScriptUtils.h:113:2: warning: function 'getFloatVar' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/script/ScriptUtils.h:126:2: warning: function 'getScript' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptUtils.h:126:2: warning: function 'getScript' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/script/ScriptUtils.h:127:2: warning: function 'getMaster' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptUtils.h:127:2: warning: function 'getMaster' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/script/ScriptUtils.h:129:2: warning: function 'getPosition' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptUtils.h:129:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/script/ScriptUtils.h:131:2: warning: function 'getMessage' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptUtils.h:131:2: warning: function 'getMessage' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/script/ScriptUtils.h:136:7: warning: class 'Command' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/script/ScriptUtils.h:139:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptUtils.h:143: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/ScriptUtils.h:152:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptUtils.h:154:2: warning: function 'Command' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptUtils.h:154:9: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/script/ScriptUtils.h:154:17: warning: pass by value and use std::move [modernize-pass-by-value] +Arx/src/script/ScriptUtils.h:154:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptUtils.h:159:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/script/ScriptUtils.h:161:2: warning: function 'getName' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptUtils.h:161:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/script/ScriptUtils.h:162:2: warning: function 'getEntityFlags' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptUtils.h:162:2: warning: function 'getEntityFlags' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/script/ScriptUtils.h:162:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptUtils.h:171:9: warning: function-like macro 'ScriptContextPrefix' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/script/ScriptUtils.h:173:9: warning: function-like macro 'DebugScript' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/script/ScriptUtils.h:174:9: warning: function-like macro 'ScriptInfo' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/script/ScriptUtils.h:178:9: warning: function-like macro 'HandleFlags' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/script/ScriptedAnimation.cpp:57:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:58:12: warning: using decl 'strcpy' is unused [misc-unused-using-decls] +Arx/src/script/ScriptedAnimation.cpp:64:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/script/ScriptedAnimation.cpp:64:14: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:64:26: warning: no header providing "AnimationNumber" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:65:12: warning: variable 'animations' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedAnimation.cpp:69:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/script/ScriptedAnimation.cpp:69: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:29: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:71:36: warning: no header providing "ANIM_NONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:80:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedAnimation.cpp:82:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:84:3: warning: variable 't1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:84:9: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:85:3: warning: variable 't2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:85:9: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:86:3: warning: variable 't3' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:86:9: warning: variable name 't3' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:94:6: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedAnimation.cpp:95:4: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:96:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedAnimation.cpp:107:33: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:107:51: warning: parameter name 'ea' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:110:46: warning: no header providing "ANIM_DIE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:111:46: warning: no header providing "ANIM_HIT1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:118:28: warning: no header providing "EA_FORCEPLAY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:128:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedAnimation.cpp:130:3: warning: variable 'anim' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:134:3: warning: variable 'num' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:140:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:159:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedAnimation.cpp:161:3: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:161:17: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:174:35: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:174:53: warning: parameter name 'ea' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:174:57: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedAnimation.cpp:186:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedAnimation.cpp:189:34: warning: no header providing "EA_LOOP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:200:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedAnimation.cpp:200:9: warning: function 'execute' has cognitive complexity of 68 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedAnimation.cpp:203:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedAnimation.cpp:203:8: warning: variable name 'nu' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:208:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:227:3: warning: variable 'anim' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:239:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedAnimation.cpp:240:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedAnimation.cpp:244:3: warning: variable 'num' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:255:19: warning: no header providing "IO_NO_PHYSICS_INTERPOL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:263:20: warning: no header providing "EA_STATICANIM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:268:4: warning: variable 'timername' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:268:33: warning: no header providing "ARX_SCRIPT_Timer_GetDefaultName" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:269:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedAnimation.cpp:269:4: warning: variable 'num2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:269:16: warning: no header providing "ARX_SCRIPT_Timer_GetFree" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:275:4: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:276:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedAnimation.cpp:277:5: warning: no header providing "scr_timer" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:278:5: warning: no header providing "ActiveTimers" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:282:29: warning: constant value should be of type of type 'long' instead of 'float' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedAnimation.cpp:285:6: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:286:6: warning: use `std::max` instead of `>` [readability-use-std-min-max] +Arx/src/script/ScriptedAnimation.cpp:286:62: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedAnimation.cpp:287:31: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedAnimation.cpp:291:27: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedAnimation.cpp:292:27: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/ScriptedAnimation.cpp:292:28: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/ScriptedAnimation.cpp:309:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedAnimation.cpp:309:9: warning: function 'execute' has cognitive complexity of 42 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedAnimation.cpp:313:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:319:3: warning: variable 'anim' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:321:3: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:331:3: warning: variable 'num' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:342:22: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedAnimation.cpp:347:50: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:371:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedAnimation.cpp:373:3: warning: variable 'dx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:373:9: warning: variable name 'dx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:374:3: warning: variable 'dy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:374:9: warning: variable name 'dy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:375:3: warning: variable 'dz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:375:9: warning: variable name 'dz' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:392:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedAnimation.cpp:394:3: warning: variable 'type' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:432:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedAnimation.cpp:434:3: warning: variable 'zone' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:438:14: warning: variable name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:457:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedAnimation.cpp:457:9: warning: function 'execute' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedAnimation.cpp:461:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:466:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:470:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:472:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedAnimation.cpp:475:15: warning: variable name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:481:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedAnimation.cpp:483:4: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/script/ScriptedAnimation.cpp:483:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedAnimation.cpp:483:25: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/script/ScriptedAnimation.cpp:483:41: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/script/ScriptedAnimation.cpp:483:41: warning: no header providing "malloc" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:509:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedAnimation.cpp:511:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:515:14: warning: variable name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedAnimation.cpp:530:23: warning: no header providing "ANIM_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:531:24: warning: no header providing "ANIM_WAIT2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:532:23: warning: no header providing "ANIM_WALK" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:534:24: warning: no header providing "ANIM_WALK2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:535:24: warning: no header providing "ANIM_WALK3" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:536:32: warning: no header providing "ANIM_WALK_BACKWARD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:537:32: warning: no header providing "ANIM_WALK_MINISTEP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:538:29: warning: no header providing "ANIM_WAIT_SHORT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:539:29: warning: no header providing "ANIM_WALK_SNEAK" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:540:25: warning: no header providing "ANIM_ACTION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:542:26: warning: no header providing "ANIM_ACTION2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:543:26: warning: no header providing "ANIM_ACTION3" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:544:26: warning: no header providing "ANIM_ACTION4" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:545:26: warning: no header providing "ANIM_ACTION5" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:546:26: warning: no header providing "ANIM_ACTION6" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:547:26: warning: no header providing "ANIM_ACTION7" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:548:26: warning: no header providing "ANIM_ACTION8" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:549:26: warning: no header providing "ANIM_ACTION9" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:550:27: warning: no header providing "ANIM_ACTION10" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:553:29: warning: no header providing "ANIM_HOLD_TORCH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:554:28: warning: no header providing "ANIM_HIT_SHORT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:555:26: warning: no header providing "ANIM_STRIKE1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:557:31: warning: no header providing "ANIM_SHIELD_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:558:31: warning: no header providing "ANIM_SHIELD_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:559:29: warning: no header providing "ANIM_SHIELD_HIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:560:29: warning: no header providing "ANIM_SHIELD_END" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:561:31: warning: no header providing "ANIM_STRAFE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:562:30: warning: no header providing "ANIM_STRAFE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:563:34: warning: no header providing "ANIM_STRAFE_RUN_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:564:35: warning: no header providing "ANIM_STRAFE_RUN_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:566:38: warning: no header providing "ANIM_DAGGER_READY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:567:38: warning: no header providing "ANIM_DAGGER_READY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:568:40: warning: no header providing "ANIM_DAGGER_UNREADY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:569:40: warning: no header providing "ANIM_DAGGER_UNREADY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:570:30: warning: no header providing "ANIM_DAGGER_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:571:43: warning: no header providing "ANIM_DAGGER_STRIKE_LEFT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:572:43: warning: no header providing "ANIM_DAGGER_STRIKE_LEFT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:573:37: warning: no header providing "ANIM_DAGGER_STRIKE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:574:44: warning: no header providing "ANIM_DAGGER_STRIKE_RIGHT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:575:44: warning: no header providing "ANIM_DAGGER_STRIKE_RIGHT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:576:38: warning: no header providing "ANIM_DAGGER_STRIKE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:577:42: warning: no header providing "ANIM_DAGGER_STRIKE_TOP_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:578:42: warning: no header providing "ANIM_DAGGER_STRIKE_TOP_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:579:36: warning: no header providing "ANIM_DAGGER_STRIKE_TOP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:580:45: warning: no header providing "ANIM_DAGGER_STRIKE_BOTTOM_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:581:45: warning: no header providing "ANIM_DAGGER_STRIKE_BOTTOM_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:582:39: warning: no header providing "ANIM_DAGGER_STRIKE_BOTTOM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:583:33: warning: no header providing "ANIM_DEATH_CRITICAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:584:22: warning: no header providing "ANIM_RUN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:586:23: warning: no header providing "ANIM_RUN2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:587:23: warning: no header providing "ANIM_RUN3" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:588:31: warning: no header providing "ANIM_RUN_BACKWARD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:589:31: warning: no header providing "ANIM_TALK_NEUTRAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:590:29: warning: no header providing "ANIM_TALK_ANGRY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:591:29: warning: no header providing "ANIM_TALK_HAPPY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:592:36: warning: no header providing "ANIM_TALK_NEUTRAL_HEAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:593:34: warning: no header providing "ANIM_TALK_ANGRY_HEAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:594:34: warning: no header providing "ANIM_TALK_HAPPY_HEAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:595:29: warning: no header providing "ANIM_BARE_READY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:596:31: warning: no header providing "ANIM_BARE_UNREADY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:597:28: warning: no header providing "ANIM_BARE_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:598:41: warning: no header providing "ANIM_BARE_STRIKE_LEFT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:599:41: warning: no header providing "ANIM_BARE_STRIKE_LEFT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:600:35: warning: no header providing "ANIM_BARE_STRIKE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:601:42: warning: no header providing "ANIM_BARE_STRIKE_RIGHT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:602:42: warning: no header providing "ANIM_BARE_STRIKE_RIGHT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:603:36: warning: no header providing "ANIM_BARE_STRIKE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:604:40: warning: no header providing "ANIM_BARE_STRIKE_TOP_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:605:40: warning: no header providing "ANIM_BARE_STRIKE_TOP_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:606:34: warning: no header providing "ANIM_BARE_STRIKE_TOP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:607:43: warning: no header providing "ANIM_BARE_STRIKE_BOTTOM_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:608:43: warning: no header providing "ANIM_BARE_STRIKE_BOTTOM_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:609:37: warning: no header providing "ANIM_BARE_STRIKE_BOTTOM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:610:34: warning: no header providing "ANIM_1H_READY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:611:34: warning: no header providing "ANIM_1H_READY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:612:36: warning: no header providing "ANIM_1H_UNREADY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:613:36: warning: no header providing "ANIM_1H_UNREADY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:614:26: warning: no header providing "ANIM_1H_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:615:39: warning: no header providing "ANIM_1H_STRIKE_LEFT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:616:39: warning: no header providing "ANIM_1H_STRIKE_LEFT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:617:33: warning: no header providing "ANIM_1H_STRIKE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:618:40: warning: no header providing "ANIM_1H_STRIKE_RIGHT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:619:40: warning: no header providing "ANIM_1H_STRIKE_RIGHT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:620:34: warning: no header providing "ANIM_1H_STRIKE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:621:38: warning: no header providing "ANIM_1H_STRIKE_TOP_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:622:38: warning: no header providing "ANIM_1H_STRIKE_TOP_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:623:32: warning: no header providing "ANIM_1H_STRIKE_TOP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:624:41: warning: no header providing "ANIM_1H_STRIKE_BOTTOM_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:625:41: warning: no header providing "ANIM_1H_STRIKE_BOTTOM_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:626:35: warning: no header providing "ANIM_1H_STRIKE_BOTTOM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:627:34: warning: no header providing "ANIM_2H_READY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:628:34: warning: no header providing "ANIM_2H_READY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:629:36: warning: no header providing "ANIM_2H_UNREADY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:630:36: warning: no header providing "ANIM_2H_UNREADY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:631:26: warning: no header providing "ANIM_2H_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:632:39: warning: no header providing "ANIM_2H_STRIKE_LEFT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:633:39: warning: no header providing "ANIM_2H_STRIKE_LEFT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:634:33: warning: no header providing "ANIM_2H_STRIKE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:635:40: warning: no header providing "ANIM_2H_STRIKE_RIGHT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:636:40: warning: no header providing "ANIM_2H_STRIKE_RIGHT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:637:34: warning: no header providing "ANIM_2H_STRIKE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:638:38: warning: no header providing "ANIM_2H_STRIKE_TOP_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:639:38: warning: no header providing "ANIM_2H_STRIKE_TOP_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:640:32: warning: no header providing "ANIM_2H_STRIKE_TOP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:641:41: warning: no header providing "ANIM_2H_STRIKE_BOTTOM_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:642:41: warning: no header providing "ANIM_2H_STRIKE_BOTTOM_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:643:35: warning: no header providing "ANIM_2H_STRIKE_BOTTOM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:644:39: warning: no header providing "ANIM_MISSILE_READY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:645:39: warning: no header providing "ANIM_MISSILE_READY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:646:41: warning: no header providing "ANIM_MISSILE_UNREADY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:647:41: warning: no header providing "ANIM_MISSILE_UNREADY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:648:31: warning: no header providing "ANIM_MISSILE_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:649:40: warning: no header providing "ANIM_MISSILE_STRIKE_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:650:40: warning: no header providing "ANIM_MISSILE_STRIKE_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:651:39: warning: no header providing "ANIM_MISSILE_STRIKE_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:652:33: warning: no header providing "ANIM_MISSILE_STRIKE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:653:29: warning: no header providing "ANIM_MEDITATION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:654:29: warning: no header providing "ANIM_CAST_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:655:29: warning: no header providing "ANIM_CAST_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:656:23: warning: no header providing "ANIM_CAST" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:657:27: warning: no header providing "ANIM_CAST_END" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:658:25: warning: no header providing "ANIM_CROUCH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:659:30: warning: no header providing "ANIM_CROUCH_WALK" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:660:39: warning: no header providing "ANIM_CROUCH_WALK_BACKWARD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:661:37: warning: no header providing "ANIM_CROUCH_STRAFE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:662:38: warning: no header providing "ANIM_CROUCH_STRAFE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:663:31: warning: no header providing "ANIM_CROUCH_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:664:30: warning: no header providing "ANIM_CROUCH_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:665:29: warning: no header providing "ANIM_CROUCH_END" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:666:29: warning: no header providing "ANIM_LEAN_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:667:28: warning: no header providing "ANIM_LEAN_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:668:27: warning: no header providing "ANIM_LEVITATE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:669:23: warning: no header providing "ANIM_JUMP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:670:36: warning: no header providing "ANIM_JUMP_ANTICIPATION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:671:26: warning: no header providing "ANIM_JUMP_UP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:672:29: warning: no header providing "ANIM_JUMP_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:673:27: warning: no header providing "ANIM_JUMP_END" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:674:33: warning: no header providing "ANIM_JUMP_END_PART2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:675:37: warning: no header providing "ANIM_FIGHT_WALK_FORWARD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:676:38: warning: no header providing "ANIM_FIGHT_WALK_BACKWARD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:677:38: warning: no header providing "ANIM_FIGHT_WALK_MINISTEP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:678:37: warning: no header providing "ANIM_FIGHT_STRAFE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:679:36: warning: no header providing "ANIM_FIGHT_STRAFE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:680:29: warning: no header providing "ANIM_FIGHT_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:681:24: warning: no header providing "ANIM_GRUNT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:682:30: warning: no header providing "ANIM_U_TURN_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:683:31: warning: no header providing "ANIM_U_TURN_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:684:36: warning: no header providing "ANIM_U_TURN_LEFT_FIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:685:37: warning: no header providing "ANIM_U_TURN_RIGHT_FIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:689:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedAnimation.cpp:695:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:55:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:58:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:60:17: warning: variable 'CAMERACONTROLLER' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedCamera.cpp:60:17: warning: variable 'CAMERACONTROLLER' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedCamera.cpp:61:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedCamera.cpp:61:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedCamera.cpp:73:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedCamera.cpp:75:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:79:53: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:79:53: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedCamera.cpp:92:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedCamera.cpp:94:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:106:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedCamera.cpp:128:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedCamera.cpp:130:3: warning: variable 'smoothing' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:147:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedCamera.cpp:150:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:156:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:173:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedCamera.cpp:175:3: warning: variable 'focal' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:192:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedCamera.cpp:194:3: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:194:9: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedCamera.cpp:195:3: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:195:9: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedCamera.cpp:196:3: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:196:9: warning: variable name 'z' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedCamera.cpp:213:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedCamera.cpp:215:3: warning: variable 'inout' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:217:18: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedCamera.cpp:251:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedCamera.cpp:253:3: warning: variable 'intensity' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:254:3: warning: variable 'duration' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:255:3: warning: variable 'period' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:266:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedCamera.cpp:270:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedControl.cpp:58:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedControl.cpp:60:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedControl.cpp:60:13: warning: variable 'GLOBAL_MAGIC_MODE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedControl.cpp:72:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedControl.cpp:76:35: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedControl.cpp:89:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedControl.cpp:91:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:93:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedControl.cpp:95:3: warning: variable 'power' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:107:36: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedControl.cpp:107:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedControl.cpp:107:44: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedControl.cpp:107:52: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedControl.cpp:120:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedControl.cpp:120:9: warning: function 'execute' has cognitive complexity of 45 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedControl.cpp:122:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:125:5: warning: variable 'volume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:126:5: warning: variable 'ambiance' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:128:5: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:137:5: warning: variable 'ambiance' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:144:3: warning: variable 'ambiance' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:149:4: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:167:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedControl.cpp:169:3: warning: variable 'choice' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:186:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedControl.cpp:188:3: warning: variable 'sourceio' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:189:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedControl.cpp:191:3: warning: variable 'source' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:193:3: warning: variable 'targetio' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:194:12: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedControl.cpp:196:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:200:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedControl.cpp:200:3: warning: variable 'i' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:200:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedControl.cpp:200:18: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedControl.cpp:200:26: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedControl.cpp:200:34: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedControl.cpp:201:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedControl.cpp:201:3: warning: variable 'i2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:201:8: warning: variable name 'i2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedControl.cpp:201:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedControl.cpp:201:28: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedControl.cpp:201:37: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedControl.cpp:216:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedControl.cpp:216:9: warning: function 'execute' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedControl.cpp:219:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:225:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:256:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedControl.cpp:259:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:263:3: warning: variable 'group' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:267:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedControl.cpp:270:22: warning: no header providing "GFLAG_DOOR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedControl.cpp:298:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedControl.cpp:300:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:300:10: warning: unused local variable 'options' of type 'string' (aka 'basic_string') [bugprone-unused-local-non-trivial-variable] +Arx/src/script/ScriptedControl.cpp:301:3: warning: variable 'command' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:329:4: warning: variable 'ambiance' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:333:4: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:354:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedControl.cpp:371:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedControl.cpp:373:3: warning: variable 'source' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:374:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:378:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedControl.cpp:384:12: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedControl.cpp:390:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedControl.cpp:390:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedControl.cpp:397:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedControl.cpp:401:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:60:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:62:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedConversation.cpp:62:13: warning: variable 'ARX_CONVERSATION' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedConversation.cpp:63:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedConversation.cpp:63:13: warning: variable 'FRAME_COUNT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedConversation.cpp:64:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:64:14: warning: variable 'LASTCAMPOS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedConversation.cpp:65:8: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:65:15: warning: variable 'LASTCAMANGLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedConversation.cpp:77:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedConversation.cpp:80:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedConversation.cpp:89:3: warning: variable 'enabled' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:104:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedConversation.cpp:106:4: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:107:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedConversation.cpp:113:40: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:113:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedConversation.cpp:113:48: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedConversation.cpp:113:56: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedConversation.cpp:131:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedConversation.cpp:131:9: warning: function 'execute' has cognitive complexity of 41 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedConversation.cpp:139:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:145:13: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/script/ScriptedConversation.cpp:145:20: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +Arx/src/script/ScriptedConversation.cpp:151:3: warning: variable 'sample' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:155:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedConversation.cpp:158:23: warning: no header providing "audio::INVALID_ID" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:166:11: warning: no header providing "audio::SampleId" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:166:20: warning: variable 'num' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedConversation.cpp:168:17: warning: no header providing "SM_INVENTORYUSE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:169:11: warning: narrowing conversion from 'long' to signed type 'audio::SampleId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedConversation.cpp:169:40: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedConversation.cpp:171:11: warning: narrowing conversion from 'long' to signed type 'audio::SampleId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedConversation.cpp:196:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedConversation.cpp:198:3: warning: variable 'sample' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:202:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedConversation.cpp:203:3: warning: variable 'num' of type 'audio::SampleId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:203:25: warning: narrowing conversion from 'long' to signed type 'audio::SampleId' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedConversation.cpp:203:81: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedConversation.cpp:221:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedConversation.cpp:223:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:235:24: warning: no header providing "script::loadUnlocalized" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:251:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedConversation.cpp:254:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/script/ScriptedConversation.cpp:269:60: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedConversation.cpp:269:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedConversation.cpp:272:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedConversation.cpp:272:4: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:272:9: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedConversation.cpp:282:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedConversation.cpp:282:4: warning: variable 'id' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:282:9: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedConversation.cpp:293:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:294:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedConversation.cpp:296:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedConversation.cpp:296:29: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedConversation.cpp:296:37: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedConversation.cpp:311:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedConversation.cpp:311:9: warning: function 'execute' has cognitive complexity of 87 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedConversation.cpp:316:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedConversation.cpp:318:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/script/ScriptedConversation.cpp:319:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedConversation.cpp:320:3: warning: no header providing "AnimationNumber" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:320:26: warning: no header providing "ANIM_TALK_NEUTRAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:321:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:323:72: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedConversation.cpp:327:12: warning: no header providing "ANIM_TALK_HAPPY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:330:12: warning: no header providing "ANIM_TALK_ANGRY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:335:74: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedConversation.cpp:339:5: warning: variable 'command' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:358:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedConversation.cpp:358:33: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedConversation.cpp:358:42: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedConversation.cpp:386:3: warning: variable 'text' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:398:3: warning: variable 'data' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:412:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedConversation.cpp:412:8: warning: variable 'speechnum' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedConversation.cpp:422:3: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:422:3: warning: variable 'onspeechend' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:424:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedConversation.cpp:425:32: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedConversation.cpp:445:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedConversation.cpp:456:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedConversation.cpp:460:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:62:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:64:17: warning: variable 'LASTSPAWNED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedIOControl.cpp:64:17: warning: variable 'LASTSPAWNED' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedIOControl.cpp:65:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:65:13: warning: variable 'CHANGE_LEVEL_ICON' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedIOControl.cpp:77:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:77:9: warning: function 'execute' has cognitive complexity of 54 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedIOControl.cpp:79:3: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:83:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:86:20: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:88:27: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:94:3: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:94:3: warning: variable 'last_angle' of type 'Anglef' (aka 'Angle') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:112:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:112:3: warning: variable 'neww' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:112:15: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedIOControl.cpp:113:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:113:3: warning: variable 'oldd' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:113:15: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedIOControl.cpp:115:21: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:117:4: warning: no header providing "SendInitScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:119:7: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/script/ScriptedIOControl.cpp:126:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/ScriptedIOControl.cpp:126:8: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:126:26: warning: no header providing "MAX_SPELLS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:127:8: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:132:15: warning: no header providing "SHOW_FLAG_KILLED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:134:4: warning: variable 'oldPos' of type 'InventoryPos' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:147:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/ScriptedIOControl.cpp:160:6: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/ScriptedIOControl.cpp:174:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/script/ScriptedIOControl.cpp:192:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:194:3: warning: variable 'choice' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:198:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:201:19: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:208:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/ScriptedIOControl.cpp:211:21: warning: no header providing "EVENT_SENDER" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:213:6: warning: no header providing "Stack_SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:213:34: warning: no header providing "SM_COLLISION_ERROR_DETAIL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:221:20: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:221:20: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:222:33: warning: no header providing "SM_COLLISION_ERROR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:240:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:240:9: warning: function 'execute' has cognitive complexity of 77 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedIOControl.cpp:242:3: warning: variable 'type' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:247: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:249:4: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:250:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:258:7: warning: no header providing "FORBID_SCRIPT_IO_CREATION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:264:5: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:280:6: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:281:21: warning: call to 'sin' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/script/ScriptedIOControl.cpp:281:27: warning: no header providing "radians" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:282:20: warning: call to 'cos' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/script/ScriptedIOControl.cpp:289:5: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:309:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:340:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:344:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:349:22: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:351:4: warning: no header providing "ARX_DAMAGES_ForceDeath" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:365:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:367:3: warning: variable 'type' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:369:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:372:20: warning: no header providing "IO_PHYSICAL_OFF" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:381:4: warning: variable 'fval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:409:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:411:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:413:3: warning: variable 'attach' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:417:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:417:3: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:417:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:436:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:438:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:442:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:442:3: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:442:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:455:37: warning: parameter name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:457:6: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:461:3: warning: variable 'ab' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:461:9: warning: variable name 'ab' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:461:14: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:462:9: warning: variable name 'aa' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:462:14: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:463:18: warning: no header providing "degrees" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:467:11: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/script/ScriptedIOControl.cpp:477:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:479:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:483:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:483:3: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:483:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:500:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:503:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:507:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:508:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:510:3: warning: variable 'hide' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:518:20: warning: no header providing "GFLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:522:15: warning: no header providing "SHOW_FLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:524:15: warning: no header providing "SHOW_FLAG_HIDDEN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:527:14: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:529:41: warning: no header providing "ANIM_DIE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:530:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:531:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:547:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:547:9: warning: function 'execute' has cognitive complexity of 96 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedIOControl.cpp:551:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/script/ScriptedIOControl.cpp:552:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:554:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:557:5: warning: variable 'fangle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:558:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:570:5: warning: variable 'level' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:571:5: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:573:5: warning: no header providing "strcpy" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:577:38: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:605:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:613:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:668:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:686:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:688:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:692:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:697:3: warning: variable 'self' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:710:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/script/ScriptedIOControl.cpp:710:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:712:2: warning: no header providing "DamageType" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:712:13: warning: function 'getDamageType' has cognitive complexity of 39 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedIOControl.cpp:714:21: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:715:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:716:32: warning: no header providing "DAMAGE_TYPE_FIRE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:716:62: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:717:32: warning: no header providing "DAMAGE_TYPE_MAGICAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:717:65: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:718:32: warning: no header providing "DAMAGE_TYPE_POISON" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:718:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:719:32: warning: no header providing "DAMAGE_TYPE_LIGHTNING" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:719:67: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:720:32: warning: no header providing "DAMAGE_TYPE_COLD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:720:62: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:721:32: warning: no header providing "DAMAGE_TYPE_GAS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:721:61: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:722:32: warning: no header providing "DAMAGE_TYPE_METAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:722:63: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:723:32: warning: no header providing "DAMAGE_TYPE_WOOD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:723:62: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:724:32: warning: no header providing "DAMAGE_TYPE_STONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:724:63: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:725:32: warning: no header providing "DAMAGE_TYPE_ACID" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:725:62: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:726:32: warning: no header providing "DAMAGE_TYPE_ORGANIC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:726:65: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:727:32: warning: no header providing "DAMAGE_TYPE_DRAIN_LIFE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:727:68: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:728:32: warning: no header providing "DAMAGE_TYPE_DRAIN_MANA" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:728:68: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:729:32: warning: no header providing "DAMAGE_TYPE_PUSH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:729:62: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:743:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:745:3: warning: variable 'type' of type 'DamageType' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:747:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:749:3: warning: variable 'damage' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:753:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:759:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:759:3: warning: variable 'self' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:759:39: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedIOControl.cpp:759:47: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedIOControl.cpp:759:73: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedIOControl.cpp:760:3: warning: no header providing "ARX_DAMAGES_DealDamages" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:760:27: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedIOControl.cpp:773:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOControl.cpp:775:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOControl.cpp:777:47: warning: no header providing "DAMAGE_TYPE_PER_SECOND" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:779:3: warning: variable 'damages' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:783:44: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedIOControl.cpp:790:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedIOControl.cpp:794:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:56:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:57:12: warning: using decl 'strcpy' is unused [misc-unused-using-decls] +Arx/src/script/ScriptedIOProperties.cpp:69:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:86:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:104:25: warning: the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/script/ScriptedIOProperties.cpp:107:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:109:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:113:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:133:23: warning: the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/script/ScriptedIOProperties.cpp:136:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:138:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:142:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:161:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:163:3: warning: variable 'trapvalue' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:170:47: warning: narrowing conversion from 'int' to signed type 'char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedIOProperties.cpp:170:53: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedIOProperties.cpp:184:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:186:3: warning: variable 'secretvalue' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:193:39: warning: narrowing conversion from 'int' to signed type 'char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedIOProperties.cpp:193:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedIOProperties.cpp:203:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/script/ScriptedIOProperties.cpp:203:15: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:203:32: warning: no header providing "Material" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:209:25: warning: no header providing "MATERIAL_WEAPON" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:210:24: warning: no header providing "MATERIAL_FLESH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:211:24: warning: no header providing "MATERIAL_METAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:212:24: warning: no header providing "MATERIAL_GLASS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:213:24: warning: no header providing "MATERIAL_CLOTH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:214:23: warning: no header providing "MATERIAL_WOOD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:215:24: warning: no header providing "MATERIAL_EARTH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:216:24: warning: no header providing "MATERIAL_WATER" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:217:22: warning: no header providing "MATERIAL_ICE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:218:25: warning: no header providing "MATERIAL_GRAVEL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:219:24: warning: no header providing "MATERIAL_STONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:220:29: warning: no header providing "MATERIAL_FOOT_LARGE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:221:28: warning: no header providing "MATERIAL_FOOT_BARE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:222:28: warning: no header providing "MATERIAL_FOOT_SHOE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:223:29: warning: no header providing "MATERIAL_FOOT_METAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:224:31: warning: no header providing "MATERIAL_FOOT_STEALTH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:227:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:229:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:233:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/script/ScriptedIOProperties.cpp:233: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:233:29: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:236:36: warning: no header providing "MATERIAL_NONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:252:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:254:34: warning: no header providing "script::loadUnlocalized" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:269:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:271:3: warning: variable 'interactivity' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:273:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:296:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:313:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:330:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:349:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:351:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:372:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:374:38: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:389:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:391:3: warning: variable 'trans' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:395:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:412:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:414:3: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:414:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:415:3: warning: variable 'g' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:415:9: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:416:3: warning: variable 'b' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:416:9: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:433:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:450:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:450:9: warning: function 'execute' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedIOProperties.cpp:452:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:454:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:507:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:507:9: warning: function 'execute' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedIOProperties.cpp:509:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:511:3: warning: variable 'type' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:515:4: warning: variable 'oldskin' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:516:4: warning: variable 'newskin' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:520:35: warning: no header providing "TWEAK_TYPE_SKIN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:521:4: warning: no header providing "EERIE_MESH_TWEAK_Skin" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:525:4: warning: variable 'icon' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:529:35: warning: no header providing "TWEAK_TYPE_ICON" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:536:35: warning: no header providing "TWEAK_REMOVE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:537:4: warning: no header providing "EERIE_MESH_TWEAK_Do" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:541:14: warning: variable name 'tw' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedIOProperties.cpp:543:10: warning: no header providing "TWEAK_HEAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:545:10: warning: no header providing "TWEAK_TORSO" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:547:10: warning: no header providing "TWEAK_LEGS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:586:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedIOProperties.cpp:588:3: warning: variable 'mesh' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:592:51: warning: no header providing "TWEAK_TYPE_MESH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:600:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedIOProperties.cpp:604:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:56:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:58:14: warning: variable 'InventoryDir' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedInterface.cpp:59:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInterface.cpp:59:13: warning: variable 'REFUSE_GAME_RETURN' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedInterface.cpp:71:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:71:9: warning: function 'execute' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedInterface.cpp:73:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:85:3: warning: variable 'command' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:110:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:112:3: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:121:4: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:121:27: warning: no header providing "SM_INVENTORY2_CLOSE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:123:25: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:123:25: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedInterface.cpp:137:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:139:8: warning: no header providing "gui::Note" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:139:19: warning: variable 'type' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedInterface.cpp:140:3: warning: variable 'tpname' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:152:3: warning: variable 'text' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:169:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:176:3: warning: no header providing "MakeGlobalText" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:177:3: warning: no header providing "LogInfo" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:190:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:195:3: warning: no header providing "MakeLocalText" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:209:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:230:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:233:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:237:3: warning: variable 'command' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:261:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:263:3: warning: variable 'message' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:263:10: warning: unused local variable 'message' of type 'string' (aka 'basic_string') [bugprone-unused-local-non-trivial-variable] +Arx/src/script/ScriptedInterface.cpp:278:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:297:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:320:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:323:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:329:4: warning: variable 'marker' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:337:4: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:337:10: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInterface.cpp:338:4: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:338:10: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInterface.cpp:339:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInterface.cpp:339:4: warning: variable 'level' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:339:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedInterface.cpp:339:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInterface.cpp:341:4: warning: variable 'marker' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:345:33: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedInterface.cpp:360:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInterface.cpp:362:3: warning: variable 'symbol' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:364:3: warning: variable 'duration' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:368:3: warning: no header providing "ARX_SPELLS_RequestSymbolDraw" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:375:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedInventory.cpp:62:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:66:12: warning: using decl 'strcpy' is unused [misc-unused-using-decls] +Arx/src/script/ScriptedInventory.cpp:68:17: warning: variable 'LASTSPAWNED' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedInventory.cpp:68:17: warning: variable 'LASTSPAWNED' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedInventory.cpp:85:3: warning: function 'getCommand' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptedInventory.cpp:89:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/script/ScriptedInventory.cpp:89:15: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:94:16: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:96: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:96:34: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:99:4: warning: no header providing "LogError" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:111:10: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:115:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:119:22: warning: variable name 'id' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:121:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:122:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:131:29: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedInventory.cpp:138:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedInventory.cpp:138:20: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/script/ScriptedInventory.cpp:138:38: warning: do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc] +Arx/src/script/ScriptedInventory.cpp:155:10: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:172:10: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:174:4: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:178:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:201:10: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:205:7: warning: no header providing "FORBID_SCRIPT_IO_CREATION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:222:4: warning: no header providing "SendInitScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:226:5: warning: variable 'count' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:231:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:234:35: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:234:58: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:234:73: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedInventory.cpp:234:74: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:254:10: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:256:4: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:260:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:275:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:275:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/script/ScriptedInventory.cpp:275:9: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedInventory.cpp:275:9: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:275:13: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedInventory.cpp:275:13: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:293:10: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:297:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:308:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:310:5: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:314:25: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:340:58: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:340:73: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedInventory.cpp:340:74: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:344:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:344:4: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/script/ScriptedInventory.cpp:344:9: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedInventory.cpp:344:9: warning: variable name 'xx' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:344:13: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedInventory.cpp:344:13: warning: variable name 'yy' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:360:10: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:364:13: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:367:27: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedInventory.cpp:369:42: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedInventory.cpp:383:10: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:403:10: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:407:41: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedInventory.cpp:408:26: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedInventory.cpp:433:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:438:23: warning: no header providing "std::remove" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:440:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/script/ScriptedInventory.cpp:440: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:440:28: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:457:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:460:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:464:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:468:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedInventory.cpp:468:3: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:468:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:475:19: warning: no header providing "EVENT_SENDER" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:477:4: warning: no header providing "Stack_SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:477:49: warning: no header providing "SM_EQUIPOUT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:483:49: warning: no header providing "SM_EQUIPIN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:499:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:501:3: warning: variable 'draw' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:505:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:511:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedInventory.cpp:518:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedInventory.cpp:534:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedInventory.cpp:536:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedInventory.cpp:539:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:545:3: warning: variable 'weapon' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:556:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedInventory.cpp:560:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:52:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:56:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:69:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:71:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:72:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedItem.cpp:74:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:76:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:76:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedItem.cpp:77:4: warning: no header providing "ARX_DAMAGES_DurabilityRestore" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:93:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:95:3: warning: variable 'poisonous' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:96:3: warning: variable 'poisonous_count' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:100:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedItem.cpp:104:39: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:105:45: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:117:42: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:119:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:121:3: warning: variable 'stealvalue' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:125:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedItem.cpp:129:32: warning: narrowing conversion from 'int' to signed type 'char' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedItem.cpp:129:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedItem.cpp:146:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:148:3: warning: variable 'lightvalue' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:155:49: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedItem.cpp:155:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedItem.cpp:169:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:171:3: warning: variable 'food_value' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:175:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedItem.cpp:188:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:191:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:195:3: warning: variable 'type' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:215:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:218:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:227:3: warning: variable 'param2' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:230:33: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedItem.cpp:234:3: warning: variable 'fval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:251:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:253:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedItem.cpp:254:20: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:260:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:264:3: warning: variable 'durability' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:284:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:286:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:286:3: warning: variable 'count' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:286:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedItem.cpp:286:22: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:286:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedItem.cpp:286:49: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:303:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:305:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:305:3: warning: variable 'count' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:305:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedItem.cpp:305:24: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:305:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedItem.cpp:305:51: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:322:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:324:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:324:3: warning: variable 'price' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:324:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedItem.cpp:324:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:341:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:343:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:343:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/script/ScriptedItem.cpp:343:3: warning: variable 'size' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:343:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedItem.cpp:343:17: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/script/ScriptedItem.cpp:343:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedItem.cpp:360:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedItem.cpp:364:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedItem.cpp:367:25: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedItem.cpp:373:15: warning: no header providing "SHOW_FLAG_KILLED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:374:22: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:376:4: warning: no header providing "ARX_DAMAGES_ForceDeath" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:376:31: warning: no header providing "EVENT_SENDER" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:384:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedLang.cpp:53:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:57:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:59:8: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/script/ScriptedLang.cpp:59:21: warning: variable 'AS_EVENT' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedLang.cpp:71:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:73:3: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:88:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/src/script/ScriptedLang.cpp:88:21: warning: the parameter 'command' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/script/ScriptedLang.cpp:90:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:92:3: warning: variable 'label' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:97:4: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:97:4: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:98:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedLang.cpp:119:22: warning: the parameter 'command' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/script/ScriptedLang.cpp:121:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:138:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:140:3: warning: variable 'chance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:144:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:144:9: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:160:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:180:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:182:3: warning: variable 'event' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:186:3: warning: no header providing "ARX_SCRIPT_SetMainEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:201:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:203:3: warning: variable 'timer' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:207:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedLang.cpp:207:8: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedLang.cpp:207:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:221:3: warning: no header providing "EERIE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:223:24: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/ScriptedLang.cpp:223:25: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/ScriptedLang.cpp:238: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:243:2: warning: no header providing "DECLARE_FLAGS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:249:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:249:9: warning: function 'execute' has cognitive complexity of 100 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedLang.cpp:251:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedLang.cpp:255:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:257:45: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/src/script/ScriptedLang.cpp:257:58: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedLang.cpp:258:46: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/src/script/ScriptedLang.cpp:258:59: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedLang.cpp:259:45: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/src/script/ScriptedLang.cpp:259:58: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedLang.cpp:289:26: warning: no header providing "SM_MAXCMD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:291:11: warning: no header providing "std::swap" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:297:3: warning: variable 'params' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:299:14: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/script/ScriptedLang.cpp:307:18: warning: no header providing "EVENT_SENDER" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:310:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:314:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/ScriptedLang.cpp:314:15: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:329:6: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/script/ScriptedLang.cpp:329:6: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:333:9: warning: no header providing "distSqr" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:335:7: warning: no header providing "Stack_SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:335:44: warning: no header providing "SM_NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:342:15: warning: variable name 'ap' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:349:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/ScriptedLang.cpp:349:15: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:375:4: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/ScriptedLang.cpp:375:15: warning: loop variable name 'l' is too short, expected at least 2 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:391:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:410:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/script/ScriptedLang.cpp:410:15: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:410:27: warning: no header providing "DisabledEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:416:27: warning: no header providing "DISABLE_COLLIDE_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:417:20: warning: no header providing "DISABLE_CHAT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:418:19: warning: no header providing "DISABLE_HIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:419:31: warning: no header providing "DISABLE_INVENTORY2_OPEN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:420:28: warning: no header providing "DISABLE_DETECT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:421:20: warning: no header providing "DISABLE_HEAR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:422:26: warning: no header providing "DISABLE_AGGRESSION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:423:20: warning: no header providing "DISABLE_MAIN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:424:26: warning: no header providing "DISABLE_CURSORMODE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:425:31: warning: no header providing "DISABLE_EXPLORATIONMODE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:428:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:430:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:431:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:435:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/script/ScriptedLang.cpp:435:3: warning: variable 'it' of type 'Events::const_iterator' (aka '_Rb_tree_const_iterator, DisabledEvent>>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:435:26: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:455:9: warning: no header providing "ValueType" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:455:80: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:455:91: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:457:3: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:457:8: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:459:18: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:460:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:466:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedLang.cpp:466:10: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedLang.cpp:466:10: warning: variable name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:467:12: warning: no header providing "getSystemVar" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:469:11: warning: no header providing "TYPE_TEXT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:471:11: warning: no header providing "TYPE_FLOAT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:473:11: warning: no header providing "TYPE_LONG" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:479:7: warning: no header providing "ARX_DEAD_CODE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:487:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedLang.cpp:487:9: warning: no header providing "GETVarValueLong" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:487:25: warning: no header providing "svar" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:487:31: warning: no header providing "NB_GLOBALS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:492:9: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedLang.cpp:497:9: warning: no header providing "GETVarValueFloat" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:507:9: warning: no header providing "GETVarValueText" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:520:7: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/script/ScriptedLang.cpp:521:29: warning: 'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead [cert-err34-c] +Arx/src/script/ScriptedLang.cpp:521:29: warning: no header providing "atof" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:530:8: warning: class 'Operator' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/script/ScriptedLang.cpp:537:12: warning: pass by value and use std::move [modernize-pass-by-value] +Arx/src/script/ScriptedLang.cpp:539:11: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/script/ScriptedLang.cpp:553:3: warning: function 'getName' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptedLang.cpp:553:17: warning: method 'getName' can be made static [readability-convert-member-functions-to-static] +Arx/src/script/ScriptedLang.cpp:554:3: warning: function 'getOperator' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptedLang.cpp:555:3: warning: function 'getType' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/script/ScriptedLang.cpp:559:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/script/ScriptedLang.cpp:562:30: warning: parameter name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:564:16: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:566: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:566:35: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:569:4: warning: no header providing "LogError" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:581:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:584:24: warning: variable 'next' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedLang.cpp:607:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:620:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:620:38: warning: 2 adjacent parameters of 'text' of similar type ('const string &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/script/ScriptedLang.cpp:622:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:624:17: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:624:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedLang.cpp:635:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:635:38: warning: 2 adjacent parameters of 'text' of similar type ('const string &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/script/ScriptedLang.cpp:637:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:639:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedLang.cpp:650:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:650:38: warning: 2 adjacent parameters of 'text' of similar type ('const string &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/script/ScriptedLang.cpp:652:13: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:654:4: warning: variable 'flag' of type 'ItemType' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:660:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedLang.cpp:671:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:683:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:687:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:699:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:703:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:715:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:727:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:739:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:751:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:774:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:776:3: warning: variable 'left' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:778:3: warning: variable 'op' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:778:10: warning: variable name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:780:3: warning: variable 'right' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:782:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/script/ScriptedLang.cpp:782: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:782:29: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:788:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/script/ScriptedLang.cpp:788:9: warning: variable 'f1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedLang.cpp:788:9: warning: variable name 'f1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:788:13: warning: variable 'f2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedLang.cpp:788:13: warning: variable name 'f2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:789:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/script/ScriptedLang.cpp:789:10: warning: variable name 's1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:789:14: warning: variable name 's2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:790:3: warning: variable 't1' of type 'ValueType' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:790:13: warning: variable name 't1' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:791:3: warning: variable 't2' of type 'ValueType' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:791:13: warning: variable name 't2' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:799:8: warning: variable 'condition' is not initialized [cppcoreguidelines-init-variables] +Arx/src/script/ScriptedLang.cpp:823:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedLang.cpp:834:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedLang.cpp:836:1: warning: return type 'const string' (aka 'const basic_string') is 'const'-qualified at the top level, which may reduce code readability without improving const correctness [readability-const-return-type] +Arx/src/script/ScriptedLang.cpp:843:2: warning: variable 'timername' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:843:37: warning: no header providing "ARX_SCRIPT_Timer_GetDefaultName" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:845:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/script/ScriptedLang.cpp:846:2: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:851:2: warning: variable 'command' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:855:11: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedLang.cpp:859: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:2: warning: no header providing "ARX_SCRIPT_Timer_Clear_By_Name_And_IO" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:869:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedLang.cpp:869:2: warning: variable 'count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:869:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedLang.cpp:869:16: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedLang.cpp:870:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedLang.cpp:870:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedLang.cpp:870:22: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedLang.cpp:876:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:878:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedLang.cpp:878:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:878:13: warning: no header providing "ARX_SCRIPT_Timer_GetFree" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:884:2: warning: no header providing "ActiveTimers" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:885:2: warning: no header providing "scr_timer" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:890:23: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedLang.cpp:891:23: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/script/ScriptedLang.cpp:891:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:55:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:65:43: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:67:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:67:9: warning: function 'execute' has cognitive complexity of 46 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedNPC.cpp:69:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:71:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedNPC.cpp:72:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:73:70: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedNPC.cpp:74:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedNPC.cpp:75:66: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedNPC.cpp:76:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedNPC.cpp:77:64: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedNPC.cpp:78:67: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedNPC.cpp:84:3: warning: variable 'command' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:91:6: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/script/ScriptedNPC.cpp:137:61: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:150:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:153:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:172:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:172:9: warning: function 'execute' has cognitive complexity of 40 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedNPC.cpp:174:3: warning: no header providing "SpellcastFlags" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:174:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedNPC.cpp:175:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:176:23: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/script/ScriptedNPC.cpp:178:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:182:5: warning: variable 'spellname' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:183:5: warning: no header providing "Spell" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:183:5: warning: variable 'spellid' of type 'Spell' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:183:21: warning: no header providing "GetSpellId" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:187:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:187:5: warning: variable 'from' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:187:17: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedNPC.cpp:189:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:189:6: warning: variable 'sp' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:189:11: warning: variable name 'sp' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:189:16: warning: no header providing "ARX_SPELLS_GetInstanceForThisCaster" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:191:7: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:199:16: warning: no header providing "SPELLCAST_FLAG_NOCHECKCANCAST" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:200:16: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedNPC.cpp:204:20: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/script/ScriptedNPC.cpp:207:16: warning: no header providing "SPELLCAST_FLAG_NOSOUND" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:210:48: warning: no header providing "SPELLCAST_FLAG_NODRAW" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:213:48: warning: no header providing "SPELLCAST_FLAG_NOANIM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:216:48: warning: no header providing "SPELLCAST_FLAG_NOMANA" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:219:16: warning: no header providing "SPELLCAST_FLAG_RESTORE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:223:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:223:3: warning: variable 'level' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:223:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:228:3: warning: variable 'spellname' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:229:3: warning: variable 'spellid' of type 'Spell' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:231:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:232:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:239:23: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:249:3: warning: no header providing "TryToCastSpell" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:249:55: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedNPC.cpp:262:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:264:3: warning: variable 'detectvalue' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:271:45: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedNPC.cpp:271:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedNPC.cpp:285:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:287:3: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:287:9: warning: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:288:3: warning: variable 'g' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:288:9: warning: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:289:3: warning: variable 'b' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:289:9: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:293:68: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:306:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:308:3: warning: variable 'speed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:325:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:327:3: warning: variable 'stare_factor' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:344:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:346:3: warning: variable 'stat' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:347:3: warning: variable 'value' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:367:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:370:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/script/ScriptedNPC.cpp:376:44: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedNPC.cpp:376:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:389:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:391:3: warning: variable 'mode' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:395:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:420:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:422:3: warning: variable 'life' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:439:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:439:9: warning: function 'execute' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedNPC.cpp:441:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:446:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:460:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:475:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:479:20: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:483:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:483:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:484:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:484:11: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedNPC.cpp:485:25: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedNPC.cpp:514:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:516:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:520:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:526:3: warning: no header providing "ARX_DAMAGES_ForceDeath" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:539:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedNPC.cpp:541:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:545:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedNPC.cpp:545:3: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:545:8: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedNPC.cpp:553:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedPlayer.cpp:61:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:63:14: warning: variable 'InventoryDir' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedPlayer.cpp:64:17: warning: variable 'CURRENT_TORCH' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedPlayer.cpp:64:17: warning: variable 'CURRENT_TORCH' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptedPlayer.cpp:76:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:78:3: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:95:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:97:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:101:36: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedPlayer.cpp:114:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:116:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:124:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedPlayer.cpp:137:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:152:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/script/ScriptedPlayer.cpp:152:15: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:180:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:180:9: warning: function 'execute' has cognitive complexity of 57 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedPlayer.cpp:182:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedPlayer.cpp:183:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:184: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:187:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:207:4: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/script/ScriptedPlayer.cpp:207: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:207:26: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedPlayer.cpp:231:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:233:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:250:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:252:3: warning: variable 'command' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:254:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +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:287:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:300:39: warning: no header providing "ScriptMessage" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:301:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/script/ScriptedPlayer.cpp:301:7: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:302:46: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:303:5: warning: no header providing "Stack_SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:312:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:314:18: warning: no header providing "EVENT_SENDER" 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:30: warning: no header providing "SM_CONTROLS_ON" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:329:30: warning: no header providing "SM_CONTROLS_OFF" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:330:5: warning: no header providing "ARX_SPELLS_FizzleAllSpellsFromCaster" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:349:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:354:4: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:354:31: warning: no header providing "SM_STEAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:372:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:372:9: warning: function 'execute' has cognitive complexity of 85 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedPlayer.cpp:374:3: warning: variable 'type' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:376:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedPlayer.cpp:396:4: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:407:4: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:419:21: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedPlayer.cpp:419:54: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/script/ScriptedPlayer.cpp:426:30: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:434:17: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:448:19: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:484:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:486:3: warning: variable 'key' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:503:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:505:3: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:509:12: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedPlayer.cpp:528:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:530:3: warning: no header providing "SpellcastFlags" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:530:28: warning: no header providing "SPELLCAST_FLAG_PRECAST" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:530:53: warning: no header providing "SPELLCAST_FLAG_NOANIM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:532:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedPlayer.cpp:533:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:535:16: warning: no header providing "SPELLCAST_FLAG_NOCHECKCANCAST" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:536:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedPlayer.cpp:536:17: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedPlayer.cpp:537:11: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/src/script/ScriptedPlayer.cpp:540:48: warning: no header providing "SPELLCAST_FLAG_NOMANA" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:544:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedPlayer.cpp:544:3: warning: variable 'level' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:544:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedPlayer.cpp:544:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedPlayer.cpp:546:3: warning: variable 'spellname' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:550:3: warning: no header providing "Spell" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:550:3: warning: variable 'spellid' of type 'Spell' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:550:19: warning: no header providing "GetSpellId" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:551:17: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:564:3: warning: no header providing "TryToCastSpell" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:577:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:579:3: warning: variable 'fval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:596:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:598:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:619:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedPlayer.cpp:619:9: warning: function 'execute' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedPlayer.cpp:622:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:626:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:630:12: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedPlayer.cpp:641:20: warning: no header providing "IO_INVULNERABILITY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:656:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/script/ScriptedVariable.cpp:48:1: warning: included header Entity.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:49:1: warning: included header Mesh.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:53:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:66:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedVariable.cpp:66:9: warning: function 'execute' has cognitive complexity of 111 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedVariable.cpp:68:3: warning: variable 'options' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:75:3: warning: variable 'val' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:84:3: warning: no header providing "EERIE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:84:18: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:89:5: warning: variable 'v' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:89:12: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:90:5: warning: no header providing "SCRIPT_VAR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:90:18: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:90:23: warning: no header providing "SETVarValueText" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:90:39: warning: no header providing "svar" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:90:45: warning: no header providing "NB_GLOBALS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:95:16: warning: no header providing "TYPE_G_TEXT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:100:5: warning: variable 'v' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:100:12: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:101:18: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:106:16: warning: no header providing "TYPE_L_TEXT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:111:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:111:5: warning: variable 'v' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:111:10: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:111:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedVariable.cpp:111:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:112:18: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:112:23: warning: no header providing "SETVarValueLong" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:117:16: warning: no header providing "TYPE_G_LONG" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:122:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:122:5: warning: variable 'v' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:122:10: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:122:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedVariable.cpp:122:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:123:18: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:128:16: warning: no header providing "TYPE_L_LONG" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:133:5: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:133:11: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:134:18: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:134:23: warning: no header providing "SETVarValueFloat" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:139:16: warning: no header providing "TYPE_G_FLOAT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:144:5: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:144:11: warning: variable name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:145:18: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:150:16: warning: no header providing "TYPE_L_FLOAT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:170: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:186:3: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:196:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedVariable.cpp:196:9: warning: function 'execute' has cognitive complexity of 71 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/script/ScriptedVariable.cpp:199:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:208:18: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:219:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/script/ScriptedVariable.cpp:219:5: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:219:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedVariable.cpp:219:24: warning: no header providing "GETVarValueLong" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:220:18: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:220:62: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedVariable.cpp:220:63: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:230:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/src/script/ScriptedVariable.cpp:230:5: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:230:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedVariable.cpp:231:18: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:231:66: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedVariable.cpp:231:67: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:241:5: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:241:17: warning: no header providing "GETVarValueFloat" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:242:18: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:252:5: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:253:18: warning: variable name 'sv' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:276:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:276:49: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:284:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/script/ScriptedVariable.cpp:291:28: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:296:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:296:50: warning: parameter name 'nb' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:298:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:298:3: warning: variable 'i' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:298:8: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:303:3: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:303:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/script/ScriptedVariable.cpp:309:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedVariable.cpp:309:9: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/script/ScriptedVariable.cpp:309:23: warning: 'svf' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage] +Arx/src/script/ScriptedVariable.cpp:309:23: warning: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/script/ScriptedVariable.cpp:309:23: warning: no header providing "realloc" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:318:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedVariable.cpp:348:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/script/ScriptedVariable.cpp:359:17: warning: variable name 'es' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/script/ScriptedVariable.cpp:364:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:364:5: warning: variable 'ival' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:365:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedVariable.cpp:365:52: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:370:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:370:5: warning: variable 'ival' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:371:53: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/ScriptedVariable.cpp:371:54: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/script/ScriptedVariable.cpp:376:5: warning: variable 'fval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:382:5: warning: variable 'fval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:399:1: warning: anonymous namespace not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/String.cpp:24:1: warning: included header format.hpp is not used directly [misc-include-cleaner] +Arx/src/util/String.cpp:25:1: warning: included header string.hpp is not used directly [misc-include-cleaner] +Arx/src/util/String.cpp:29:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/util/String.cpp:29:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/util/String.cpp:30: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:36:15: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/String.cpp:46:9: warning: no header providing "boost::find_format_all" is directly included [misc-include-cleaner] +Arx/src/util/String.cpp:47:32: warning: no header providing "boost::token_finder" is directly included [misc-include-cleaner] +Arx/src/util/String.cpp:47:52: warning: no header providing "boost::is_any_of" is directly included [misc-include-cleaner] +Arx/src/util/String.cpp:57:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/util/String.cpp:66:20: warning: incrementing 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/util/String.h:34:30: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/util/String.h:44:13: warning: function 'util::escapeString' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/util/Unicode.h:59:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/Unicode.h:60:37: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/util/Unicode.h:89:26: warning: parameter name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/Unicode.h:98:9: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/util/Unicode.h:104:12: warning: variable name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/Unicode.h:108:9: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/util/Unicode.h:138:23: warning: parameter name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/Unicode.h:189:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/util/Unicode.h:190:2: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/util/Unicode.h:190:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/util/Unicode.h:191:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/util/Unicode.h:192:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/util/Unicode.h:202:19: warning: parameter name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/Unicode.h:204:15: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/util/Unicode.h:207:2: warning: variable 'bytesToWrite' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/util/Unicode.h:207:21: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/util/Unicode.h:210:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/src/util/Unicode.h:211:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/util/Unicode.h:211:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/util/Unicode.h:220:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/util/Unicode.h:220:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/util/Unicode.h:221:3: warning: switch has 4 consecutive identical branches [bugprone-branch-clone] +Arx/src/util/Unicode.h:243:10: warning: variable 'chr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/util/Unicode.h:263:10: warning: variable 'chr' is not initialized [cppcoreguidelines-init-variables] +Arx/src/util/cmdline/CommandLineException.h:41:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +Arx/src/util/cmdline/CommandLineException.h:47:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +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/CommandLineException.h:56:23: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/CommandLineException.h:59:32: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/CommandLineException.h:62:52: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/CommandLineException.h:75:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/src/util/cmdline/CommandLineException.h:81:1: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/CommandLineException.h:81:4: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline' [llvm-namespace-comment] +Arx/src/util/cmdline/Interpreter.h:47:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +Arx/src/util/cmdline/Interpreter.h:64:7: warning: class 'interpreter' defines a copy constructor and a copy assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions] +Arx/src/util/cmdline/Interpreter.h:65:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/Interpreter.h:68:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/Interpreter.h:69:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/Interpreter.h:70:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/Interpreter.h:190:11: warning: copy constructor should not be declared explicit [google-explicit-constructor] +Arx/src/util/cmdline/Interpreter.h:190:43: warning: parameter name 'rh' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Interpreter.h:192:46: warning: parameter name 'rh' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Interpreter.h:206:8: warning: accessing fields in struct 'opname_size>>' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/util/cmdline/Interpreter.h:210:9: warning: use default member initializer for 'value' [modernize-use-default-member-init] +Arx/src/util/cmdline/Interpreter.h:219:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/util/cmdline/Interpreter.h:219:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/util/cmdline/Interpreter.h:219:32: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Interpreter.h:244:8: warning: accessing fields in struct 'print_op_t, util::cmdline::interpreter>>' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/util/cmdline/Interpreter.h:262:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/util/cmdline/Interpreter.h:268:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/util/cmdline/Interpreter.h:268:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/util/cmdline/Interpreter.h:268:32: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Interpreter.h:296:25: warning: parameter name 'os' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Interpreter.h:300:35: warning: variable name 'op' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Interpreter.h:307:74: warning: parameter name 'os' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Interpreter.h:308:84: warning: parameter name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Interpreter.h:312:1: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/Interpreter.h:312:4: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline' [llvm-namespace-comment] +Arx/src/util/cmdline/Keys.h:39:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +Arx/src/util/cmdline/Keys.h:50:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/Keys.h:54:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/Keys.h:55:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/Keys.h:56:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/Keys.h:64:39: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Keys.h:64:70: warning: use nullptr [modernize-use-nullptr] +Arx/src/util/cmdline/Keys.h:68:43: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Keys.h:72:44: warning: parameter name 'd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Keys.h:77:2: warning: function 'get_description' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/Keys.h:86:2: warning: function 'get_arg_count' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/Keys.h:90:2: warning: function 'has_args' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/Keys.h:99:2: warning: function 'get_arg_names' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/Keys.h:103:2: warning: function 'has_arg_names' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/Keys.h:104:24: warning: use nullptr [modernize-use-nullptr] +Arx/src/util/cmdline/Keys.h:110:15: warning: use default member initializer for 'm_argCount' [modernize-use-default-member-init] +Arx/src/util/cmdline/Keys.h:115:1: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/Keys.h:115:4: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline' [llvm-namespace-comment] +Arx/src/util/cmdline/Parser.cpp:39:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +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:6: warning: function 'parse' has cognitive complexity of 47 (threshold 25) [readability-function-cognitive-complexity] +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:61:40: warning: variable name 'tc' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Parser.cpp:62:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/util/cmdline/Parser.cpp:62:11: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/Parser.cpp:63:8: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/util/cmdline/Parser.cpp:72:4: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/util/cmdline/Parser.cpp:74:15: warning: variable 'type' is not initialized [cppcoreguidelines-init-variables] +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/Parser.cpp:187:1: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/Parser.cpp:187:4: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline' [llvm-namespace-comment] +Arx/src/util/cmdline/Parser.h:38:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +Arx/src/util/cmdline/Parser.h:92:1: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/Parser.h:92:4: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline' [llvm-namespace-comment] +Arx/src/util/cmdline/TypeCast.h:39:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +Arx/src/util/cmdline/TypeCast.h:46:2: warning: function 'cast, std::basic_string>' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/TypeCast.h:52:1: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/TypeCast.h:52:4: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline' [llvm-namespace-comment] +Arx/src/util/cmdline/detail/ArgsAdapter.h:45:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +Arx/src/util/cmdline/detail/ArgsAdapter.h:57:8: warning: accessing fields in struct 'args_adapter &)>' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/util/cmdline/detail/ArgsAdapter.h:57:8: warning: accessing fields in struct 'args_adapter)>' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/util/cmdline/detail/ArgsAdapter.h:59:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/ArgsAdapter.h:80:9: warning: macro 'BOOST_PP_FILENAME_1' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/util/cmdline/detail/ArgsAdapter.h:81:9: warning: macro 'BOOST_COMMAND_LINE_MAX_FUNCTION_ARGS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/util/cmdline/detail/ArgsAdapter.h:90:1: warning: namespace 'detail' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/detail/ArgsAdapter.h:90:3: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/detail/ArgsAdapter.h:90:6: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline::detail' [llvm-namespace-comment] +Arx/src/util/cmdline/detail/Construct.h:39:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +Arx/src/util/cmdline/detail/Construct.h:48:42: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/util/cmdline/detail/Construct.h:60:75: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/util/cmdline/detail/Construct.h:72:61: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/util/cmdline/detail/Construct.h:82:1: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/detail/Construct.h:82:4: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline' [llvm-namespace-comment] +Arx/src/util/cmdline/detail/Interpreter.h:41:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +Arx/src/util/cmdline/detail/Interpreter.h:48:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/Interpreter.h:49:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/Interpreter.h:50:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/Interpreter.h:53:26: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/util/cmdline/detail/Interpreter.h:56:26: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/util/cmdline/detail/Interpreter.h:61:7: warning: function 'util::cmdline::detail::interpreter::invoke' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/util/cmdline/detail/Interpreter.h:62:27: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/util/cmdline/detail/Interpreter.h:79:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/Interpreter.h:83:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/util/cmdline/detail/Interpreter.h:88:9: warning: accessing fields in struct 'ikey_t' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/util/cmdline/detail/Interpreter.h:93:38: warning: parameter name 'v' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/Interpreter.h:94:33: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/Interpreter.h:100:10: warning: pass by value and use std::move [modernize-pass-by-value] +Arx/src/util/cmdline/detail/Interpreter.h:100:42: warning: pass by value and use std::move [modernize-pass-by-value] +Arx/src/util/cmdline/detail/Interpreter.h:107:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/Interpreter.h:110:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/Interpreter.h:120:32: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/Interpreter.h:158:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/util/cmdline/detail/Interpreter.h:161:37: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/Interpreter.h:174:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/util/cmdline/detail/Interpreter.h:174: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:191:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/util/cmdline/detail/Interpreter.h:191: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:197:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/util/cmdline/detail/Interpreter.h:197: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/Interpreter.h:197:37: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/Interpreter.h:201:1: warning: namespace 'detail' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/detail/Interpreter.h:201:3: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/detail/Interpreter.h:201:6: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline::detail' [llvm-namespace-comment] +Arx/src/util/cmdline/detail/LFunction.h:44:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +Arx/src/util/cmdline/detail/LFunction.h:53:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/LFunction.h:54:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/LFunction.h:68:59: warning: parameter name 'fn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LFunction.h:72:9: warning: macro 'BOOST_PP_FILENAME_1' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/util/cmdline/detail/LFunction.h:73:9: warning: macro 'BOOST_COMMAND_LINE_MAX_FUNCTION_ARGS' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] +Arx/src/util/cmdline/detail/LFunction.h:82:1: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/detail/LFunction.h:82:4: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline' [llvm-namespace-comment] +Arx/src/util/cmdline/detail/LexicalCall.h:42:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] +Arx/src/util/cmdline/detail/LexicalCall.h:47:19: warning: declaration uses identifier '_Result', which is a reserved identifier [bugprone-reserved-identifier] +Arx/src/util/cmdline/detail/LexicalCall.h:47:37: warning: declaration uses identifier '_Args', which is a reserved identifier [bugprone-reserved-identifier] +Arx/src/util/cmdline/detail/LexicalCall.h:50:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/LexicalCall.h:54:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/LexicalCall.h:55:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/LexicalCall.h:58:43: warning: parameter name 'fn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LexicalCall.h:65:37: warning: parameter name 'fn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LexicalCall.h:72:37: warning: parameter name 'fn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LexicalCall.h:79:43: warning: parameter name 'fn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LexicalCall.h:94:7: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] +Arx/src/util/cmdline/detail/LexicalCall.h:94:21: warning: parameter name 'rh' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LexicalCall.h:105:38: warning: parameter name 'fn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LexicalCall.h:117:29: warning: parameter name 'fn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LexicalCall.h:121:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/LexicalCall.h:127:19: warning: declaration uses identifier '_Result', which is a reserved identifier [bugprone-reserved-identifier] +Arx/src/util/cmdline/detail/LexicalCall.h:127:37: warning: declaration uses identifier '_ValueType', which is a reserved identifier [bugprone-reserved-identifier] +Arx/src/util/cmdline/detail/LexicalCall.h:127:58: warning: declaration uses identifier '_TypeCast', which is a reserved identifier [bugprone-reserved-identifier] +Arx/src/util/cmdline/detail/LexicalCall.h:130:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/LexicalCall.h:132:9: warning: accessing fields in struct 'Args' is inefficient due to padding; only needs 8 bytes but is using 16 bytes [altera-struct-pack-align] +Arx/src/util/cmdline/detail/LexicalCall.h:132:9: warning: class 'Args' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/util/cmdline/detail/LexicalCall.h:134: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:143:3: warning: function 'v_front' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/detail/LexicalCall.h:145:3: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/detail/LexicalCall.h:146:3: warning: function 'opt_empty' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/detail/LexicalCall.h:148:11: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/util/cmdline/detail/LexicalCall.h:153:9: warning: accessing fields in struct 'VArgs<__gnu_cxx::__normal_iterator *, std::vector>>>' is inefficient due to padding; only needs 25 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/util/cmdline/detail/LexicalCall.h:153:9: warning: accessing fields in struct 'VArgs<__gnu_cxx::__normal_iterator *, std::vector>>>' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/util/cmdline/detail/LexicalCall.h:155:14: warning: member 'm_begin' of type 'Iterator &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/util/cmdline/detail/LexicalCall.h:168:3: warning: function 'v_front' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/detail/LexicalCall.h:168:22: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/util/cmdline/detail/LexicalCall.h:172:16: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/util/cmdline/detail/LexicalCall.h:177:3: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/detail/LexicalCall.h:177:16: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/util/cmdline/detail/LexicalCall.h:181:3: warning: function 'opt_empty' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/util/cmdline/detail/LexicalCall.h:181:16: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/util/cmdline/detail/LexicalCall.h:187:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/LexicalCall.h:188:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/util/cmdline/detail/LexicalCall.h:191:26: warning: pass by value and use std::move [modernize-pass-by-value] +Arx/src/util/cmdline/detail/LexicalCall.h:198:43: warning: parameter name 'fn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LexicalCall.h:203:37: warning: parameter name 'fn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LexicalCall.h:208:43: warning: parameter name 'fn' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/util/cmdline/detail/LexicalCall.h:236:1: warning: namespace 'cmdline' not terminated with a closing comment [llvm-namespace-comment] +Arx/src/util/cmdline/detail/LexicalCall.h:236:4: warning: namespace 'util' ends with a comment that refers to a wrong namespace 'util::cmdline' [llvm-namespace-comment] +Arx/src/window/RenderWindow.cpp:26:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/window/RenderWindow.cpp:28:63: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/window/RenderWindow.cpp:32:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/window/RenderWindow.h:29:7: warning: class 'RenderWindow' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/window/RenderWindow.h:33:9: warning: accessing fields in struct 'DisplayMode' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/window/RenderWindow.h:33:9: warning: class 'DisplayMode' defines a copy constructor but does not define a destructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/window/RenderWindow.h:38:3: warning: constructor does not initialize these fields: depth [cppcoreguidelines-pro-type-member-init] +Arx/src/window/RenderWindow.h:38:3: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] +Arx/src/window/RenderWindow.h:39:3: warning: use '= default' to define a trivial copy constructor [modernize-use-equals-default] +Arx/src/window/RenderWindow.h:39:35: warning: parameter name 'o' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/window/RenderWindow.h:40:21: warning: the parameter 'res' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/src/window/RenderWindow.h:48:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/window/RenderWindow.h:50:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/window/RenderWindow.h:51:10: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/window/RenderWindow.h:51:10: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/window/RenderWindow.h:53:8: warning: class 'RendererListener' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/window/RenderWindow.h:57:11: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/window/RenderWindow.h:59:45: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/window/RenderWindow.h:60:49: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/window/RenderWindow.h:82:13: warning: member variable 'renderer' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/RenderWindow.h:83:15: warning: member variable 'displayModes' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/RenderWindow.h:90:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/window/SDLWindow.cpp:24:5: warning: no header providing "ARX_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:24:21: warning: no header providing "ARX_PLATFORM_WIN32" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:33:1: warning: included header Rectangle.h is not used directly [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:36:37: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:36:37: warning: use nullptr [modernize-use-nullptr] +Arx/src/window/SDLWindow.cpp:38:32: warning: use nullptr [modernize-use-nullptr] +Arx/src/window/SDLWindow.cpp:44:31: warning: use nullptr [modernize-use-nullptr] +Arx/src/window/SDLWindow.cpp:48:3: warning: no header providing "SDL_Quit" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:48:28: warning: use nullptr [modernize-use-nullptr] +Arx/src/window/SDLWindow.cpp:53:17: warning: function 'initializeFramework' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/window/SDLWindow.cpp:55:2: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:56:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:58:31: warning: no header providing "ARX_STR" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:58:39: warning: no header providing "SDL_MAJOR_VERSION" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:58:70: warning: no header providing "SDL_MINOR_VERSION" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:59:43: warning: no header providing "SDL_PATCHLEVEL" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:62:5: warning: no header providing "SDL_Init" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:62:14: warning: no header providing "SDL_INIT_VIDEO" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:62:31: warning: no header providing "SDL_INIT_NOPARACHUTE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:63:47: warning: no header providing "SDL_GetError" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:67:8: warning: no header providing "SDL_version" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:67:28: warning: no header providing "SDL_Linked_Version" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:69:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/window/SDLWindow.cpp:69:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/window/SDLWindow.cpp:69:72: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/window/SDLWindow.cpp:73:8: warning: no header providing "SDL_VideoInfo" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:73:30: warning: no header providing "SDL_GetVideoInfo" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:79:2: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:79:2: warning: variable 'flags' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/window/SDLWindow.cpp:79:14: warning: no header providing "SDL_FULLSCREEN" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:79:31: warning: no header providing "SDL_ANYFORMAT" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:79:47: warning: no header providing "SDL_OPENGL" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:79:60: warning: no header providing "SDL_HWSURFACE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:80:2: warning: no header providing "SDL_Rect" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:80:22: warning: no header providing "SDL_ListModes" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:80:36: warning: use nullptr [modernize-use-nullptr] +Arx/src/window/SDLWindow.cpp:81:14: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/src/window/SDLWindow.cpp:81:14: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/src/window/SDLWindow.cpp:81:14: warning: integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] +Arx/src/window/SDLWindow.cpp:85:9: warning: function-like macro 'ADD_MODE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] +Arx/src/window/SDLWindow.cpp:91:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:92:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:93:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:94:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:95:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:98:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:101:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:102:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:103:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:104:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:105:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:108:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:109:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:110:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:111:3: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDLWindow.cpp:119:4: warning: variable 'mode' of type 'DisplayMode' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDLWindow.cpp:126:7: warning: no header providing "std::sort" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:138:2: warning: no header providing "SDL_SetEventFilter" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:140:2: warning: no header providing "SDL_EventState" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:140:17: warning: no header providing "SDL_ACTIVEEVENT" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:140:34: warning: no header providing "SDL_ENABLE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:141:17: warning: no header providing "SDL_QUIT" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:142:17: warning: no header providing "SDL_SYSWMEVENT" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:142:33: warning: no header providing "SDL_IGNORE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:143:17: warning: no header providing "SDL_VIDEORESIZE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:144:17: warning: no header providing "SDL_VIDEOEXPOSE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:145:17: warning: no header providing "SDL_USEREVENT" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:147:2: warning: no header providing "SDL_GL_SetAttribute" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:147:22: warning: no header providing "SDL_GL_DOUBLEBUFFER" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:148:22: warning: no header providing "SDL_GL_DEPTH_SIZE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:150:22: warning: no header providing "SDL_GL_SWAP_CONTROL" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:158:24: warning: no header providing "SDL_GL_MULTISAMPLEBUFFERS" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:159:24: warning: no header providing "SDL_GL_MULTISAMPLESAMPLES" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:175:2: warning: no header providing "SDL_WM_SetCaption" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:178:2: warning: no header providing "SDL_ShowCursor" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:178:17: warning: no header providing "SDL_DISABLE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:203:7: warning: variable 'needsReinit' is not initialized [cppcoreguidelines-init-variables] +Arx/src/window/SDLWindow.cpp:207:23: warning: no header providing "ARX_PLATFORM_LINUX" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:207:61: warning: no header providing "ARX_PLATFORM_BSD" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:220:2: warning: no header providing "Uint32" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:221:43: warning: no header providing "SDL_RESIZABLE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:222:2: warning: no header providing "SDL_Surface" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:222:22: warning: no header providing "SDL_SetVideoMode" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:223:39: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/window/SDLWindow.cpp:225:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/window/SDLWindow.cpp:232:2: warning: variable 'oldMode' of type 'DisplayMode' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDLWindow.cpp:277:9: warning: use nullptr [modernize-use-nullptr] +Arx/src/window/SDLWindow.cpp:320:5: warning: no header providing "SDLCALL" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:320:42: warning: no header providing "SDL_Event" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:329:17: warning: function 'tick' has cognitive complexity of 33 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/window/SDLWindow.cpp:332:8: warning: no header providing "SDL_PollEvent" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:334:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/window/SDLWindow.cpp:337:29: warning: no header providing "SDL_APPINPUTFOCUS" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:340:29: warning: no header providing "SDL_APPACTIVE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:347:17: warning: use nullptr [modernize-use-nullptr] +Arx/src/window/SDLWindow.cpp:347:47: warning: no header providing "SDL_APPMOUSEFOCUS" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:353:9: warning: no header providing "SDL_KEYDOWN" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:358:32: warning: no header providing "SDLK_F4" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:359:33: warning: no header providing "KMOD_ALT" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:359:46: warning: no header providing "KMOD_NONE" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:368:32: warning: no header providing "SDLK_TAB" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:370:6: warning: no header providing "SDL_WM_IconifyWindow" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:374:9: warning: no header providing "SDL_KEYUP" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:375:9: warning: no header providing "SDL_MOUSEMOTION" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:376:9: warning: no header providing "SDL_MOUSEBUTTONDOWN" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:377:9: warning: no header providing "SDL_MOUSEBUTTONUP" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:378:9: warning: no header providing "SDL_JOYAXISMOTION" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:379:9: warning: no header providing "SDL_JOYBALLMOTION" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:380:9: warning: no header providing "SDL_JOYHATMOTION" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:381:9: warning: no header providing "SDL_JOYBUTTONDOWN" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:382:9: warning: no header providing "SDL_JOYBUTTONUP" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:395:5: warning: variable 'newSize' of type 'Vec2i' (aka 'Vector2') can be declared 'const' [misc-const-correctness] +Arx/src/window/SDLWindow.cpp:415:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/window/SDLWindow.cpp:415:6: warning: variable 'cursorPosX' is not initialized [cppcoreguidelines-init-variables] +Arx/src/window/SDLWindow.cpp:415:18: warning: variable 'cursorPosY' is not initialized [cppcoreguidelines-init-variables] +Arx/src/window/SDLWindow.cpp:416:2: warning: no header providing "SDL_GetMouseState" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.cpp:417:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/src/window/SDLWindow.cpp:421:2: warning: no header providing "SDL_GL_SwapBuffers" is directly included [misc-include-cleaner] +Arx/src/window/SDLWindow.h:29:7: warning: class 'SDLWindow' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/window/SDLWindow.h:29:7: warning: class 'SDLWindow' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/window/SDLWindow.h:34:10: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] +Arx/src/window/SDLWindow.h:36:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/window/SDLWindow.h:37:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/window/SDLWindow.h:39:9: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/window/SDLWindow.h:40:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/window/SDLWindow.h:41:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/window/SDLWindow.h:42:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/window/SDLWindow.h:43:2: warning: function 'getCursorPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/window/SDLWindow.h:43:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/window/SDLWindow.h:45:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/window/SDLWindow.h:47:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/src/window/Window.cpp:39:1: warning: constructor does not initialize these fields: depth_ [cppcoreguidelines-pro-type-member-init] +Arx/src/window/Window.cpp:48:9: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/window/Window.cpp:55:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/src/window/Window.cpp:55:2: warning: variable 'it' of type 'Listeners::iterator' (aka '__normal_iterator>>') can be declared 'const' [misc-const-correctness] +Arx/src/window/Window.cpp:55:22: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/window/Window.cpp:63:3: warning: variable 'shouldClose' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/window/Window.cpp:83:21: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/window/Window.cpp:83:25: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/window/Window.cpp:83:32: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/window/Window.cpp:128:14: warning: function 'onFocus' has cognitive complexity of 50 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/window/Window.h:28: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:28:7: warning: class 'Window' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/window/Window.h:53:2: warning: function 'getCursorPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/window/Window.h:55:8: warning: class 'Listener' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/window/Window.h:59:11: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] +Arx/src/window/Window.h:79:2: warning: function 'hasFocus' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/window/Window.h:82:2: warning: function 'isMinimized' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/window/Window.h:83:2: warning: function 'isMaximized' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/window/Window.h:84:2: warning: function 'isVisible' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/window/Window.h:86:2: warning: function 'getSize' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/window/Window.h:87:2: warning: function 'getDepth' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/window/Window.h:89:2: warning: function 'isFullScreen' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/src/window/Window.h:95:18: warning: parameter name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/window/Window.h:95:25: warning: parameter name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/src/window/Window.h:100:7: warning: function 'Window::onShow' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/window/Window.h:106:14: warning: member variable 'title_' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/Window.h:107:8: warning: member variable 'position_' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/Window.h:108:8: warning: member variable 'size_' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/Window.h:109:7: warning: member variable 'isMinimized_' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/Window.h:109:7: warning: use default member initializer for 'isMinimized_' [modernize-use-default-member-init] +Arx/src/window/Window.h:110:7: warning: member variable 'isMaximized_' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/Window.h:110:7: warning: use default member initializer for 'isMaximized_' [modernize-use-default-member-init] +Arx/src/window/Window.h:111:7: warning: member variable 'isVisible_' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/Window.h:111:7: warning: use default member initializer for 'isVisible_' [modernize-use-default-member-init] +Arx/src/window/Window.h:112:7: warning: member variable 'isFullscreen_' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/Window.h:112:7: warning: use default member initializer for 'isFullscreen_' [modernize-use-default-member-init] +Arx/src/window/Window.h:113:7: warning: member variable 'hasFocus_' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/Window.h:113:7: warning: use default member initializer for 'hasFocus_' [modernize-use-default-member-init] +Arx/src/window/Window.h:114:11: warning: member variable 'depth_' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/src/window/Window.h:118:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/tools/crashreporter/CrashReporter.cpp:22:1: warning: included header string is not used directly [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:28:1: warning: included header FileLogger.h is not used directly [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:42:2: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:44:2: warning: no header providing "QApplication" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:44:2: warning: variable 'app' of type 'QApplication' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/CrashReporter.cpp:52:2: warning: no header providing "QString" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:53:8: warning: no header providing "QStringList" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:53:27: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/tools/crashreporter/CrashReporter.cpp:58:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/tools/crashreporter/CrashReporter.cpp:72:9: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/tools/crashreporter/ErrorReport.cpp:32:1: warning: included header time.h is not used directly [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:47:10: warning: inclusion of deprecated C++ header 'signal.h'; consider using 'csignal' instead [modernize-deprecated-headers] +Arx/tools/crashreporter/ErrorReport.cpp:51:10: warning: inclusion of deprecated C++ header 'stdlib.h'; consider using 'cstdlib' instead [modernize-deprecated-headers] +Arx/tools/crashreporter/ErrorReport.cpp:79:1: warning: included header Win32Utilities.h is not used directly [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:85:26: warning: pass by value and use std::move [modernize-pass-by-value] +Arx/tools/crashreporter/ErrorReport.cpp:102:82: warning: no header providing "boost::interprocess::open_only" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:102:156: warning: no header providing "boost::interprocess::read_write" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:108:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/ErrorReport.cpp:108:17: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] +Arx/tools/crashreporter/ErrorReport.cpp:108:18: warning: no header providing "CrashInfo" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:116:2: warning: variable 'bMiscCrashInfo' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:117:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ErrorReport.cpp:121:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ErrorReport.cpp:154:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:166:30: warning: the parameter 'filename' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/tools/crashreporter/ErrorReport.cpp:166:40: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:170:2: warning: no header providing "QFile" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:172:16: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:175:2: warning: variable 'stat' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:192:32: warning: 2 adjacent parameters of 'getResourceUsage' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/tools/crashreporter/ErrorReport.cpp:192:32: warning: no header providing "quint64" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:197:36: warning: no header providing "ARX_PLATFORM" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:197:52: warning: no header providing "ARX_PLATFORM_MACOSX" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:199:3: warning: uninitialized record type: 'usage' [cppcoreguidelines-pro-type-member-init] +Arx/tools/crashreporter/ErrorReport.cpp:208:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/tools/crashreporter/ErrorReport.cpp:208:6: warning: variable 'rss' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/crashreporter/ErrorReport.cpp:208:11: warning: variable 'startTicks' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/crashreporter/ErrorReport.cpp:208:23: warning: variable 'endTicks' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/crashreporter/ErrorReport.cpp:208:33: warning: variable 'dummy' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/crashreporter/ErrorReport.cpp:215:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/crashreporter/ErrorReport.cpp:215:3: warning: variable 'pagesize' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:228:2: warning: variable 'child' of type 'pid_t' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:230:9: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +Arx/tools/crashreporter/ErrorReport.cpp:239:3: warning: variable 'ticksPerSecond' of type 'u64' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:241:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/ErrorReport.cpp:241:53: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/ErrorReport.cpp:253:19: warning: function 'getCrashDescription' has cognitive complexity of 30 (threshold 25) [readability-function-cognitive-complexity] +Arx/tools/crashreporter/ErrorReport.cpp:381:2: warning: variable 'tracePath' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:384:2: warning: variable 'childPID' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:387:21: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ErrorReport.cpp:391:3: warning: variable 'fd' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:391:7: warning: variable name 'fd' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/ErrorReport.cpp:391:12: warning: no header providing "open" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:391:45: warning: no header providing "O_WRONLY" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:391:54: warning: no header providing "O_CREAT" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:391:61: warning: 'open' should use O_CLOEXEC where possible [android-cloexec-open] +Arx/tools/crashreporter/ErrorReport.cpp:396:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/crashreporter/ErrorReport.cpp:397:3: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:398:3: warning: no header providing "sprintf" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:398:3: 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:402:3: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/tools/crashreporter/ErrorReport.cpp:403:3: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/tools/crashreporter/ErrorReport.cpp:410:3: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/tools/crashreporter/ErrorReport.cpp:414:2: warning: variable 'bWroteDump' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:424:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/tools/crashreporter/ErrorReport.cpp:424:24: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:425:36: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ErrorReport.cpp:428:32: warning: multilevel pointer conversion from 'void **' to 'const void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/tools/crashreporter/ErrorReport.cpp:431:2: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:431:2: warning: variable 'callstackCrc' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:443:2: warning: variable 'traceStr' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:452:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ErrorReport.cpp:464: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:472: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:481: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:599:2: warning: variable 'fullPath' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:607:2: warning: no header providing "QXmlStreamWriter" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:643:3: warning: use range-based for loop instead [modernize-loop-convert] +Arx/tools/crashreporter/ErrorReport.cpp:643:7: warning: use auto when declaring iterators [modernize-use-auto] +Arx/tools/crashreporter/ErrorReport.cpp:673:2: warning: no header providing "BOOST_SCOPE_EXIT" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:677:4: warning: no header providing "BOOST_SCOPE_EXIT_END" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:683:2: warning: variable 'bInit' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:700:2: warning: variable 'bCrashDump' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:711:2: warning: variable 'bCrashXml' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:723:19: warning: function 'SendReport' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/tools/crashreporter/ErrorReport.cpp:726:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/tools/crashreporter/ErrorReport.cpp:726:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/tools/crashreporter/ErrorReport.cpp:728:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ErrorReport.cpp:741:2: warning: variable 'bLoggedIn' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:753:2: warning: variable 'bSearchSuccessful' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:766:3: warning: variable 'bCreatedIssue' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:776:23: warning: no header providing "ARX_PLATFORM_WIN32" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:778:23: warning: no header providing "ARX_PLATFORM_LINUX" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:779:3: warning: variable 'os_id' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:790:7: warning: variable 'arch_id' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/crashreporter/ErrorReport.cpp:791:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ErrorReport.cpp:793:54: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ErrorReport.cpp:795:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ErrorReport.cpp:806:4: warning: variable 'bCommentAdded' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:818:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/tools/crashreporter/ErrorReport.cpp:818:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/tools/crashreporter/ErrorReport.cpp:821:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ErrorReport.cpp:825:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ErrorReport.cpp:829:3: warning: variable 'bAttached' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:853:19: warning: method 'AddSSLCertificate' can be made static [readability-convert-member-functions-to-static] +Arx/tools/crashreporter/ErrorReport.cpp:855:31: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ErrorReport.cpp:857:3: warning: no header providing "QSslCertificate" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:857:3: warning: variable 'certificate' of type 'QSslCertificate' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ErrorReport.cpp:857:53: warning: no header providing "QSsl::Der" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:863:7: warning: no header providing "QT_VERSION" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:863:20: warning: no header providing "QT_VERSION_CHECK" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:873:3: warning: no header providing "QSslSocket" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ErrorReport.cpp:880:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ErrorReport.cpp:881:19: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/tools/crashreporter/ErrorReport.h:59:8: warning: destructor of 'IProgressNotifier' is public and non-virtual [cppcoreguidelines-virtual-class-destructor] +Arx/tools/crashreporter/ErrorReport.h:69:9: warning: accessing fields in struct 'File' is inefficient due to padding; only needs 33 bytes but is using 40 bytes [altera-struct-pack-align] +Arx/tools/crashreporter/ErrorReport.h:69:9: warning: accessing fields in struct 'File' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/tools/crashreporter/ErrorReport.h:74:23: warning: the const qualified parameter '_path' is copied for each invocation; consider making it a reference [performance-unnecessary-value-param] +Arx/tools/crashreporter/ErrorReport.h:76:4: warning: 'path' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/ErrorReport.h:77:4: warning: 'attachToReport' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/ErrorReport.h:81:2: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/tools/crashreporter/ErrorReport.h:83:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/tools/crashreporter/ErrorReport.h:92:2: warning: function 'GetErrorDescription' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/ErrorReport.h:93:2: warning: function 'GetIssueLink' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/ErrorReport.h:113:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/tools/crashreporter/ErrorReport.h:120:9: warning: use default member initializer for 'm_RunningTimeSec' [modernize-use-default-member-init] +Arx/tools/crashreporter/ErrorReport.h:127:10: warning: use default member initializer for 'm_ProcessMemoryUsage' [modernize-use-default-member-init] +Arx/tools/crashreporter/ErrorReport.h:134:14: warning: use default member initializer for 'm_pCrashInfo' [modernize-use-default-member-init] +Arx/tools/crashreporter/qhexedit/Commands.cpp:27:1: warning: constructor does not initialize these fields: _wasChanged, _oldChar [cppcoreguidelines-pro-type-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:55: warning: 2 adjacent parameters of 'CharCommand' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] +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:30:5: warning: '_xData' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/Commands.cpp:31:5: warning: '_charPos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/Commands.cpp:32:5: warning: '_newChar' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/Commands.cpp:33:5: warning: '_cmd' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/Commands.cpp:38:11: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/tools/crashreporter/qhexedit/Commands.cpp:43:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/Commands.cpp:58:13: 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:86:13: 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:96:5: warning: '_cmd' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/Commands.cpp:97:5: warning: '_xData' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/Commands.cpp:98:5: warning: '_baPos' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/Commands.cpp:99:5: warning: '_newBa' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/Commands.cpp:99:14: warning: parameter 'newBa' is passed by value and only copied once; consider moving it to avoid unnecessary copies [performance-unnecessary-value-param] +Arx/tools/crashreporter/qhexedit/Commands.cpp:100:5: warning: '_len' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/Commands.cpp:108:13: 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:136:13: 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:52:2: warning: enum '(unnamed enum at Arx/tools/crashreporter/qhexedit/Commands.h:52: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:53: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:56:36: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/qhexedit/Commands.h:58:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/qhexedit/Commands.h:59:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/qhexedit/Commands.h:60:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/qhexedit/Commands.h:61:2: warning: function 'id' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/qhexedit/Commands.h:61:6: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/qhexedit/Commands.h:81: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:83:52: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/qhexedit/Commands.h:84:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/qhexedit/Commands.h:85:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +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:39: warning: no header providing "QScrollArea" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:31:5: warning: 'qHexEdit_p' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:31:22: warning: no header providing "QHexEditPrivate" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:35:5: 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:25: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:36:5: 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:5: 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:5: 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:24: warning: no header providing "Qt::NoFocus" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:42:27: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:42:36: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:42:49: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:47:27: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:47:35: warning: parameter name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:57:1: warning: no header providing "QString" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:117:42: warning: no header providing "QColor" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:167:30: warning: no header providing "QFont" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.h:126:39: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/qhexedit/QHexEdit.h:135:18: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEdit.h:135:40: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEdit.h:144:18: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEdit.h:144:26: warning: parameter name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEdit.h:171:7: warning: function 'QHexEdit::setOverwriteMode' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/tools/crashreporter/qhexedit/QHexEdit.h:175:2: warning: function 'font' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/qhexedit/QHexEdit.h:179:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +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:1: warning: constructor does not initialize these fields: _blink, _addressArea, _asciiArea, _highlighting, _overwriteMode, _readOnly, _charWidth, _charHeight, _cursorX, _cursorY, _cursorPosition, _xPosAdr, _xPosHex, _xPosAscii, _selectionBegin, _selectionEnd, _selectionInit [cppcoreguidelines-pro-type-member-init] +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:57: warning: no header providing "QWidget" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:39:5: warning: '_undoStack' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:39:22: warning: no header providing "QUndoStack" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:41:5: warning: '_scrollArea' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:54:5: warning: '_size' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:57:24: warning: no header providing "Qt::StrongFocus" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:59:5: 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:28: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:59:53: warning: no header providing "SLOT" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:75:37: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:126:23: warning: method 'isReadOnly' can be made const [readability-make-member-function-const] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:136:60: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:142:13: warning: no header providing "QUndoCommand" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:144:13: warning: no header providing "emit" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:155:46: warning: parameter name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:170:99: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:176:98: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:183:13: warning: variable 'ba' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:183:24: warning: variable name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:183:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:200:47: warning: parameter name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:207:61: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:252:23: warning: method 'overwriteMode' can be made const [readability-make-member-function-const] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:284:23: warning: function 'keyPressEvent' has cognitive complexity of 96 (threshold 25) [readability-function-cognitive-complexity] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:284:37: warning: no header providing "QKeyEvent" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:286:5: warning: variable 'charX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:287:5: warning: variable 'posX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:295:24: warning: no header providing "QKeySequence" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:357:9: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:363:9: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:369:9: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:375:9: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:381:9: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:387:9: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:394:9: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:400:9: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:406:9: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:412:9: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:423:9: warning: variable 'key' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:423:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:435:35: warning: redundant boolean literal supplied to boolean operator [readability-simplify-boolean-expr] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:435:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:438:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:445:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:446:35: warning: narrowing conversion from 'int' to signed type 'char' is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:447:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:448:35: warning: narrowing conversion from 'int' to signed type 'char' is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:450:32: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:464:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:468:13: warning: no header providing "QClipboard" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:468:37: warning: no header providing "QApplication" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:477:13: warning: variable 'ba' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:477:24: warning: variable name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:477:29: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:496:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:497:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:498:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:504:34: warning: no header providing "Qt::Key_Backspace" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:504:79: warning: no header providing "Qt::NoModifier" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:517:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:518:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:519:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:546:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:554:30: warning: no header providing "Qt::Key_Insert" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:565:38: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:569:5: warning: variable 'actPos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:578:5: warning: variable 'cPos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:583:23: warning: function 'paintEvent' has cognitive complexity of 43 (threshold 25) [readability-function-cognitive-complexity] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:583:34: warning: no header providing "QPaintEvent" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:585:5: warning: no header providing "QPainter" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:589:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:593:9: warning: variable 'linePos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:594:28: warning: no header providing "Qt::gray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:602:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:602:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:605:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:605:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:607:5: warning: variable 'yPosStart' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:614:13: warning: variable 'address' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:621:5: warning: variable 'hexBa' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:622:5: warning: no header providing "QBrush" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:622:5: warning: variable 'highLighted' of type 'QBrush' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:623:5: warning: no header providing "QPen" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:623:5: warning: variable 'colHighlighted' of type 'QPen' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:624:5: warning: variable 'selected' of type 'QBrush' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:625:5: warning: variable 'colSelected' of type 'QPen' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:625:33: warning: no header providing "Qt::white" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:626:5: warning: variable 'colStandard' of type 'QPen' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:628:35: warning: no header providing "Qt::TransparentMode" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:636:13: warning: variable 'posBa' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:640:47: warning: no header providing "Qt::OpaqueMode" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:696:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:698:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:718:9: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:718:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:721:9: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:721:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:725:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:725:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:731:5: warning: variable 'x' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:731:9: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:740:22: warning: method 'cursorPos' can be made const [readability-make-member-function-const] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:740:32: warning: no header providing "QPoint" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:746:13: warning: variable name 'x' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:747:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:749:13: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:751:9: warning: variable 'y' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:751:13: warning: variable name 'y' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:757:22: warning: method 'cursorPos' can be made const [readability-make-member-function-const] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:764:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:764:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:774:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:774:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:789:22: warning: method 'getSelectionBegin' can be made const [readability-make-member-function-const] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:794:22: warning: method 'getSelectionEnd' can be made const [readability-make-member-function-const] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:802:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:803:18: warning: redundant boolean literal in conditional assignment [readability-simplify-boolean-expr] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:804:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:811:38: warning: no header providing "QLatin1Char" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:815:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:817:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:824:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:826:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:70:44: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:71:30: warning: parameter name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:73:31: warning: parameter name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:74:45: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:97:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:98:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:99:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:101:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:118:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:27:1: warning: constructor does not initialize these fields: _realAddressNumbers [cppcoreguidelines-pro-type-member-init] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:29:5: warning: '_oldSize' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:30:5: warning: '_addressNumbers' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:31:5: warning: '_addressOffset' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:35:17: warning: method 'addressOffset' can be made const [readability-make-member-function-const] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:45:17: warning: method 'addressWidth' can be made const [readability-make-member-function-const] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:58:1: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:63:37: warning: the parameter 'data' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:66:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:69:34: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:71:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:74:40: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:79:37: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:81:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:84:37: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:86:5: warning: variable 'length' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:87:9: warning: variable 'len' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:88:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:90:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:100:9: warning: no header providing "QString" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:100:9: warning: variable 'test' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:101:80: warning: no header providing "QChar" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:112:37: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:112:45: warning: parameter name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:115:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:119:37: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:119:59: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:122:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:126:37: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:128:5: 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:129:5: 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:133:50: warning: parameter name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:136:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:140:64: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:142:5: warning: variable 'len' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:146:76: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:148:9: warning: variable 'len' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:149:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:151:9: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:154:54: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:160:10: warning: variable name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:161:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:169:5: warning: use `std::max` instead of `>` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:169:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:171:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:177:9: warning: variable 'adrStr' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/XByteArray.h:57:23: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.h:58:29: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.h:59:26: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.h:60:26: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.h:65:26: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.h:65:34: warning: parameter name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.h:66:26: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.h:66:48: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.h:68:15: warning: function 'XByteArray::remove' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/tools/crashreporter/qhexedit/XByteArray.h:70:39: warning: parameter name 'ch' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.h:71:53: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/qhexedit/XByteArray.h:72:65: warning: parameter name 'ba' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/tbg/TBG.cpp:27:5: warning: no header providing "QT_VERSION" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:27:19: warning: no header providing "QT_VERSION_CHECK" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:38:1: warning: constructor does not initialize these fields: m_CurrentReply [cppcoreguidelines-pro-type-member-init] +Arx/tools/crashreporter/tbg/TBG.cpp:44:19: warning: function 'qUrlQueryToPostData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/crashreporter/tbg/TBG.cpp:44:45: warning: no header providing "QUrlQuery" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:48:21: warning: no header providing "QUrl" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:60:2: warning: variable 'loginUrl' of type 'QUrl' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:61:2: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:64:2: warning: variable 'data' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:69:2: warning: variable 'bSucceeded' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:93:2: warning: variable 'newIssueUrl' of type 'QUrl' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:97:2: warning: variable 'data' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:103:3: warning: variable 'currentUrl' of type 'QUrl' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:119:2: warning: variable 'strUrl' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:121:2: warning: variable 'newIssueUrl' of type 'QUrl' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:125:2: warning: variable 'data' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:128:2: warning: variable 'bSucceeded' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:146:2: warning: variable 'strUrl' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:150:2: warning: variable 'newIssueUrl' of type 'QUrl' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:151:2: warning: variable 'request' of type 'QNetworkRequest' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:153:2: warning: variable 'bSucceeded' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:158:39: warning: 2 adjacent parameters of 'attachFile' of similar type ('const QString &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/tools/crashreporter/tbg/TBG.cpp:161:16: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:161:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/tbg/TBG.cpp:164:2: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:164:2: warning: variable 'fileInfo' of type 'QFileInfo' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:166:2: warning: variable 'boundaryRegular' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:166:58: warning: no header providing "qrand" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:167:2: warning: variable 'boundary' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:168:2: warning: variable 'boundaryLast' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:172:20: warning: escaped string literal can be written as a raw string literal [modernize-raw-string-literal] +Arx/tools/crashreporter/tbg/TBG.cpp:183:2: warning: variable 'urlString' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:184:2: warning: variable 'url' of type 'QUrl' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:190:2: warning: variable 'bSucceeded' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:201:2: warning: variable 'urlSearchRSS' of type 'QUrl' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:203:2: warning: variable 'request' of type 'QNetworkRequest' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:208:3: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:214:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/crashreporter/tbg/TBG.cpp:215:3: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:221:4: warning: variable 'token' of type 'QXmlStreamReader::TokenType' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:223:22: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/tools/crashreporter/tbg/TBG.cpp:232:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/tbg/TBG.cpp:252:2: warning: variable 'issueJSON' of type 'QUrl' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:253:2: warning: variable 'request' of type 'QNetworkRequest' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:259:3: warning: variable 'data' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:263:3: warning: variable 'dataStr' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:267:4: warning: variable 'posEnd' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:268:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/tbg/TBG.cpp:272:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/tbg/TBG.cpp:284:3: warning: no header providing "QEventLoop" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:285:3: 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:285:32: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:285:52: warning: no header providing "SLOT" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:294:4: warning: variable 'baseUrl' of type 'QUrl' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:306:2: warning: variable 'succeeded' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:307:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/tbg/TBG.cpp:309:6: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/tbg/TBG.h:48:11: warning: function 'TBG::Server::Server' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/tools/crashreporter/tbg/TBG.h:60:2: warning: function 'getUrl' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/tbg/TBG.h:62:2: warning: function 'getErrorString' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/tbg/TBG.h:70:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/tools/crashreporter/tbg/TBG.h:80:1: warning: namespace 'TBG' not terminated with a closing comment [llvm-namespace-comment] +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:30:35: warning: no header providing "QString" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:40:35: warning: no header providing "QPaintEvent" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:43:2: warning: no header providing "QPainter" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:43:11: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:46:2: warning: variable 'scaledPixmap' of type 'QPixmap' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:46:53: warning: no header providing "Qt::KeepAspectRatio" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:50:1: warning: constructor does not initialize these fields: m_nextPane [cppcoreguidelines-pro-type-member-init] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:50:38: warning: no header providing "ErrorReport" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:51:2: warning: no header providing "QDialog" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:53:17: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:63:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:64:2: warning: no header providing "QItemSelectionModel" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:64:2: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:68:34: warning: no header providing "QAbstractItemView" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:69: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:69:43: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:70:19: warning: no header providing "SLOT" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:99:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:140:3: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:140:3: warning: variable 'idx' of type 'QModelIndex' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:141:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:177:43: warning: 2 adjacent parameters of 'onShowFileContent' of similar type ('const QItemSelection &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:177:49: warning: no header providing "QItemSelection" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:180:8: warning: no header providing "QModelIndexList" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:181:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:185:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:188:2: warning: variable 'fileName' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:188:6: warning: no header providing "fs::path" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:189:2: warning: variable 'ext' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:192:3: warning: no header providing "QFile" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:193:17: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:195:3: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:228:2: warning: variable 'textDescription' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:240:2: warning: no header providing "qint64" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:240:2: warning: variable 'sleepTimeMs' of type 'qint64' (aka 'long long') can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:242:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:243:3: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:252:3: warning: variable 'htmlLink' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:264:19: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:269:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:274: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:275: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:276: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:277: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:285:89: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:294:89: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:43:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:43:62: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:54:2: warning: function 'getErrorString' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:55:2: warning: function 'getDetailedErrorString' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:57:21: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:60:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:61:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:62:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:65:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:67:61: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:71:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:73:77: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:77:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:78:15: warning: member variable 'm_errorReport' has protected visibility [misc-non-private-member-variables-in-classes] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:94:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:106:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:115:47: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:121:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:132:2: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:132:71: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:138:2: warning: function 'rowCount' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:138:6: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:140:10: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:143:2: warning: function 'data' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:143:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:145:72: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:146:11: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:150:4: warning: variable 'filePath' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:153:3: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:158:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:161:7: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:163:72: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:166:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:173:2: warning: function 'headerData' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:173:11: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:175:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:176:11: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:178:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:180:3: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:180:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:184:2: warning: function 'flags' should be marked [[nodiscard]] [modernize-use-nodiscard] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:184:16: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:186:72: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:196: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:196:7: warning: class 'ErrorReportDialog' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:201: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/crashreporter/ui/ErrorReportDialog.h:213:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:214:73: warning: use nullptr [modernize-use-nullptr] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:215:2: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:237:7: warning: function 'ErrorReportDialog::onShowFileContent' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:239:1: warning: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:246:19: warning: use default member initializer for 'm_pCurrentTask' [modernize-use-default-member-init] +Arx/tools/savetool/SaveFix.cpp:31:1: warning: included header Configure.h is not used directly [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:46:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:52:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/tools/savetool/SaveFix.cpp:53:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/tools/savetool/SaveFix.cpp:53:21: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:55:15: warning: function 'makeIdent' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:55:46: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:61:13: warning: function 'fix_ident' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:61:41: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveFix.cpp:63:13: warning: function 'skip_script_save' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:64:38: warning: variable 'ass' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveFix.cpp:68:41: warning: variable 'avs' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveFix.cpp:71:19: warning: no header providing "TYPE_L_TEXT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:71:48: warning: no header providing "TYPE_L_LONG" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:71:76: warning: no header providing "TYPE_L_FLOAT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:72:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveFix.cpp:77:13: warning: function 'fix_iodata' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:86:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:99: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:139:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:139:12: warning: loop variable name 'm' is too short, expected at least 2 characters [readability-identifier-length] +Arx/tools/savetool/SaveFix.cpp:140:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:140:13: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/tools/savetool/SaveFix.cpp:148:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:164:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:164:13: warning: function 'copy_io' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:168:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:170:2: warning: variable 'fname' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:172:2: warning: variable 'dir' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:172:7: warning: no header providing "res::path" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:174:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:174:7: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveFix.cpp:191:14: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveFix.cpp:205:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:205:13: warning: function 'fix_io' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:212:2: warning: variable 'savefile' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:212:9: warning: local copy 'savefile' of the variable 'name' is never modified; consider avoiding the copy [performance-unnecessary-copy-initialization] +Arx/tools/savetool/SaveFix.cpp:221:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/tools/savetool/SaveFix.cpp:221: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:221:19: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveFix.cpp:223:95: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveFix.cpp:225:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:225:3: warning: variable 'newIdent' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:226:78: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveFix.cpp:227:3: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:230:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/tools/savetool/SaveFix.cpp:239:19: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:243:3: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:247:12: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveFix.cpp:247:12: warning: no header providing "EntityFlags" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:247:45: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:251:12: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveFix.cpp:251:45: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:255:104: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveFix.cpp:276:13: warning: function 'patch_ident' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:276:25: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveFix.cpp:276:48: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:282:79: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveFix.cpp:284:2: warning: variable 'namestr' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:286:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:288:2: warning: no header providing "strncpy" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:293:13: warning: function 'fix_ident' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:293:41: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveFix.cpp:295:2: warning: variable 'lname' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:301:2: warning: use auto when declaring iterators [modernize-use-auto] +Arx/tools/savetool/SaveFix.cpp:301: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:301:24: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveFix.cpp:306:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:306:2: warning: variable 'newIdent' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:311:13: warning: function 'fix_player' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:313:22: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveFix.cpp:317:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveFix.cpp:330:14: warning: loop variable name 'm' is too short, expected at least 2 characters [readability-identifier-length] +Arx/tools/savetool/SaveFix.cpp:331:15: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/tools/savetool/SaveFix.cpp:361:13: warning: function 'fix_level' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:361:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:363:15: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveFix.cpp:370:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveFix.cpp:376:29: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveFix.cpp:380:2: warning: variable 'asi' of type 'ARX_CHANGELEVEL_INDEX &' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:383:2: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/tools/savetool/SaveFix.cpp:389:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:390:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:390:8: warning: variable 'res' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveFix.cpp:391:3: warning: variable 'ident' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:392:3: warning: use auto when declaring iterators [modernize-use-auto] +Arx/tools/savetool/SaveFix.cpp:392: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:392:25: warning: variable name 'it' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveFix.cpp:401:83: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveFix.cpp:402:22: warning: narrowing conversion from 'long' to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveFix.cpp:427:85: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveFix.cpp:441:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveFix.cpp:442:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveTool.cpp:30:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveTool.cpp:35:13: warning: function 'print_help' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveTool.cpp:36:67: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveTool.cpp:37:29: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveTool.cpp:38:37: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveTool.cpp:39:46: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveTool.cpp:40:33: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveTool.cpp:41:44: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveTool.cpp:44:12: warning: function 'main_extract' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveTool.cpp:58:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/tools/savetool/SaveTool.cpp:58:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/tools/savetool/SaveTool.cpp:60:3: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveTool.cpp:60:10: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveTool.cpp:63:57: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveTool.cpp:67:7: warning: no header providing "fs::ofstream" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveTool.cpp:67:16: warning: variable name 'h' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveTool.cpp:69:59: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveTool.cpp:73:20: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveTool.cpp:74:44: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveTool.cpp:82:12: warning: function 'main_add' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveTool.cpp:90:10: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveTool.cpp:98:4: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveTool.cpp:126:2: warning: variable 'command' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:28:1: warning: included header Configure.h is not used directly [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:44:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:49:54: warning: no header providing "SavedVec3" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:53:54: warning: no header providing "SavedAnglef" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:53:68: warning: parameter name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:57:54: warning: no header providing "SavedColor" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:57:67: warning: parameter name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:75:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:86:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveView.cpp:86:14: warning: variable 'spellNames' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/tools/savetool/SaveView.cpp:141:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveView.cpp:141:14: warning: variable 'runeNames' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/tools/savetool/SaveView.cpp:165:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveView.cpp:165:14: warning: variable 'animationNames' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/tools/savetool/SaveView.cpp:328:7: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveView.cpp:328:14: warning: variable 'equipitemNames' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/tools/savetool/SaveView.cpp:360:54: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:361:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:362:13: warning: no header providing "EA_LOOP" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:362:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:363:13: warning: no header providing "EA_REVERSE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:363:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:364:13: warning: no header providing "EA_PAUSED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:364:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:365:13: warning: no header providing "EA_ANIMEND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:365:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:366:13: warning: no header providing "EA_STATICANIM" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:366:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:367:13: warning: no header providing "EA_STOPEND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:367:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:368:13: warning: no header providing "EA_FORCEPLAY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:368:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:369:13: warning: no header providing "EA_EXCONTROL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:369:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:373:53: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:374:11: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:375:12: warning: no header providing "OBJECT_TYPE_WEAPON" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:375:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:376:12: warning: no header providing "OBJECT_TYPE_DAGGER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:376:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:377:12: warning: no header providing "OBJECT_TYPE_1H" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:377:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:378:12: warning: no header providing "OBJECT_TYPE_2H" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:378:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:379:12: warning: no header providing "OBJECT_TYPE_BOW" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:379:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:380:12: warning: no header providing "OBJECT_TYPE_SHIELD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:380:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:381:12: warning: no header providing "OBJECT_TYPE_FOOD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:381:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:382:12: warning: no header providing "OBJECT_TYPE_GOLD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:382:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:383:12: warning: no header providing "OBJECT_TYPE_ARMOR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:383:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:384:12: warning: no header providing "OBJECT_TYPE_HELMET" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:384:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:385:12: warning: no header providing "OBJECT_TYPE_RING" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:385:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:386:12: warning: no header providing "OBJECT_TYPE_LEGGINGS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:386:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:391:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:392:16: warning: no header providing "BEHAVIOUR_NONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:392:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:393:16: warning: no header providing "BEHAVIOUR_FRIENDLY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:393:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:394:16: warning: no header providing "BEHAVIOUR_MOVE_TO" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:394:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:395:16: warning: no header providing "BEHAVIOUR_WANDER_AROUND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:395:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:396:16: warning: no header providing "BEHAVIOUR_FLEE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:396:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:397:16: warning: no header providing "BEHAVIOUR_HIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:397:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:398:16: warning: no header providing "BEHAVIOUR_LOOK_FOR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:398:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:399:16: warning: no header providing "BEHAVIOUR_SNEAK" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:399:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:400:16: warning: no header providing "BEHAVIOUR_FIGHT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:400:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:401:16: warning: no header providing "BEHAVIOUR_DISTANT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:401:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:402:16: warning: no header providing "BEHAVIOUR_MAGIC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:402:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:403:16: warning: no header providing "BEHAVIOUR_GUARD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:403:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:404:16: warning: no header providing "BEHAVIOUR_GO_HOME" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:404:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:405:16: warning: no header providing "BEHAVIOUR_LOOK_AROUND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:405:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:406:16: warning: no header providing "BEHAVIOUR_STARE_AT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:406:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:422:8: warning: no header providing "WALKMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:423:8: warning: no header providing "RUNMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:424:8: warning: no header providing "NOMOVEMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:425:8: warning: no header providing "SNEAKMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:433:5: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:433:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:433:21: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:441:78: warning: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:441:81: warning: no header providing "VariableType" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:441:94: warning: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:441:110: warning: parameter name 'f' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:441:126: warning: parameter name 'l' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:447:42: warning: variable 'avs' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveView.cpp:453:17: warning: variable 'type' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveView.cpp:455:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:469:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:471:5: warning: variable 'value' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:471:69: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:471:70: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveView.cpp:472:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:472:13: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveView.cpp:477:45: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:477:46: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveView.cpp:481:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:487:29: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveView.cpp:489:10: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +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:499:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:510:10: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:513:30: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveView.cpp:513:92: warning: parameter name 'pf' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:518:25: warning: no header providing "ANIM_NONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:522:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:522:60: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:525:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:526:78: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:528:73: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:533:7: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:534:80: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:536:75: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:540:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:540:86: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:541:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:541:87: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:545:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:545:78: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:546:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:546:91: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:555:8: warning: initialization of 'config' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/tools/savetool/SaveView.cpp:555:8: warning: variable 'config' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/tools/savetool/SaveView.cpp:557:18: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveView.cpp:573:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:574:20: warning: no header providing "SPELLCAST_FLAG_NODRAW" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:575:20: warning: no header providing "SPELLCAST_FLAG_NOANIM" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:576:20: warning: no header providing "SPELLCAST_FLAG_NOMANA" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:577:20: warning: no header providing "SPELLCAST_FLAG_PRECAST" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:578:20: warning: no header providing "SPELLCAST_FLAG_LAUNCHPRECAST" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:579:20: warning: no header providing "SPELLCAST_FLAG_NOCHECKCANCAST" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:580:20: warning: no header providing "SPELLCAST_FLAG_NOSOUND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:581:20: warning: no header providing "SPELLCAST_FLAG_RESTORE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:586:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:586:6: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:586:49: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:586:71: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:586:90: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:586:218: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:587:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:587:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:587:97: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:588:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:588:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:588:100: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:589:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:589:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:589:91: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:590:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:590:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:590:85: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:606:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveView.cpp:614:2: warning: variable 'ais' of type 'ARX_CHANGELEVEL_IO_SAVE &' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:618:3: warning: no header providing "free" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:620:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/tools/savetool/SaveView.cpp:626:2: warning: variable 'locname' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:628:3: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:644:46: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveView.cpp:644:84: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveView.cpp:647:13: warning: loop variable name 'm' is too short, expected at least 2 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:648:14: warning: loop variable name 'n' is too short, expected at least 2 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:650:4: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:657:81: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:661:26: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:667:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:681:41: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveView.cpp:683:2: warning: variable 'i' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:683:9: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:688:62: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:698:45: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:702:2: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:704:32: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:706:40: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:709:61: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:711:39: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:713:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:713:27: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:725:45: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:729:48: warning: no header providing "TYPE_G_TEXT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:729:61: warning: no header providing "TYPE_G_FLOAT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:729:75: warning: no header providing "TYPE_G_LONG" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:736:31: warning: parameter name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:754:5: warning: function 'view_player' has cognitive complexity of 45 (threshold 25) [readability-function-cognitive-complexity] +Arx/tools/savetool/SaveView.cpp:761:57: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:765:41: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:766:36: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:767:48: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:768:50: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:771:85: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:774:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:774:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:774:56: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:775:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:775:66: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:782:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:785:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:785:58: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:787:2: warning: variable 'teleportToLevel' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:788:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:788:86: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:790:2: warning: variable 'teleportToPosition' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:792:78: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:796:64: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:799:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:799:92: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:803:3: warning: no header providing "s16" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:815:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:818:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:818:56: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:819:34: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:820:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:820:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:820:71: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:821:2: warning: variable 'inzone' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:822:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:822:55: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:833:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:837:79: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:840:36: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:841:58: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:842:58: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:843:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:843:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:843:53: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:844:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:844:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:844:53: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:845:43: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:849:25: warning: narrowing conversion from 's32' (aka 'int') to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:853:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:856:37: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:857:54: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:858:56: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:859:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:859:105: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:860:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:860:93: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:886:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:888:34: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:890:10: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:890:35: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:891:62: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:892:56: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:893:46: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:894:54: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:896:10: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:896:31: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:897:48: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:898:50: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:899:52: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:900:58: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:901:66: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:902:48: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:903:54: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:904:58: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:905:48: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:911:10: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:911:32: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:915:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:915:42: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:920:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:920:32: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:921:20: 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/tools/savetool/SaveView.cpp:922:32: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:926:4: warning: variable 'quest' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:927:72: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:933:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:933:30: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:935:32: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:939:4: warning: variable 'key' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:940:28: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:946:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:946:37: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:948:32: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:952:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/tools/savetool/SaveView.cpp:954:4: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:956:168: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:962:24: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:968:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:968:46: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:970:52: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:971:43: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:972:49: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:973:43: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:974:63: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:978:10: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:978:34: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:986:2: warning: no header providing "assert" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:996:8: warning: accessing fields in struct 'PlayingAmbiance' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/tools/savetool/SaveView.cpp:997:2: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] +Arx/tools/savetool/SaveView.cpp:998:2: warning: no header providing "f32" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1010:45: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1014:39: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1015:49: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1019:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1019:45: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1023:37: warning: variable name 'io' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1029:58: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1036:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1036:31: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1040:33: warning: variable name 'p' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1044:4: warning: variable 'controller' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1048:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1058:27: warning: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1061:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1061:47: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1062:52: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1063:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1063:57: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1070:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1079:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1087:5: warning: function 'view_io' exceeds recommended size/complexity thresholds [readability-function-size] +Arx/tools/savetool/SaveView.cpp:1087:5: warning: function 'view_io' has cognitive complexity of 432 (threshold 25) [readability-function-cognitive-complexity] +Arx/tools/savetool/SaveView.cpp:1094:45: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1098:61: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1100:77: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1101:39: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1104:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1105:19: warning: no header providing "IO_UNDERWATER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1105:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1106:19: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1106:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1107:19: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1107:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1108:19: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1108:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1109:19: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1109:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1110:19: warning: no header providing "IO_NOSHADOW" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1110:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1111:19: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1111:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1112:19: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1112:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1113:19: warning: no header providing "IO_ICONIC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1113:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1114:19: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1114:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1115:19: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1115:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1116:19: warning: no header providing "IO_INVULNERABILITY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1116:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1117:19: warning: no header providing "IO_NO_PHYSICS_INTERPOL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1117:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1118:19: warning: no header providing "IO_HIT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1118:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1119:19: warning: no header providing "IO_PHYSICAL_OFF" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1119:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1120:19: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1120:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1121:19: warning: no header providing "IO_UNIQUE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1121:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1122:19: warning: no header providing "IO_SHOP" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1122:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1123:19: warning: no header providing "IO_BLACKSMITH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1123:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1124:19: warning: no header providing "IO_NOSAVE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1124:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1125:19: warning: no header providing "IO_FORCEDRAW" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1125:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1126:19: warning: no header providing "IO_FIELD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1126:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1127:19: warning: no header providing "IO_BUMP" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1127:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1128:19: warning: no header providing "IO_ANGULAR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1128:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1129:19: warning: no header providing "IO_BODY_CHUNK" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1129:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1130:19: warning: no header providing "IO_ZMAP" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1130:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1131:19: warning: no header providing "IO_INVERTED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1131:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1132:19: warning: no header providing "IO_JUST_COLLIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1132:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1133:19: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1133:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1134:19: warning: no header providing "IO_NO_NPC_COLLIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1134:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1135:19: warning: no header providing "IO_CAN_COMBINE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1135:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1136:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1137:10: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1139:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1139:38: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1141:6: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1141:24: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1144:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1146:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1146:27: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1146:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1146:88: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1147:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1147:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1147:73: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1148:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1148:28: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1148:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1148:90: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1149:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1149:6: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1149:42: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1151:6: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1151:27: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1154:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1156:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1156:55: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1157:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1157:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1157:53: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1159:2: warning: variable 'locname' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1160:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1160:97: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1164:22: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1164:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1165:22: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1165:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1166:22: warning: no header providing "GFLAG_WASINTREATZONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1166:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1167:22: warning: no header providing "GFLAG_NEEDINIT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1167:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1168:22: warning: no header providing "GFLAG_INTERACTIVITYHIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1168:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1169:22: warning: no header providing "GFLAG_DOOR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1169:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1170:22: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1170:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1171:22: warning: no header providing "GFLAG_NO_PHYS_IO_COL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1171:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1172:22: warning: no header providing "GFLAG_VIEW_BLOCKER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1172:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1173:22: warning: no header providing "GFLAG_PLATFORM" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1173:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1174:22: warning: no header providing "GFLAG_ELEVATOR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1174:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1175:22: warning: no header providing "GFLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1175:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1176:22: warning: no header providing "GFLAG_HIDEWEAPON" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1176:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1177:22: warning: no header providing "GFLAG_NOGORE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1177:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1178:22: warning: no header providing "GFLAG_GOREEXPLODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1178:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1179:22: warning: no header providing "GFLAG_NOCOMPUTATION" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1179:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1180:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1183:21: warning: no header providing "MATERIAL_NONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1187:9: warning: no header providing "MATERIAL_WEAPON" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1188:9: warning: no header providing "MATERIAL_FLESH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1189:9: warning: no header providing "MATERIAL_METAL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1190:9: warning: no header providing "MATERIAL_GLASS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1191:9: warning: no header providing "MATERIAL_CLOTH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1192:9: warning: no header providing "MATERIAL_WOOD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1193:9: warning: no header providing "MATERIAL_EARTH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1194:9: warning: no header providing "MATERIAL_WATER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1195:9: warning: no header providing "MATERIAL_ICE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1196:9: warning: no header providing "MATERIAL_GRAVEL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1197:9: warning: no header providing "MATERIAL_STONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1198:9: warning: no header providing "MATERIAL_FOOT_LARGE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1199:9: warning: no header providing "MATERIAL_FOOT_BARE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1200:9: warning: no header providing "MATERIAL_FOOT_SHOE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1201:9: warning: no header providing "MATERIAL_FOOT_METAL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1202:9: warning: no header providing "MATERIAL_FOOT_STEALTH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1205:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1208:72: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1209:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1209:73: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1213:8: warning: no header providing "SHOW_FLAG_NOT_DRAWN" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1214:8: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1215:8: warning: no header providing "SHOW_FLAG_LINKED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1216:8: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1217:8: warning: no header providing "SHOW_FLAG_HIDDEN" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1218:8: warning: no header providing "SHOW_FLAG_TELEPORTING" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1219:8: warning: no header providing "SHOW_FLAG_KILLED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1220:8: warning: no header providing "SHOW_FLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1221:8: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1222:8: warning: no header providing "SHOW_FLAG_DESTROYED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1225:10: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1230:20: warning: no header providing "COLLIDE_WITH_PLAYER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1231:20: warning: no header providing "COLLIDE_WITH_WORLD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1233:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1236:2: warning: variable 'mainevent' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1237:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1237:71: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1239:2: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1241:58: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1243:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1243:68: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1244:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1244:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1244:71: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1245:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1245:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1245:63: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1250:85: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1255:37: warning: no header providing "RUNE_NONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1257:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1263:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1266:91: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1270:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1270:98: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1271:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1271:95: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1273:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1273:61: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1274:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1274:84: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1275:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1275:62: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1276:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1276:80: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1278:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1278:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1278:64: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1279:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1279:77: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1283:25: warning: no header providing "DAMAGE_TYPE_FIRE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1283:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1284:25: warning: no header providing "DAMAGE_TYPE_MAGICAL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1284:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1285:25: warning: no header providing "DAMAGE_TYPE_LIGHTNING" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1285:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1286:25: warning: no header providing "DAMAGE_TYPE_COLD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1286:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1287:25: warning: no header providing "DAMAGE_TYPE_POISON" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1287:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1288:25: warning: no header providing "DAMAGE_TYPE_GAS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1288:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1289:25: warning: no header providing "DAMAGE_TYPE_METAL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1289:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1290:25: warning: no header providing "DAMAGE_TYPE_WOOD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1290:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1291:25: warning: no header providing "DAMAGE_TYPE_STONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1291:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1292:25: warning: no header providing "DAMAGE_TYPE_ACID" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1292:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1293:25: warning: no header providing "DAMAGE_TYPE_ORGANIC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1293:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1294:25: warning: no header providing "DAMAGE_TYPE_PER_SECOND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1294:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1295:25: warning: no header providing "DAMAGE_TYPE_DRAIN_LIFE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1295:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1296:25: warning: no header providing "DAMAGE_TYPE_DRAIN_MANA" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1296:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1297:25: warning: no header providing "DAMAGE_TYPE_PUSH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1297:42: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1298:25: warning: no header providing "DAMAGE_TYPE_FAKEFIRE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1298:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1299:25: warning: no header providing "DAMAGE_TYPE_FIELD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1299:43: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1300:25: warning: no header providing "DAMAGE_TYPE_NO_FIX" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1300:44: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1301:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1304:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1304:59: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1304:78: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1306:2: warning: variable 'stepmat' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1307:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1307:63: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1309:2: warning: variable 'armormat' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1310:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1310:66: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1312:2: warning: variable 'weaponmat' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1313:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1313:69: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1315:2: warning: variable 'strikespeech' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1316:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1316:121: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1318:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1318:56: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1318:80: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1319:2: warning: variable 'shop' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1320:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1320:57: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1321:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1321:79: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1325:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1326:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1327:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1330:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1330:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1330:59: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1332:2: warning: variable 'invskin' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1333:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1333:64: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1339:10: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1339:32: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1340:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1340:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1340:83: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1341:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1341:58: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1343:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1343:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1343:82: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1344:5: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1344:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1344:82: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1346:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1347:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1347:52: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1348:55: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1349:91: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1350:69: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1351:73: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1352:62: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1353:63: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1354:62: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1355:121: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1359:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1360:47: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1361:49: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1363:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1364:23: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1364:35: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1365:23: warning: no header providing "HALO_NEGATIVE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1365:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1366:23: warning: no header providing "HALO_DYNLIGHT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1366:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1367:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1368:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1369:49: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1370:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1373:2: warning: variable 'pathname' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1375:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1379:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1380:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1381:55: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1382:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1383:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1384:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1385:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1386:58: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1387:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1388:60: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1389:56: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1393:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1393:44: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1395:39: warning: variable 'ats' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveView.cpp:1401:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1402:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1403:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1406:68: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1407:47: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1408:78: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1409:41: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1410:37: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1411:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1411:55: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1416:39: warning: variable 'ass' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveView.cpp:1425:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1425:44: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1427:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1427:38: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1432:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1433:26: warning: no header providing "DISABLE_HIT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1433:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1434:26: warning: no header providing "DISABLE_CHAT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1434:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1435:26: warning: no header providing "DISABLE_INVENTORY2_OPEN" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1435:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1436:26: warning: no header providing "DISABLE_HEAR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1436:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1437:26: warning: no header providing "DISABLE_DETECT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1437:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1438:26: warning: no header providing "DISABLE_AGGRESSION" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1438:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1439:26: warning: no header providing "DISABLE_MAIN" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1439:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1440:26: warning: no header providing "DISABLE_COLLIDE_NPC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1440:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1441:26: warning: no header providing "DISABLE_CURSORMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1441:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1442:26: warning: no header providing "DISABLE_EXPLORATIONMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1442:50: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1443:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1446:51: warning: no header providing "TYPE_L_TEXT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1446:64: warning: no header providing "TYPE_L_FLOAT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1446:78: warning: no header providing "TYPE_L_LONG" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1451: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:1455:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1455:35: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1457:40: warning: variable 'as' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveView.cpp:1457:40: warning: variable name 'as' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1461:7: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1461:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1461:61: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1462:7: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1462:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1462:61: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1463:52: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1465:38: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1465:94: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1466:7: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1466:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1466:85: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1468:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1468:78: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1469:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1469:75: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1470:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1470:48: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1471:7: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1471:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1471:60: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1472:18: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1472:57: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1473:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1473:79: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1477:7: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1477:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1477:67: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1478:7: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1478:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1478:87: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1479:62: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1480:62: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1482:65: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1484:7: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1484:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1484:77: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1485:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1485:79: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1486:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1486:75: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1488:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1488:73: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1490:41: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1491:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1491:77: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1492:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1492:84: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1493:39: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1495:9: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1496:26: warning: no header providing "MAX_STACKED_BEHAVIOR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1498:28: warning: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1505:13: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1505:59: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1507:60: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1508:63: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1509:58: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1510:66: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1517:13: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1521:5: warning: variable 'target' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1523:84: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1527:46: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1528:40: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1529:7: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1529:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1529:81: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1530:7: warning: narrowing conversion from 'f32' (aka 'float') to 'bool' [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveView.cpp:1530:21: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1530:65: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1531:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1531:61: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1532:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1532:59: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1533:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1533:57: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1534:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1534:72: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1535:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1535:84: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1536:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1536:74: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1538:4: warning: no header providing "NPCFlags" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1538:4: warning: variable 'npcflags' of type 'NPCFlags' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1541:19: warning: no header providing "NPCFLAG_BACKSTAB" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1541:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1542:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1543:13: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1546:43: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1547:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1547:51: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1557:13: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1562:13: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1563:5: warning: no header providing "ExtraRotateFlags" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1563:5: warning: variable 'flags' of type 'ExtraRotateFlags' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1564:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1565:16: warning: no header providing "EXTRA_ROTATE_REALISTIC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1565:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1566:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1567:13: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1570:139: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1574:4: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1574:4: warning: variable 'c' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1574:10: warning: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1576:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1576:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1576:75: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1576:94: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1584:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1584:36: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1586:41: warning: variable 'ai' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveView.cpp:1586:41: warning: variable name 'ai' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1590:40: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1592:66: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1595:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1595:56: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1597:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1597:56: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1599:63: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1602:52: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1609:36: warning: variable name 'e' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1616:15: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1618:15: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1622:15: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1627:25: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1630:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1631:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1632:15: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1636:23: warning: no header providing "IO_SPECIAL_ELEM_PARALYZE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1638:30: warning: no header providing "IO_SPECIAL_ELEM_DRAIN_LIFE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1643:15: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1654:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1654:37: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1656:40: warning: variable 'af' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveView.cpp:1656:40: warning: variable name 'af' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1660:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1660:56: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1660:78: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1667:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1667:38: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1669:43: warning: variable 'ac' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveView.cpp:1669:43: warning: variable name 'ac' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1673:27: warning: variable name 't' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1674:30: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1675:83: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1676:103: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1677:47: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1678:80: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1681:96: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1682:96: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1683:81: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1684:41: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1685:79: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1686:69: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1688:24: warning: variable name 'm' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1689:27: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1690:82: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1691:82: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1692:82: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1693:82: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1695:44: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1696:59: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1697:58: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1698:55: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1699:54: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1700:70: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1701:62: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1702:42: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1703:53: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1705:148: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1707:46: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1708:46: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1709:48: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1710:48: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1711:52: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1712:42: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1713:42: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1714:44: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1715:44: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1716:42: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1717:46: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1721:10: warning: no header providing "CAM_SUBJVIEW" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1722:10: warning: no header providing "CAM_TOPVIEW" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1725:12: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1727:50: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1728:48: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1729:46: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1730:42: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1743:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1743:35: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1745:47: warning: variable name 'i' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1748:54: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1756:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1756:38: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1758:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/tools/savetool/SaveView.cpp:1761:81: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1762:99: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1763:85: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1767:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1769:10: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/tools/savetool/SaveView.cpp:1773:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1777:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto] +Arx/tools/savetool/SaveView.cpp:1780:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1780:44: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1783:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1784:18: warning: no header providing "TWEAK_REMOVE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1784:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1785:18: warning: no header providing "TWEAK_HEAD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1785:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1786:18: warning: no header providing "TWEAK_TORSO" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1786:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1787:18: warning: no header providing "TWEAK_LEGS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1787:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1788:18: warning: no header providing "TWEAK_TYPE_SKIN" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1788:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1789:18: warning: no header providing "TWEAK_TYPE_ICON" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1789:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1790:18: warning: no header providing "TWEAK_TYPE_MESH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1790:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/tools/savetool/SaveView.cpp:1791:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1793:3: warning: variable 'param1' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1795:43: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1798:3: warning: variable 'param2' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1800:43: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1819:10: warning: no header providing "isdigit" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1833:84: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1840:40: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1846:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1846:34: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1847:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1847:39: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1849:11: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1849:33: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1851:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveView.cpp:1852:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/tools/savetool/SaveView.cpp:1854:23: warning: variable name 'ss' is too short, expected at least 3 characters [readability-identifier-length] +Arx/tools/savetool/SaveView.cpp:1858:34: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1865:2: warning: variable 'name' of type 'string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1867:9: warning: variable 'size' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/savetool/SaveView.cpp:1870:35: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1874:10: warning: do not use 'endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveView.cpp:1876:6: warning: variable 'ret' is not initialized [cppcoreguidelines-init-variables] +Arx/tools/unpak/UnPak.cpp:31:1: warning: included header ResourcePath.h is not used directly [misc-include-cleaner] +Arx/tools/unpak/UnPak.cpp:34:12: warning: using decl 'transform' is unused [misc-unused-using-decls] +Arx/tools/unpak/UnPak.cpp:42:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/tools/unpak/UnPak.cpp:44:3: warning: variable 'filename' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tools/unpak/UnPak.cpp:53:4: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/tools/unpak/UnPak.cpp:58:18: warning: redundant cast to the same type [google-readability-casting] +Arx/tools/unpak/UnPak.cpp:58:18: warning: redundant explicit casting to the same type 'char *' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/tools/unpak/UnPak.cpp:59:4: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/tools/unpak/UnPak.cpp:61:23: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/unpak/UnPak.cpp:63:5: warning: function is not thread safe [concurrency-mt-unsafe] +Arx/tools/unpak/UnPak.cpp:72:6: warning: use auto when declaring iterators [modernize-use-auto] +Arx/tools/unpak/UnPak.cpp:80:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] -Configure.h:0:0: error: Configure error, see config log. +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. +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:224:15: error: no template named 'map' in namespace 'std' [clang-diagnostic-error] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:233:15: error: type 'CrashReportMap' (aka 'int') does not provide a subscript operator [clang-diagnostic-error] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:239:34: error: member reference base type 'CrashReportMap' (aka 'int') is not a structure or union [clang-diagnostic-error] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:242:36: error: member reference base type 'CrashReportMap' (aka 'int') is not a structure or union [clang-diagnostic-error] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:245:2: error: 'CrashReportMap' (aka 'int') is not a class, namespace, or enumeration [clang-diagnostic-error] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:245:48: error: member reference base type 'CrashReportMap' (aka 'int') is not a structure or union [clang-diagnostic-error]