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
zaveshaa
515e27b402
fix typos in comments and log messages
2026-08-29 19:47:01 +03:00
neveix
7c97966377
switch to inventory drop area
2026-08-14 00:43:40 +05:00
Xertis
9ad21460a2
added hud.is_player_inventory_open
2026-02-28 22:34:52 +03:00
Xertis
cb1b113181
added hud.get_second_inventory
2026-02-28 22:23:47 +03:00
MihailRis
2475a7e8f5
cleanup
2026-02-03 14:00:58 +03:00
clasher113
dba10805f8
fix: inventory interaction on "disablePlayerInventory = true"
2025-12-28 18:01:02 +02:00
MihailRis
db05527fcf
add hud.is_open(layoutid) --> bool
2025-11-09 23:11:12 +03:00
MihailRis
9843a1fc27
remove Viewport class
2025-04-02 17:35:17 +03:00
MihailRis
4c48afbb90
refactor: add GUI instance reference to UI nodes
2025-04-02 14:55:53 +03:00
MihailRis
4c9019e03c
small fixes
2025-03-11 00:39:59 +03:00
MihailRis
41a45fc432
rename hud_element_mode to HudElementMode
2025-02-12 00:09:44 +03:00
MihailRis
2fa71b3bf0
feat: players interpolation & add hud.set_allow_pause(...)
2025-01-17 01:44:46 +03:00
MihailRis
b4abecc764
refactor
2024-12-24 11:31:54 +03:00
MihailRis
f49feebd5c
refactor
2024-12-21 09:55:44 +03:00
MihailRis
3d7a9fd225
Merge branch 'main' into headless-mode
2024-12-19 22:57:12 +03:00
MihailRis
2787f2fc54
fix: grabbed item is deleted on inventory close
2024-12-19 22:44:54 +03:00
MihailRis
d745a34657
refactor
2024-12-18 04:13:33 +03:00
MihailRis
1c18c02092
move Chunks from Level to Player
2024-12-17 19:40:00 +03:00
MihailRis
04b6b6b546
minor refactor
2024-12-05 19:18:53 +03:00
MihailRis
3f9701915c
update hud.open(...)
2024-11-28 15:48:44 +03:00
MihailRis
78ea12aa26
add console on_open 'mode' argument
2024-11-19 08:30:50 +03:00
MihailRis
c4170c07c5
refactor
2024-11-14 09:30:41 +03:00
opchik98
8e549fe806
Feature #152 and potential fix #320
...
- Added Lua scripts hud.open, inventory.create and inventory.remove
- Window now resizes even if it is not focused
2024-11-07 18:38:24 +02:00
MihailRis
616c63b115
fix generator minimap checkbox
2024-11-07 05:07:56 +03:00
MihailRis
6602584c13
add more cheating-related rules
2024-11-06 18:54:20 +03:00
MihailRis
2e24d60404
add rules & add 'show-content-access' rule
2024-11-06 17:31:31 +03:00
MihailRis
80e48ae302
add 'Show Generator Minimap' checkbox
2024-11-06 00:34:38 +03:00
MihailRis
75d66b644b
add debug world generator visualization
2024-09-30 15:14:34 +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
5c9bc83bbd
items/ + objects/ + util/
2024-08-04 22:26:08 +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
Pugemon
f25a425cb9
Optimize parameter passing to avoid unnecessary copying
2024-06-07 04:00:38 +03:00
MihailRis
9522aedeec
quick check with linters
2024-05-10 12:34:05 +03:00
MihailRis
92f185ab51
hud.show_overlay fix
2024-05-10 08:57:05 +03:00
MihailRis
1627e21c1d
the final rename
2024-05-06 03:38:19 +03:00
MihailRis
9ea67deb13
'ifnot' template property + hpp
2024-05-06 00:45:43 +03:00