Skip to content

Heretic: add true color support (#1111) #534

Heretic: add true color support (#1111)

Heretic: add true color support (#1111) #534

Triggered via push November 29, 2023 08:47
Status Success
Total duration 2m 18s
Artifacts

cpp-linter.yml

on: push
Matrix: cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 10 notices
/src/heretic/am_map.c:37:9 [modernize-macro-to-enum]: src/heretic/am_map.c#L37
macro 'NUMSHADES' defines an integral constant; prefer an enum instead
/src/heretic/am_map.c:38:16 [cppcoreguidelines-avoid-non-const-global-variables]: src/heretic/am_map.c#L38
variable 'color_shades' is non-const and globally accessible, consider making it const
/src/heretic/am_map.c:106:17 [cppcoreguidelines-avoid-non-const-global-variables]: src/heretic/am_map.c#L106
variable 'fb' is non-const and globally accessible, consider making it const
/src/heretic/am_map.c:106:17 [cppcoreguidelines-avoid-non-const-global-variables]: src/heretic/am_map.c#L106
variable 'fb' provides global access to a non-const object; consider making the pointed-to data 'const'
/src/heretic/am_map.c:106:17 [readability-identifier-length]: src/heretic/am_map.c#L106
variable name 'fb' is too short, expected at least 3 characters
/src/heretic/am_map.c:159:13 [cppcoreguidelines-avoid-non-const-global-variables]: src/heretic/am_map.c#L159
variable 'antialias_normal' is non-const and globally accessible, consider making it const
/src/heretic/am_map.c:164:13 [cppcoreguidelines-avoid-non-const-global-variables]: src/heretic/am_map.c#L164
variable 'antialias_overlay' is non-const and globally accessible, consider making it const
/src/heretic/am_map.c:168:15 [cppcoreguidelines-avoid-non-const-global-variables]: src/heretic/am_map.c#L168
variable 'antialias' is non-const and globally accessible, consider making it const
/src/heretic/am_map.c:168:15 [cppcoreguidelines-avoid-non-const-global-variables]: src/heretic/am_map.c#L168
variable 'antialias' provides global access to a non-const object; consider making the pointed-to data 'const'
/src/heretic/am_map.c:199:21 [readability-identifier-length]: src/heretic/am_map.c#L199
parameter name 'X0' is too short, expected at least 3 characters
Run clang-format on src/heretic/am_map.c: src/heretic/am_map.c#L1
File src/heretic/am_map.c does not conform to Custom style guidelines. (lines 159, 160, 164, 165, 199, 587, 589, 594, 1275, 1279, 1283, 1301, 1362, 1406)
Run clang-format on src/heretic/d_main.c: src/heretic/d_main.c#L1
File src/heretic/d_main.c does not conform to Custom style guidelines. (lines 878)
Run clang-format on src/heretic/r_data.c: src/heretic/r_data.c#L1
File src/heretic/r_data.c does not conform to Custom style guidelines. (lines 532, 533, 534, 535, 536, 538, 539, 540, 541, 542, 544, 546, 547, 548, 549, 551, 552, 553, 554, 555, 557, 558, 559, 560, 561, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 577, 578, 579, 580, 582, 583, 584, 585, 586, 587, 589, 590, 631, 632, 633)
Run clang-format on src/heretic/r_draw.c: src/heretic/r_draw.c#L1
File src/heretic/r_draw.c does not conform to Custom style guidelines. (lines 235, 314)
Run clang-format on src/heretic/r_local.h: src/heretic/r_local.h#L1
File src/heretic/r_local.h does not conform to Custom style guidelines. (lines 193)
Run clang-format on src/heretic/r_plane.c: src/heretic/r_plane.c#L1
File src/heretic/r_plane.c does not conform to Custom style guidelines. (lines 534)
Run clang-format on src/heretic/r_things.c: src/heretic/r_things.c#L1
File src/heretic/r_things.c does not conform to Custom style guidelines. (lines 674)
Run clang-format on src/i_video.c: src/i_video.c#L1
File src/i_video.c does not conform to Custom style guidelines. (lines 2056, 2057, 2058, 2059, 2060)
Run clang-format on src/i_video.h: src/i_video.h#L1
File src/i_video.h does not conform to Custom style guidelines. (lines 69)
Run clang-format on src/v_trans.h: src/v_trans.h#L1
File src/v_trans.h does not conform to Custom style guidelines. (lines 66)