jerrrrycho
2b74c6dba7
refactor(sonar): clean up issues reported on PR 209
...
- remove locals left unused after the dead-store cleanup (cpp:S1481, cpp:S1854)
- unnamed unused parameter (cpp:S1172)
- single-use declarations moved into if init-statements (cpp:S6004)
- auto for casted initialisers (cpp:S5827)
- const references and pointers where nothing is modified (cpp:S5350)
- rename structured bindings shadowed by inner declarations (cpp:S1117)
2026-10-11 01:41:01 +02:00
jerrrrycho
a322472632
refactor(sonar): use std::array for local fixed-size arrays (cpp:S5945)
...
Arrays that are class members or part of headers are left unchanged.
2026-10-10 20:44:55 +02:00
jerrrrycho
4532d5e037
refactor(sonar): take read-only pointer and reference parameters as const (cpp:S995)
...
TTrain command handlers keep their signature, it is fixed by the handler table.
2026-10-10 20:44:51 +02:00
jerrrrycho
8042953b95
refactor(sonar): declare non-mutating member functions const (cpp:S5817)
...
Virtual functions are left untouched so overrides keep matching.
2026-10-10 20:44:37 +02:00
jerrrrycho
ad32f1f840
refactor(sonar): make narrowing conversions explicit (cpp:S5276)
2026-10-10 20:44:35 +02:00
jerrrrycho
baafdcc1cc
refactor(sonar): use =default for trivial special members (cpp:S3490)
2026-10-10 20:44:32 +02:00
jerrrrycho
c4738dbc87
refactor(sonar): remove empty statements, one declaration per statement (cpp:S1116, cpp:S1659)
2026-10-10 20:44:31 +02:00
8df81eb46d
Improve skybox
2026-09-14 21:11:08 +02:00
jerrrrycho
d85096f64d
reformat: remove redundant parentheses
2026-06-30 21:19:46 +02:00
Sebastian Krzyszkowiak
40c21bd4ba
skydome: Adjust for external tonemapping
...
Skydome was applying its own tonemapping to look good. Get rid of it and
adjust color corrections to look good with a HDR pipeline.
2026-06-30 05:47:57 +02:00
Sebastian Krzyszkowiak
b46c8c76f3
skydome: Limit desaturation at the top
...
Prevents a gray circle from forming at the dome's summit.
2026-06-29 23:53:36 +02:00
docentYT
ca699d117f
Remove not needed includes
2026-05-02 14:40:31 +02:00
docentYT
3628eb0fc3
Replace interpolate with std::lerp and glm::mix
2026-05-02 01:31:38 +02:00
docentYT
d1f16411a1
Replace clamp with std::clamp
2026-05-01 22:14:29 +02:00
docentYT
19d79a54e0
use glm instead of Math3D in skydome
2026-04-26 22:42:42 +02:00
copilot-swe-agent[bot]
7e49aa8740
Rewrite #includes to use explicit subdirectory paths
...
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com >
2026-03-14 19:16:48 +00:00
copilot-swe-agent[bot]
0531086bb9
Reorganize source files into logical subdirectories
...
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com >
2026-03-14 19:01:57 +00:00