708c276787
Add GUI scale setting and volume contrast setting
...
GUI scale (#737 ):
- add display.gui-scale setting (0 - auto, 1..4 - fixed integer scale)
- auto mode picks the largest scale keeping at least 640x480 UI units
- apply scale in GUI (root size, camera, cursor, tooltips, scissors)
- HUD layout and ModelViewer use scaled coordinates
- add GUI Scale trackbar to display settings
Volume contrast (#399 ):
- add audio.volume-contrast setting (100% - unchanged sounds,
0% - loud sounds are lowered to the level of quiet ones)
- loudness (RMS) of a sound is calculated once and cached
- add trackbar to audio settings and reset page
2026-10-03 12:56:54 +00:00
MihailRis
28b7713648
move some code there and here
2026-05-12 18:41:14 +03:00
MihailRis
32bb30ff83
Merge branch 'model3dview' into update-gfx-pipeline
2025-05-30 21:37:25 +03:00
MihailRis
1366316895
add modelviewer test to code_editor.xml
2025-05-24 20:21:08 +03:00
MihailRis
fc46b7c434
initial commit
2025-05-07 20:42:50 +03:00
MihailRis
9843a1fc27
remove Viewport class
2025-04-02 17:35:17 +03:00
MihailRis
9694a59649
refactor: add Window interface
2025-04-02 14:59:53 +03:00
MihailRis
5ffc054d75
refactor
2024-12-09 01:12:41 +03:00
MihailRis
3ea213e8d3
fix console position
2024-11-17 15:53:25 +03:00
MihailRis
de5c75d782
replace include guards with pragma once
2024-08-10 01:57:59 +03:00
MihailRis
f43cc93cd2
update project includes format
2024-08-10 01:37:48 +03:00
InfiniteCoder
d5dc68dd38
Root includes
2024-08-04 10:24:11 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings"
2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
2c1103307f
fix: optimization: PVS-Studio warning V813
...
Passing large objects by const reference avoids unnecessary copying and enhances efficiency.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
MihailRis
3590bd14cd
update DrawContext
2024-07-21 16:06:40 +03:00
Pugemon
f25a425cb9
Optimize parameter passing to avoid unnecessary copying
2024-06-07 04:00:38 +03:00
MihailRis
165525f18c
includes refactor
2024-05-13 03:20:09 +03:00
MihailRis
1627e21c1d
the final rename
2024-05-06 03:38:19 +03:00
MihailRis
7f8a86b740
minor refactor
2024-05-05 20:08:25 +03:00
MihailRis
bcf2f5029d
GfxContext renamed to DrawContext
2024-04-30 00:31:13 +03:00