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
Neveix
3b3bf8e878
Inventory enhancements #897 : 2, 5, 9, 11, 12 ( #931 )
...
* implement a bit
* change shift to ctrl
* add enhancement #2
* add ctrl-interaction with content access
* fix libinventory.move bug (none checking)
* fix p.5
* move shareinv logic into inventory_utils
* add inventory utils
* small refactor
* fix iframe.src = ""
---------
Co-authored-by: MihailRis <mexaruc@gmail.com>
2026-08-14 21:25:42 +03:00
neveix
953a920e00
add middleclick item dropping/duping
2026-08-14 01:14:54 +05:00
neveix
c2f7f33bbf
revert creation of clickOutside
2026-08-14 00:59:55 +05:00
neveix
7c97966377
switch to inventory drop area
2026-08-14 00:43:40 +05:00
MihailRis
089bcbbb64
fix document events & breaking: document events removed from 'events' library temporary
2026-06-03 21:50:36 +03:00
Xertis
e049f4ae0c
Merge branch 'MihailRis:main' into main
2026-03-16 00:54:38 +03:00
MihailRis
dbc7cd56bd
feat: solid entity material support & minor refactor
2026-03-05 20:52:45 +03: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
8468ab184d
add gui.get_active_frame, set_active_frame & update cursor lock behavior
2026-02-06 14:16:30 +03:00
MihailRis
b8bf249d1b
Merge branch 'main' into volume-renderer
2025-12-28 20:05:13 +03:00
clasher113
dba10805f8
fix: inventory interaction on "disablePlayerInventory = true"
2025-12-28 18:01:02 +02:00
clasher113
a1549983f8
Revert "fix: inventory interaction on "disablePlayerInventory = true""
...
This reverts commit a58ec5a29c .
2025-12-28 17:58:12 +02:00
clasher113
a58ec5a29c
fix: inventory interaction on "disablePlayerInventory = true"
2025-12-28 17:08:06 +02:00
MihailRis
163a0a8c93
rename ImageFormat enum items
2025-12-21 19:05:14 +03:00
MihailRis
dfa9656871
add 'slotIndex' ui slot property
2025-12-10 21:58:08 +03:00
MihailRis
7abe552e3c
fix UINode enums naming
2025-11-14 12:33:30 +03:00
MihailRis
371aaaa9f5
make exchange slot available as 'hud.exchange-slot'
2025-11-12 12:29:07 +03:00
MihailRis
db05527fcf
add hud.is_open(layoutid) --> bool
2025-11-09 23:11:12 +03:00
clasher113
b72138cd15
fix: locked cursor in menu
2025-09-19 17:22:33 +03:00
MihailRis
dc0e388eec
Merge branch 'dev' into more-about-projects
2025-08-16 13:57:51 +03:00
MihailRis
53ce219127
add 'is_new' argument to on_world_open
2025-08-15 23:48:04 +03:00
MihailRis
303346f5e5
fix: hud.close after hud.show_overlay bug
2025-08-11 23:58:00 +03:00
MihailRis
2783b0af7b
possible hud.open bug fix
2025-08-11 23:53:49 +03:00
MihailRis
15a778299c
limit chunks non-unloading zone to a circle
2025-07-13 15:57:57 +03:00
MihailRis
fc46b7c434
initial commit
2025-05-07 20:42:50 +03:00
clasher113
d888ddec4c
fix: pause menu on hudVisible=false ( #512 )
...
* fix: pause menu on hudVisible=false
2025-04-12 20:30:55 +03:00
MihailRis
881edb7b28
rename keycode, mousecode enumerations
2025-04-02 17:39:31 +03:00
MihailRis
9843a1fc27
remove Viewport class
2025-04-02 17:35:17 +03:00
MihailRis
7262119f5b
refactor GLFWWindow
2025-04-02 15:01:24 +03:00
MihailRis
0b8d56afe1
cleanup
2025-04-02 14:59:53 +03:00
MihailRis
9694a59649
refactor: add Window interface
2025-04-02 14:59:53 +03:00
MihailRis
b3feb5945b
reduce extra includes
2025-04-02 14:55:53 +03:00
MihailRis
bccdeec7b8
fix crosshair visibility
2025-04-02 14:55:53 +03:00
MihailRis
b202d1455b
refactor: replace references to Events with Input
2025-04-02 14:55:53 +03:00
MihailRis
4c48afbb90
refactor: add GUI instance reference to UI nodes
2025-04-02 14:55:53 +03:00
MihailRis
74a94f869c
refactor: reduce Window references
2025-04-02 14:55:53 +03:00
MihailRis
3d22de761f
fix compiler warnings (GCC + Clang)
2025-03-20 22:04:29 +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
c1e9976d95
Merge branch 'main' into update-items
2025-02-11 23:52:06 +03:00
MihailRis
6500f9b6f3
fix textbox text offset & fix invisible alerts
2025-02-11 23:46:13 +03:00
MihailRis
4306573320
refactor
2025-02-06 20:26:06 +03:00
MihailRis
eaa64cbdd1
fix pause menu
2025-01-19 20:32:02 +03:00
MihailRis
2fa71b3bf0
feat: players interpolation & add hud.set_allow_pause(...)
2025-01-17 01:44:46 +03:00
MihailRis
a45487b3c7
move 'key:escape' handler to Lua
2025-01-16 23:11:00 +03:00
MihailRis
5130907192
fix hud
2025-01-12 23:09:41 +03:00
MihailRis
90fc559234
add hud.open inventory events support
2025-01-12 17:36:42 +03:00
MihailRis
80128a4190
add on_inventory_open and on_inventory_closed events
2025-01-12 17:14:01 +03:00