+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] +Arx/src/ai/PathFinder.cpp:78:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:241:7: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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:362:36: warning: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:391:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/ai/PathFinder.cpp:427:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/PathFinder.cpp:428:6: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/ai/PathFinder.cpp:445:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +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.h:75:10: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +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/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' 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: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: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: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: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' 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:98:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/PathFinderManager.cpp:103:27: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:193:29: warning: variable 'next' is not initialized [cppcoreguidelines-init-variables] +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: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: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: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: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.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:67:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +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:164:72: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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:250:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:271:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:287:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:301:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:317:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:324:19: warning: redundant cast to the same type [google-readability-casting] +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:339:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:385:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:395:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/ai/Paths.cpp:438:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:453:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:466:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:483:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:511:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:663:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: 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: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: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:794:8: warning: variable 'power' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:797:18: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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: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: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:874:15: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:884:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:13: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +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:26: warning: redundant cast to the same type [google-readability-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:951:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:961:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:973:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1033:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1066:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1086:40: warning: statement should be inside braces [readability-braces-around-statements] +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:1110:40: warning: statement should be inside braces [readability-braces-around-statements] +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: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:25: warning: narrowing conversion from 'unsigned short' to signed type 'short' 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: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:1231:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1265:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1286:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1313:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +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: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:1358:6: warning: variable 'numsuiv' is not initialized [cppcoreguidelines-init-variables] +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:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/ai/Paths.cpp:1366:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1423:47: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1450:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1458:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1483:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1504:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1590:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1605:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1605:49: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:1622:11: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/ai/Paths.cpp:1629:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +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: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:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1640:7: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +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:11: warning: variable 'iz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1643:15: warning: variable 'ax' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1643:19: warning: variable 'az' is not initialized [cppcoreguidelines-init-variables] +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: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:1652:14: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1653:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +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:1690:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1691:38: warning: statement should be inside braces [readability-braces-around-statements] +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 in conditional chain [bugprone-branch-clone] +Arx/src/ai/Paths.cpp:1693:40: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1694:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/ai/Paths.cpp:1695:39: warning: statement should be inside braces [readability-braces-around-statements] +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: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 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: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 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' has cognitive complexity of 32 (threshold 25) [readability-function-cognitive-complexity] +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: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: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: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: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:1879:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1925:13: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +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:11: warning: variable 'j2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1926:15: warning: variable 'k2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/ai/Paths.cpp:1927:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +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: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: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:18: warning: statement should be inside braces [readability-braces-around-statements] +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:1996:16: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/ai/Paths.cpp:1997:23: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/ai/Paths.cpp:1998:23: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +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: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:2054:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/ai/Paths.cpp:2065:51: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:178:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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, trubandef [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: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:238:19: warning: redundant void argument list in function declaration [modernize-redundant-void-arg] +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:96: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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: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: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: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: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' 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: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:151:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/Animation.cpp:152:24: warning: redundant cast to the same type [google-readability-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: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: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: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: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:219:2: warning: 'locks' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Animation.cpp:226:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/Animation.cpp:275:48: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/animation/Animation.cpp:305:10: warning: variable 'FileSize' is not initialized [cppcoreguidelines-init-variables] +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:311:47: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +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:342:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:352:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:375:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:433:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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:47: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:548:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:573:24: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +Arx/src/animation/Animation.cpp:582:23: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:610:25: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:629:19: warning: statement should be inside braces [readability-braces-around-statements] +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: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: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +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: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +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: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +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: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +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: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +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: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:18: warning: statement should be inside braces [readability-braces-around-statements] +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: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:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +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: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:28: warning: redundant cast to the same type [google-readability-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: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: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: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: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: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: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: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:1167:31: warning: statement should be inside braces [readability-braces-around-statements] +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: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:26: warning: statement should be inside braces [readability-braces-around-statements] +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:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1202:27: warning: statement should be inside braces [readability-braces-around-statements] +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: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:38: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +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:1268:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:42: warning: statement should be inside braces [readability-braces-around-statements] +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: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:15: warning: variable 'fb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/Animation.cpp:1474:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1475:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/animation/Animation.cpp:1479:17: warning: statement should be inside braces [readability-braces-around-statements] +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: 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: 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: 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:1557:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/Animation.cpp:1558:15: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/Animation.cpp:1564:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1572:16: warning: redundant cast to the same type [google-readability-casting] +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: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: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: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:1724:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/Animation.cpp:1727:23: warning: statement should be inside braces [readability-braces-around-statements] +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: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:1776:30: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/Animation.cpp:1778:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +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: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: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: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/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:91:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +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:138:22: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:138:76: warning: redundant cast to the same type [google-readability-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:173:37: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/animation/AnimationRender.cpp:180:19: warning: repeated branch in conditional chain [bugprone-branch-clone] +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: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:276:13: warning: function 'Cedric_AnimateObject' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity] +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:12: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables] +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: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: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:357:6: warning: variable 'i' is not initialized [cppcoreguidelines-init-variables] +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:429:6: warning: variable 'v' is not initialized [cppcoreguidelines-init-variables] +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: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: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' has cognitive complexity of 266 (threshold 25) [readability-function-cognitive-complexity] +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:12: warning: variable 'v' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:523:15: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:543:29: warning: statement should be inside braces [readability-braces-around-statements] +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:28: warning: statement should be inside braces [readability-braces-around-statements] +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:28: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:38: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +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: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: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: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:16: warning: variable 'g' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:779:19: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +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:14: warning: variable 'ig' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:780:18: warning: variable 'ib' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:814:13: warning: variable 'cosangle' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:818:46: warning: statement should be inside braces [readability-braces-around-statements] +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:16: warning: variable 'g' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:888:19: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +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:14: warning: variable 'ig' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:889:18: warning: variable 'ib' is not initialized [cppcoreguidelines-init-variables] +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:930:45: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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' has cognitive complexity of 222 (threshold 25) [readability-function-cognitive-complexity] +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:1377:46: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:1457:58: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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:1676:29: warning: redundant cast to the same type [google-readability-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:24: warning: statement should be inside braces [readability-braces-around-statements] +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: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:1852:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1877:5: warning: uninitialized record type: 'quat1' [cppcoreguidelines-pro-type-member-init] +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:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +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:28: warning: redundant cast to the same type [google-readability-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: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: 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:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2017:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/animation/AnimationRender.cpp:2041:11: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/AnimationRender.cpp:2124:2: warning: uninitialized record type: 'qInvert' [cppcoreguidelines-pro-type-member-init] +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:13: warning: variable 'g' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2164:16: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +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:13: warning: variable 'ig' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2165:17: warning: variable 'ib' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2180:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2186:12: warning: variable 'cosangle' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2204:46: warning: statement should be inside braces [readability-braces-around-statements] +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:141: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2253:2: warning: uninitialized record type: 'qInvert' [cppcoreguidelines-pro-type-member-init] +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: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:2302:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:12: warning: variable 'g' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2309:15: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +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:12: warning: variable 'ig' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2310:16: warning: variable 'ib' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2331:11: warning: variable 'cosangle' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2348:45: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:2415:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:2454:12: warning: variable 'nvalue' is not initialized [cppcoreguidelines-init-variables] +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: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: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:2530:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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:51: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/AnimationRender.cpp:2618:61: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/AnimationRender.cpp:2651:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:59:40: warning: all parameters should be named in a function [readability-named-parameter] +Arx/src/animation/AnimationRender.h:62:141: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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' 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' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +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: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' 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' 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' 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: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:104:2: warning: 'projectload' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/animation/Cinematic.cpp:105:2: warning: 'ti' 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:78: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Cinematic.cpp:116:149: warning: consider replacing 'short' with 's16' [google-runtime-int] +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' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +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:262:2: warning: do not use 'else' after 'return' [readability-else-after-return] +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: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' 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' 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' 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: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: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: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: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: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: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: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: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: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: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:149:6: warning: function 'FillKeyTemp' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +Arx/src/animation/Cinematic.h:149:78: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/animation/Cinematic.h:149:149: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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:98:7: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:99:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +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:124:7: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:125:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:127:34: warning: statement should be inside braces [readability-braces-around-statements] +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: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:246:7: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:261:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +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: 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: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: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: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/animation/CinematicKeyframer.cpp:390:7: warning: variable 'nb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:391:10: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:393:32: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/animation/CinematicKeyframer.cpp:415:8: warning: variable 'da' is not initialized [cppcoreguidelines-init-variables] +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: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: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: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:12: warning: variable 't2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:16: warning: variable 't3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:20: warning: variable 'f0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:24: warning: variable 'f1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:28: warning: variable 'f2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:32: warning: variable 'f3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:36: warning: variable 'p0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:434:40: warning: variable 'p1' is not initialized [cppcoreguidelines-init-variables] +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:20: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:650:6: warning: function 'GereTrackNoPlay' has cognitive complexity of 35 (threshold 25) [readability-function-cognitive-complexity] +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: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: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:12: warning: variable 't2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:16: warning: variable 't3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:20: warning: variable 'f0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:24: warning: variable 'f1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:28: warning: variable 'f2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:32: warning: variable 'f3' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:36: warning: variable 'p0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/animation/CinematicKeyframer.cpp:656:40: warning: variable 'p1' is not initialized [cppcoreguidelines-init-variables] +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: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: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: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:886:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/animation/CinematicKeyframer.cpp:886:29: warning: variable 'ksuiv' is not initialized [cppcoreguidelines-init-variables] +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:23: warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses] +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/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' 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: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:108:19: warning: narrowing conversion from 'long' 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: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:145:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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' 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: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:148:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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' 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: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: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:15: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +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/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:110:3: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +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: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: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: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: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:491:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/audio/Ambiance.cpp:532:7: warning: variable 'c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/Ambiance.cpp:534:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/Ambiance.cpp:555:4: warning: do not use 'else' after 'return' [readability-else-after-return] +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: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:632:6: warning: variable 'nbtracks' is not initialized [cppcoreguidelines-init-variables] +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:765:5: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/audio/Ambiance.cpp:840:5: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +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:86:11: warning: function 'audio::Ambiance::muteTrack' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +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:634:51: warning: repeated branch in conditional chain [bugprone-branch-clone] +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: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/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: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: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: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: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:74:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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:40: warning: narrowing conversion from '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: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:16: warning: redundant cast to the same type [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/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: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:100:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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:39: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/audio/AudioResource.h:153:5: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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:57: warning: suspicious usage of 'sizeof(A*)'; pointer to aggregate [bugprone-sizeof-expression] +Arx/src/audio/AudioSource.cpp:86:5: warning: do not use 'else' after 'break' [readability-else-after-return] +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: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: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:131:9: warning: member variable 'time' has protected visibility [misc-non-private-member-variables-in-classes] +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: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: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.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/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 'audio::ResourceHandle' is redundant [readability-redundant-member-init] +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/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/codec/ADPCM.cpp:55:14: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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:107:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/codec/ADPCM.cpp:142:27: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/codec/ADPCM.cpp:158:10: warning: variable 'nRead' is not initialized [cppcoreguidelines-init-variables] +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: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: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: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 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:75:7: warning: function 'audio::CodecADPCM::getSample' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +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/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/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:16: warning: method 'size' can be made const [readability-make-member-function-const] +Arx/src/audio/codec/WAV.cpp:114:7: warning: variable '_offset' is not initialized [cppcoreguidelines-init-variables] +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:41: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +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: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: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: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: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.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/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/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: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: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: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:119:15: warning: variable 'efx_ver' is not initialized [cppcoreguidelines-init-variables] +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:174:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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:319:80: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +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:47:11: warning: function 'audio::OpenALBackend::init' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +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:41: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +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' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/audio/openal/OpenALSource.cpp:54:8: warning: variable 'val' is not initialized [cppcoreguidelines-init-variables] +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:78:8: warning: variable 'val' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:89:1: warning: constructor does not initialize these fields: buffers, bufferSizes [cppcoreguidelines-pro-type-member-init] +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:158:24: warning: function 'init' has cognitive complexity of 33 (threshold 25) [readability-function-cognitive-complexity] +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:303:31: warning: redundant cast to the same type [google-readability-casting] +Arx/src/audio/openal/OpenALSource.cpp:315:9: warning: variable 'read' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:348:9: warning: variable 'alformat' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:378:5: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +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: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:533:9: warning: variable 'queuedBuffers' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:618:10: warning: variable 'max' is not initialized [cppcoreguidelines-init-variables] +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:670:8: warning: variable 'nbuffersProcessed' is not initialized [cppcoreguidelines-init-variables] +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:687:10: warning: variable 'buffer' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:733:9: warning: variable 'buffersQueued' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:758:8: warning: variable 'newRead' is not initialized [cppcoreguidelines-init-variables] +Arx/src/audio/openal/OpenALSource.cpp:777:9: warning: variable 'newSourceState' is not initialized [cppcoreguidelines-init-variables] +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.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:54:11: warning: function 'audio::OpenALSource::play' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +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: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: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: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: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:104:7: warning: variable 'init' is not initialized [cppcoreguidelines-init-variables] +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: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: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: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:84:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Application.h:85:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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 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: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: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: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: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' 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' 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: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:342:21: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +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: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:459:13: warning: calling 'system' uses a command processor [cert-env33-c] +Arx/src/core/ArxGame.cpp:493:3: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/core/ArxGame.cpp:508:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +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: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: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:691:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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:1041:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1041:41: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1057:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:21: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +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: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: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: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: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: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:101: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:1163:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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: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:1311:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1317:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:16: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1335:16: warning: statement should be inside braces [readability-braces-around-statements] +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: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:1470:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:1479:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/ArxGame.cpp:1514:89: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:1524:46: warning: static member accessed through instance [readability-static-accessed-through-instance] +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: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: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:1555:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:22: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:1928:4: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +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: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:2034:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/ArxGame.cpp:2048:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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:2135:38: warning: statement should be inside braces [readability-braces-around-statements] +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:2247:48: warning: all parameters should be named in a function [readability-named-parameter] +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:97:15: warning: function 'ArxGame::OutputTextGrid' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +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:40: warning: all parameters should be named in a function [readability-named-parameter] +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: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: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: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: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:332:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.cpp:413:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.cpp:438:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/core/Config.cpp:468:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +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: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: constructor does not initialize these fields: key [cppcoreguidelines-pro-type-member-init] +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: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 '' 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 '' 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 '' 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 '' 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 '' 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 '' 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 '' 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:12: warning: member variable 'actions' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/core/Config.h:168:2: warning: accessing fields in struct '' is inefficient due to padding; only needs 41 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:168:2: warning: accessing fields in struct '' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/core/Config.h: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +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: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: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: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' 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' 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' 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' 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' 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' 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' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +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' 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: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: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: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: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: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: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: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:748:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:754:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:762:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:783:15: warning: variable 'current' is not initialized [cppcoreguidelines-init-variables] +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: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: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: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:1498:2: warning: uninitialized record type: 'tmat' [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Core.cpp:1502:11: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:1510:3: warning: redundant cast to the same type [google-readability-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: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: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:1576:2: warning: uninitialized record type: 'tmat' [cppcoreguidelines-pro-type-member-init] +Arx/src/core/Core.cpp:1580:11: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:1588:3: warning: redundant cast to the same type [google-readability-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:1636:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/core/Core.cpp:1644:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:1681:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:1694:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +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: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: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: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: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:1858:21: warning: static member accessed through instance [readability-static-accessed-through-instance] +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: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:1998:10: warning: statement should be inside braces [readability-braces-around-statements] +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: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:2077:17: warning: repeated branch 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: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:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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:2108:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +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:2132:6: warning: function 'ManageCombatModeAnimations' has cognitive complexity of 292 (threshold 25) [readability-function-cognitive-complexity] +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:2143:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:2254:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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: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: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: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:2648:3: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +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: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: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: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: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: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: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' 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: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: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: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: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:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Core.cpp:2974:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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: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:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3041:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3048:13: warning: redundant cast to the same type [google-readability-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:24: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +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: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: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: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: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:3247:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:3394:52: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3403:29: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3409:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/core/Core.cpp:3501:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Core.cpp:3515:28: warning: redundant cast to the same type [google-readability-casting] +Arx/src/core/Core.cpp:3546:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/core/Core.cpp:3595:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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: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: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.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:80:10: warning: 'operator float' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +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: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: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:142:21: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +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: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:118:12: warning: variable 'file' is not initialized [cppcoreguidelines-init-variables] +Arx/src/core/Localisation.cpp:169:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/core/Localisation.h:37:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:163:39: warning: narrowing conversion from '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: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:46:2: warning: constructor does not initialize these fields: quicksave, stime [cppcoreguidelines-pro-type-member-init] +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: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:89:1: warning: initialization of 'optionRegistrator89' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] +Arx/src/core/Startup.cpp:89:1: warning: variable 'optionRegistrator89' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/Startup.cpp:89:1: warning: variable 'optionRegistrator89' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +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: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: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: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:109:48: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:117:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:118:33: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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: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: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: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:235:73: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:41: warning: statement should be inside braces [readability-braces-around-statements] +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: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:41: warning: statement should be inside braces [readability-braces-around-statements] +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:50: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:432:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:449:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:471:7: warning: statement should be inside braces [readability-braces-around-statements] +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:489:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:492:30: warning: statement should be inside braces [readability-braces-around-statements] +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: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:600:45: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: 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: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: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: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:800:7: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:805:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:870:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:892:9: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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: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:997:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Damage.cpp:999:24: warning: narrowing conversion from '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: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: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: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 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:15: warning: redundant cast to the same type [google-readability-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:1084:39: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1108:29: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +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: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:1303:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1303:34: warning: repeated branch 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:1315:17: warning: statement should be inside braces [readability-braces-around-statements] +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:70: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: 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: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: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:1438:42: warning: statement should be inside braces [readability-braces-around-statements] +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:1470:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:1500:28: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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:17: warning: statement should be inside braces [readability-braces-around-statements] +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: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:1659:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1668:10: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Damage.cpp:1681:18: warning: statement should be inside braces [readability-braces-around-statements] +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: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: 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: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, except, 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: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: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: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: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: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: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: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:149:6: warning: function 'ARX_DAMAGES_DurabilityRestore' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +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:72:1: warning: constructor does not initialize these fields: anims, animlayer [cppcoreguidelines-pro-type-member-init] +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: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:92:2: warning: 'obj' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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:95:2: warning: 'lastanimvertex' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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:103:2: warning: 'tweaky' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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: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:112:2: warning: 'inventory' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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: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: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:130:2: warning: 'symboldraw' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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: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:143:2: warning: undefined behavior, destination object type 'EERIE_SCRIPT' is not TriviallyCopyable [bugprone-undefined-memory-manipulation] +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:148:2: warning: 'material' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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: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:173:2: warning: 'max_durability' 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: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:198:9: warning: function '~Entity' has cognitive complexity of 27 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Entity.cpp:247:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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, symb, spell_level, target, duration [cppcoreguidelines-pro-type-member-init] +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: 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: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: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: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:16: warning: member variable 'anims' has public visibility [misc-non-private-member-variables-in-classes] +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 '' 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: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/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:56:23: warning: method 'string' can be made const [readability-make-member-function-const] +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: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:77:7: warning: method 'isSpecial' can be made const [readability-make-member-function-const] +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:86:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/EntityManager.cpp:90:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/EntityManager.cpp:109:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:45:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:129:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +Arx/src/game/Equipment.cpp:163:28: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:167:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:214:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:216:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:227:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:272:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:274:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:330:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:21: warning: statement should be inside braces [readability-braces-around-statements] +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:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:408:60: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:418:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:420:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:450:14: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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:568:8: warning: statement should be inside braces [readability-braces-around-statements] +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:20: warning: variable 'damages' is not initialized [cppcoreguidelines-init-variables] +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: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:634:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:714:48: warning: static member accessed through instance [readability-static-accessed-through-instance] +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: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:38: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type '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:768:10: warning: variable 'v0' is not initialized [cppcoreguidelines-init-variables] +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: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: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:831:10: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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:982:70: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1017:57: warning: statement should be inside braces [readability-braces-around-statements] +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: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:1119:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Equipment.cpp:1124:27: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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: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:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Equipment.cpp:1470:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:97:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +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/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: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: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: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: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' 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:162:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:11: warning: variable 'ty' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:185:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:186:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +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:220:16: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +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:269:21: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:271:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:278:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:297:17: warning: statement should be inside braces [readability-braces-around-statements] +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:331:25: warning: statement should be inside braces [readability-braces-around-statements] +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:360:8: warning: accessing fields in struct 'InventoryArray<3, 16, 3>' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 0 bytes [altera-struct-pack-align] +Arx/src/game/Inventory.cpp:373:8: warning: accessing fields in struct 'InventoryArray<1, 20, 20>' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 0 bytes [altera-struct-pack-align] +Arx/src/game/Inventory.cpp:389:8: warning: accessing fields in struct 'ItemSizeComaparator' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 0 bytes [altera-struct-pack-align] +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:418:10: warning: consider replacing 'unsigned short' with 'u16' [google-runtime-int] +Arx/src/game/Inventory.cpp:423:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:528:26: warning: loop variable has narrower type '(anonymous namespace)::Inventory::index_type' (aka 'unsigned short') than iteration's upper bound 'int' [bugprone-too-small-loop-variable] +Arx/src/game/Inventory.cpp:529:27: warning: loop variable has narrower type '(anonymous namespace)::Inventory::index_type' (aka 'unsigned short') than iteration's upper bound 'int' [bugprone-too-small-loop-variable] +Arx/src/game/Inventory.cpp:572:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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:603:26: warning: loop variable has narrower type '(anonymous namespace)::Inventory::index_type' (aka 'unsigned short') than iteration's upper bound 'int' [bugprone-too-small-loop-variable] +Arx/src/game/Inventory.cpp:604:27: warning: loop variable has narrower type '(anonymous namespace)::Inventory::index_type' (aka 'unsigned short') than iteration's upper bound 'int' [bugprone-too-small-loop-variable] +Arx/src/game/Inventory.cpp:618:12: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:702:3: warning: repeated branch in conditional chain [bugprone-branch-clone] +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:810:4: warning: do not use 'else' after 'return' [readability-else-after-return] +Arx/src/game/Inventory.cpp:819:4: warning: do not use 'else' after 'return' [readability-else-after-return] +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:890:17: warning: statement should be inside braces [readability-braces-around-statements] +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:11: warning: variable 'sy' is not initialized [cppcoreguidelines-init-variables] +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:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:900:13: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:900:16: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables] +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: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: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: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: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:1068:6: warning: function 'CanBePutInSecondaryInventory' has cognitive complexity of 117 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/Inventory.cpp:1068:69: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1068:80: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:11: warning: variable 'sy' is not initialized [cppcoreguidelines-init-variables] +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:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1077:13: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1077:16: warning: variable 'l' is not initialized [cppcoreguidelines-init-variables] +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: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: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:12: warning: variable 'ty' is not initialized [cppcoreguidelines-init-variables] +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:11: warning: variable 'sy' is not initialized [cppcoreguidelines-init-variables] +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:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +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:1274:17: warning: redundant cast to the same type [google-readability-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: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: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: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: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:16: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +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:1387:28: warning: statement should be inside braces [readability-braces-around-statements] +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:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +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: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: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: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: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: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:1489:26: warning: statement should be inside braces [readability-braces-around-statements] +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: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:13: warning: variable 'ty' is not initialized [cppcoreguidelines-init-variables] +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:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +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: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: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:12: warning: variable 'ty' is not initialized [cppcoreguidelines-init-variables] +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: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: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: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:1667:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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:1696:3: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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:53: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1710:111: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1715:48: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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:1896:6: warning: function 'CheckForInventoryReplaceMe' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] +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:17: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +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:10: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1930:11: warning: variable 'ioo' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Inventory.cpp:1932:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Inventory.cpp:1938:10: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Inventory.cpp:1945:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1948:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.cpp:1984:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +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:2008:22: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +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:19: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:2020:17: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/Inventory.cpp:2040:17: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +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:2064:18: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions] +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:2084:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:2202:62: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:16: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +Arx/src/game/Inventory.cpp:2276:35: warning: statement should be inside braces [readability-braces-around-statements] +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: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:16: warning: 'signed char' to 'long' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +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:14: warning: variable 'y' is not initialized [cppcoreguidelines-init-variables] +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: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: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: consider replacing 'long' with 's64' [google-runtime-int] +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: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:239:69: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Inventory.h:239:80: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:100:8: warning: declaration uses identifier '__i0', which is a reserved identifier [bugprone-reserved-identifier] +Arx/src/game/Item.h:100:20: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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/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: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: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' 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:101:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Missile.cpp:131:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Missile.cpp:133:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Missile.cpp:135:37: warning: narrowing conversion from constant value 18446744073709551615 (0xFFFFFFFFFFFFFFFF) of type '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:178:2: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +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:210:16: warning: variable 'ep' is not initialized [cppcoreguidelines-init-variables] +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: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/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:128:13: warning: function 'CheckHit' has cognitive complexity of 65 (threshold 25) [readability-function-cognitive-complexity] +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:152:9: warning: variable 'dmg' is not initialized [cppcoreguidelines-init-variables] +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: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:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:173:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:176:45: warning: statement should be inside braces [readability-braces-around-statements] +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:183:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:191:16: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:195:29: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:285:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:307:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:332:27: warning: statement should be inside braces [readability-braces-around-statements] +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:388:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:398:39: warning: statement should be inside braces [readability-braces-around-statements] +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:420:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:423:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:488:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:492:64: warning: statement should be inside braces [readability-braces-around-statements] +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: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:530:7: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +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:553:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:557:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:576:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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:616:6: warning: function 'ARX_NPC_LaunchPathfind' has cognitive complexity of 68 (threshold 25) [readability-function-cognitive-complexity] +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:624:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:701:14: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +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: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: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: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' 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: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: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: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:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:888:39: warning: statement should be inside braces [readability-braces-around-statements] +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:966:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1010:39: warning: statement should be inside braces [readability-braces-around-statements] +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:55: warning: statement should be inside braces [readability-braces-around-statements] +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: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 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:1062:16: warning: statement should be inside braces [readability-braces-around-statements] +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:1082:15: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:1102:45: warning: redundant cast to the same type [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: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: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: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: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: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 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: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: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:1291:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1294:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +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 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: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:27: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1324:28: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1328:72: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1330:73: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1334:72: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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: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: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:1408:15: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:1498:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:1508:7: warning: undefined behavior, destination object type '__gnu_cxx::__alloc_traits, EERIE_VERTEX>::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 '__gnu_cxx::__alloc_traits, EERIE_VERTEX>::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:1551:56: warning: statement should be inside braces [readability-braces-around-statements] +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:1587:41: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: 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:1666:24: warning: repeated branch 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: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: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: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:1721:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:1731:32: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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:1771:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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: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: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: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: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: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:1915:2: warning: potential uncovered code path; add a default label [hicpp-multiway-paths-covered] +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:1990:6: warning: function 'ARX_NPC_Manage_Fight' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +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:2000:75: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2148:52: warning: statement should be inside braces [readability-braces-around-statements] +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: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:2193:14: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +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: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:2222:6: warning: function 'ARX_NPC_Manage_Anims' has cognitive complexity of 213 (threshold 25) [readability-function-cognitive-complexity] +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: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: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: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: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: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:28: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +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: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:2513:9: warning: statement should be inside braces [readability-braces-around-statements] +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:29: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +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:2622:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2630:10: warning: static member accessed through instance [readability-static-accessed-through-instance] +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: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:2703:15: warning: redundant cast to the same type [google-readability-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' has cognitive complexity of 392 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:2722:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:2754:36: warning: statement should be inside braces [readability-braces-around-statements] +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: 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:2881:14: warning: operator has equivalent nested operands [misc-redundant-expression] +Arx/src/game/NPC.cpp:2910:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:2948:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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 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: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:3197:51: warning: statement should be inside braces [readability-braces-around-statements] +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:23: warning: redundant cast to the same type [google-readability-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:3269:42: warning: redundant cast to the same type [google-readability-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:3372:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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: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:3538:11: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +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: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: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:3593:52: warning: statement should be inside braces [readability-braces-around-statements] +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:3649:47: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:3703:7: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:3725:5: warning: repeated branch 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:3761:46: warning: statement should be inside braces [readability-braces-around-statements] +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:3791:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3811:16: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/NPC.cpp:3816:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:3912:46: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3926:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:3935:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3935:24: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:3943:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:3943:23: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +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: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:3979:61: warning: statement should be inside braces [readability-braces-around-statements] +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 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +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:4053:24: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.cpp:4062:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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 '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:4145:6: warning: function 'ManageIgnition_2' has cognitive complexity of 26 (threshold 25) [readability-function-cognitive-complexity] +Arx/src/game/NPC.cpp:4147:10: warning: statement should be inside braces [readability-braces-around-statements] +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:4175:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:4246:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:4263:20: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:4265:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.cpp:4283:4: warning: do not use 'else' after 'return' [readability-else-after-return] +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, animlayer [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: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: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:119:8: warning: constructor does not initialize these fields: group_number [cppcoreguidelines-pro-type-member-init] +Arx/src/game/NPC.h:119:8: warning: declaration uses identifier '__i0', which is a reserved identifier [bugprone-reserved-identifier] +Arx/src/game/NPC.h:119:26: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/NPC.h:121:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +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 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: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:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/NPC.h:212:42: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:221:64: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:239:32: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +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: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: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' 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' 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: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: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: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:172:8: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +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: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:272:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:308:40: warning: statement should be inside braces [readability-braces-around-statements] +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:365:44: warning: floating point literal has suffix 'F', which is not uppercase [readability-uppercase-literal-suffix] +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: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:439:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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: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: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: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: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: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: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: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: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: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:667:19: warning: redundant cast to the same type [google-readability-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:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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: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: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: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:34: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:948:41: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:952:37: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:956:45: warning: statement should be inside braces [readability-braces-around-statements] +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: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:36: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:982:35: warning: statement should be inside braces [readability-braces-around-statements] +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: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:60: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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: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: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:1379:14: warning: statement should be inside braces [readability-braces-around-statements] +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:42: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:1631:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:1657:10: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:1669:32: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:1703:5: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +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:1713:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +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:1758:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:27: warning: statement should be inside braces [readability-braces-around-statements] +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:15: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +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:27: warning: statement should be inside braces [readability-braces-around-statements] +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 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: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: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: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: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:2028:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:2055:4: warning: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto] +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 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: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: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: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:2289:11: warning: variable 'io' is not initialized [cppcoreguidelines-init-variables] +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:71: warning: statement should be inside braces [readability-braces-around-statements] +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' 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' 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: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:2430:6: warning: function 'PlayerMovementIterate' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name] +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: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:2492:32: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2503:33: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2512:14: warning: redundant cast to the same type [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:2542:36: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2544:33: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2549:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:2655:23: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +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:2675:67: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:2686:6: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Player.cpp:2729:10: warning: variable 'epcentery' is not initialized [cppcoreguidelines-init-variables] +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:25: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/game/Player.cpp:2790:9: warning: variable 'posy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:2792:18: warning: repeated branch 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: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: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:2834:9: warning: variable 'test' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Player.cpp:2914:41: warning: static member accessed through instance [readability-static-accessed-through-instance] +Arx/src/game/Player.cpp:2924:17: warning: redundant cast to the same type [google-readability-casting] +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:3009:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Player.cpp:3011:19: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Player.cpp:3036:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Player.cpp:3037:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:3209:23: warning: statement should be inside braces [readability-braces-around-statements] +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:3374:20: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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.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: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: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: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: 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: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, equiped, 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, heads, 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: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: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:281:8: warning: method 'basePosition' can be made const [readability-make-member-function-const] +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: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: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: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/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: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: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' 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: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: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: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: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: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: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: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: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' 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: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' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/game/Spells.cpp:229:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +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' 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' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +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' 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' 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: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: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:548:45: warning: repeated branch 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: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: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:596:31: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:606:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: 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: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: 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: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: 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: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: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: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: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: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: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:19: warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/game/Spells.cpp:802:19: warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/game/Spells.cpp:1021:23: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:1032:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1057:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:1078:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1091:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1107:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:1116:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +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: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:1146:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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:1222:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:1240:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:30: warning: statement should be inside braces [readability-braces-around-statements] +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: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:15: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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: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: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:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +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: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:1421:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1438:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1452:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1467:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1484:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1496:8: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:1511:8: warning: redundant cast to the same type [google-readability-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: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: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:2028:2: warning: constructor does not initialize these fields: next [cppcoreguidelines-pro-type-member-init] +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' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +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: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: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:2161:31: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2175:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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' has cognitive complexity of 76 (threshold 25) [readability-function-cognitive-complexity] +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:2232:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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: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: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: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: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: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:2684:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/Spells.cpp:2692:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:2705:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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: 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:24: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +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: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' 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:2898:50: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: 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: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:3027:11: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:3039:28: warning: variable 'tc4' 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: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: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: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: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: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3332:20: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:3360:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:3442:42: warning: converting integer literal to bool, use bool literal instead [modernize-use-bool-literals] +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:3552:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:3588:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:3651:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: consider replacing 'long' with 's64' [google-runtime-int] +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: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:3915:10: warning: variable 'angleb' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:3943:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:4037:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:4077:19: warning: narrowing conversion from 'unsigned long' to signed type 'long' 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: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: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:4165:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4201:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4222:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:4289:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4328:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4328:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:4354:10: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:4396:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:4443:4: warning: consider replacing 'unsigned long' with 'u64' [google-runtime-int] +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:4497:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:4564:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:4627:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4656:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4673:10: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:4689:7: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +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:4722:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:4740:10: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:4756:7: warning: narrowing conversion from 'float' to 'bool' [bugprone-narrowing-conversions] +Arx/src/game/Spells.cpp:4796:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:4863:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:4902:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:4993:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5016:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5032:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:5095:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:5140:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: consider replacing 'long' with 's64' [google-runtime-int] +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: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:5279:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5279:26: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5284:10: warning: variable 'beta' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:5296:24: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5321:4: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: 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: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:5449:28: warning: variable 'tc4' 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: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: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:5606:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5628:5: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:5655:3: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5659:21: warning: redundant cast to the same type [google-readability-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:20: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5679:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:5683:20: warning: redundant cast to the same type [google-readability-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:76: warning: redundant cast to the same type [google-readability-casting] +Arx/src/game/Spells.cpp:5713:119: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:5846:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5856:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5865:39: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5879:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:5904:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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:6011:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/game/Spells.cpp:6021:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6033:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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:6138:13: warning: variable 'dist' is not initialized [cppcoreguidelines-init-variables] +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: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: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:6232:35: warning: redundant cast to the same type [google-readability-casting] +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:6300:52: warning: redundant cast to the same type [google-readability-casting] +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:39: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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: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:6476:32: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:6585:10: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6586:44: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/game/Spells.cpp:6614:9: warning: different indentation for 'if' and corresponding 'else' [readability-misleading-indentation] +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: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: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:6729:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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:15: warning: variable 'r2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/game/Spells.cpp:6848:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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 in conditional chain [bugprone-branch-clone] +Arx/src/game/Spells.cpp:6972:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.cpp:6973:43: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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: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: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: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:23: warning: redundant cast to the same type [google-readability-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:7178:37: warning: statement should be inside braces [readability-braces-around-statements] +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: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:7245:36: warning: redundant cast to the same type [google-readability-casting] +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:7344:36: warning: redundant cast to the same type [google-readability-casting] +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:7405:27: warning: narrowing conversion from 'long' to 'float' [bugprone-narrowing-conversions] +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: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: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:7509:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:7669:10: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversions] +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: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: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: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: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: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: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: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:266:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/game/Spells.h:277:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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/Color.h:32:8: warning: accessing fields in struct 'ColorLimits' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 0 bytes [altera-struct-pack-align] +Arx/src/graphics/Color.h:36:8: warning: accessing fields in struct 'ColorLimits' is inefficient due to poor alignment; currently aligned to 1 bytes, but recommended alignment is 0 bytes [altera-struct-pack-align] +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:73:18: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp] +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: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: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: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: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: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: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: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: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:167:18: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp] +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:190:20: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +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/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: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: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:34: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:66:43: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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:100:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:102:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:104:63: warning: statement should be inside braces [readability-braces-around-statements] +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:190:6: warning: function 'TryToQuadify' has cognitive complexity of 48 (threshold 25) [readability-function-cognitive-complexity] +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:11: warning: variable 'cz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:194:19: warning: variable 'eg' is not initialized [cppcoreguidelines-init-variables] +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:10: warning: variable 'dz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:200:13: warning: variable 'fx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:200:16: warning: variable 'fz' is not initialized [cppcoreguidelines-init-variables] +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: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: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:225:20: warning: redundant cast to the same type [google-readability-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 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: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:266:33: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:268:8: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:271:23: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/Draw.cpp:273:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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:45: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:381:11: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/Draw.cpp:383:26: warning: redundant cast to the same type [google-readability-casting] +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:430:16: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +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: do not manage memory manually; consider std::vector or std::string [cppcoreguidelines-no-malloc] +Arx/src/graphics/Draw.cpp:465:21: warning: redundant cast to the same type [google-readability-casting] +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: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: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: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:519:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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: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:541:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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:559:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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:577:11: warning: statement should be inside braces [readability-braces-around-statements] +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: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:632:9: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Draw.cpp:642:15: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:670:6: warning: statement should be inside braces [readability-braces-around-statements] +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:688:14: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/Draw.cpp:716:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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: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: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: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:804:45: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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: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: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.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: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/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:40:9: warning: 'operator Color3' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +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:9: warning: 'operator Vector3' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +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:9: warning: 'operator Angle' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +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:9: warning: 'operator TexturedVertex' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +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: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:84:25: warning: statement should be inside braces [readability-braces-around-statements] +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:140:21: warning: redundant cast to the same type [google-readability-casting] +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: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: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, uslInd [cppcoreguidelines-pro-type-member-init] +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: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, vid, u, v, transval, temp, ou, ov [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/GraphicsTypes.h:185:8: warning: declaration uses identifier '__i0', which is a reserved identifier [bugprone-reserved-identifier] +Arx/src/graphics/GraphicsTypes.h:185:18: warning: statement should be inside braces [readability-braces-around-statements] +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:198:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:199:2: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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: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: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:312:14: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:321:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/GraphicsTypes.h:322:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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 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:434:3: warning: 'grouplist' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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:437:3: warning: 'linked' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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:452:3: warning: 'pdata' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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:454:3: warning: 'cdata' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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:476:3: warning: 'c_data' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +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: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: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:625:8: warning: constructor does not initialize these fields: uv, color [cppcoreguidelines-pro-type-member-init] +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:59:22: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/GraphicsUtility.cpp:79:41: warning: statement should be inside braces [readability-braces-around-statements] +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/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: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: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: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: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:12: warning: variable 'i1' is not initialized [cppcoreguidelines-init-variables] +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:202:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +Arx/src/graphics/Math.cpp:203:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +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: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: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: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:238:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +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:22: warning: variable 'd1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:239:26: warning: variable 'd2' is not initialized [cppcoreguidelines-init-variables] +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: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:12: warning: variable 'cc' is not initialized [cppcoreguidelines-init-variables] +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:11: warning: variable 'b' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:248:14: warning: variable 'c' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:248:17: warning: variable 'x0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:248:21: warning: variable 'x1' is not initialized [cppcoreguidelines-init-variables] +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:11: warning: variable 'e' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:249:14: warning: variable 'f' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:249:17: warning: variable 'y0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:249:21: warning: variable 'y1' is not initialized [cppcoreguidelines-init-variables] +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:12: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +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:254:16: warning: variable 'V1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:255:16: warning: variable 'V2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:256:16: warning: variable 'U0' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:257:16: warning: variable 'U1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:258:16: warning: variable 'U2' is not initialized [cppcoreguidelines-init-variables] +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 in conditional chain [bugprone-branch-clone] +Arx/src/graphics/Math.cpp:330:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/graphics/Math.cpp:347:53: warning: statement should be inside braces [readability-braces-around-statements] +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:396:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +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: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: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: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: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: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: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:467:19: warning: statement should be inside braces [readability-braces-around-statements] +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:482:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +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:502:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/graphics/Math.cpp:566:2: warning: uninitialized record type: 'rev_quat' [cppcoreguidelines-pro-type-member-init] +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: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: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:11: warning: variable 'B' is not initialized [cppcoreguidelines-init-variables] +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:12: warning: variable 'wy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:16: warning: variable 'wz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:20: warning: variable 'xx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:24: warning: variable 'yy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:28: warning: variable 'yz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:32: warning: variable 'xy' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:36: warning: variable 'xz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:40: warning: variable 'zz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:44: warning: variable 'x2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:48: warning: variable 'y2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:666:52: warning: variable 'z2' is not initialized [cppcoreguidelines-init-variables] +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: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:13: warning: variable 's' is not initialized [cppcoreguidelines-init-variables] +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: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: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: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: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: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: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: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: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:12: warning: variable 'Ay' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:816:16: warning: variable 'Az' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:816:20: warning: variable 'Bx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:816:24: warning: variable 'By' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:816:28: warning: variable 'Bz' is not initialized [cppcoreguidelines-init-variables] +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:12: warning: variable 'Ay' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:832:16: warning: variable 'Az' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:832:20: warning: variable 'Bx' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:832:24: warning: variable 'By' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:832:28: warning: variable 'Bz' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:850:8: warning: variable 't' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/Math.cpp:851:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] +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: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: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.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: 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:80:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +Arx/src/graphics/Math.h:81:39: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses] +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:200:8: warning: variable 'tempy' is not initialized [cppcoreguidelines-init-variables] +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: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: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: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: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:302:10: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr] +Arx/src/graphics/Math.h:308:8: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:61:2: warning: uninitialized record type: 'mat' [cppcoreguidelines-pro-type-member-init] +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: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: 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: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:66:2: warning: constructor does not initialize these fields: rhw, color, specular [cppcoreguidelines-pro-type-member-init] +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:79:8: warning: declaration uses identifier '__i0', which is a reserved identifier [bugprone-reserved-identifier] +Arx/src/graphics/Vertex.h:79:19: warning: statement should be inside braces [readability-braces-around-statements] +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: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:48:80: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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: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/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: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: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: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: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:184:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +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: 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: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: 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:230:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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:12: warning: variable 'i1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:245:16: warning: variable 'i2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:245:20: warning: variable 'i3' is not initialized [cppcoreguidelines-init-variables] +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:12: warning: variable 'i1' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:270:16: warning: variable 'i2' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/CinematicTexture.cpp:270:20: warning: variable 'i3' is not initialized [cppcoreguidelines-init-variables] +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:19: warning: variable 'h' is not initialized [cppcoreguidelines-init-variables] +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:293:10: warning: statement should be inside braces [readability-braces-around-statements] +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:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +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: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: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: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:10: warning: variable 'h' is not initialized [cppcoreguidelines-init-variables] +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:41: warning: redundant cast to the same type [google-readability-casting] +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: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 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: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: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: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: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: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: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:201:9: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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: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: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: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: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: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: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: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: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:311:23: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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' 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:412:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:448:9: warning: variable 'allocsize' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/FTL.cpp:484:35: warning: variable 'afsh' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/FTL.cpp:496:33: warning: variable 'af3Ddh' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/FTL.cpp:532:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:586:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/FTL.cpp:599:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:637:49: warning: variable 'afcsdh' is not initialized [cppcoreguidelines-init-variables] +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: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/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: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: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: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: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: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:161:9: warning: 'operator EERIE_ACTIONLIST' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +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: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: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: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: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: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:9: warning: 'operator EERIE_VERTEX' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +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:9: warning: 'operator CLOTHESVERTEX' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] +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: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: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: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: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: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: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: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/Mesh.cpp:97:12: warning: using decl 'vector' is unused [misc-unused-using-decls] +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: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:37: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:113:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:121:56: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:129:56: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:143:10: warning: slicing object from type 'Color4' to 'Color3' discards 4 bytes of state [cppcoreguidelines-slicing] +Arx/src/graphics/data/Mesh.cpp:166:2: warning: uninitialized record type: 'mat' [cppcoreguidelines-pro-type-member-init] +Arx/src/graphics/data/Mesh.cpp:233:41: warning: statement should be inside braces [readability-braces-around-statements] +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: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:283:49: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:291:12: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +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: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:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +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: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:12: warning: variable 'rz' is not initialized [cppcoreguidelines-init-variables] +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:327:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +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: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: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:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:384:12: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:386:30: warning: statement should be inside braces [readability-braces-around-statements] +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: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:11: warning: variable 'pz' is not initialized [cppcoreguidelines-init-variables] +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: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:12: warning: variable 'rz' is not initialized [cppcoreguidelines-init-variables] +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:439:18: warning: variable 'feg' is not initialized [cppcoreguidelines-init-variables] +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: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: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:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:495:12: warning: variable 'k' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:497:30: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:527:12: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:538:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:538:12: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:543:2: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:543:12: warning: narrowing conversion from 'float' to 'long' [bugprone-narrowing-conversions] +Arx/src/graphics/data/Mesh.cpp:559:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:569:8: warning: call to 'fabs' promotes float to double [performance-type-promotion-in-math-fn] +Arx/src/graphics/data/Mesh.cpp:591:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:607:17: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:623:7: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:658:6: warning: consider replacing 'long' with 's64' [google-runtime-int] +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:690:6: warning: consider replacing 'short' with 's16' [google-runtime-int] +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: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:744:23: warning: statement should be inside braces [readability-braces-around-statements] +Arx/src/graphics/data/Mesh.cpp:764:8: warning: variable 'fZTemp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:789:8: warning: variable 'fZTemp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:832:25: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:851:25: warning: redundant cast to the same type [google-readability-casting] +Arx/src/graphics/data/Mesh.cpp:873:8: warning: variable 'fZTemp' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:896:8: warning: variable 'fZTemp' is not initialized [cppcoreguidelines-init-variables] +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: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:12: warning: variable 'dc' is not initialized [cppcoreguidelines-init-variables] +Arx/src/graphics/data/Mesh.cpp:968:8: warning: variable 'p' is not initialized [cppcoreguidelines-init-variables] +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: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:1019:8: warning: variable 'needy' is not initialized [cppcoreguidelines-init-variables] +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: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: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:1071:1: warning: consider replacing 'long' with 's64' [google-runtime-int] +Arx/src/graphics/data/Mesh.cpp:1071:32: warning: consider replacing 'long' with 's64' [google-runtime-int] +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: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:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +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: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:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +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: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:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +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: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:9: warning: variable 'j' is not initialized [cppcoreguidelines-init-variables] +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:1182:66: warning: statement should be inside braces [readability-braces-around-statements] +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: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: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:80: warning: consider replacing 'long' with 's64' [google-runtime-int] +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