Commit graph

44 commits

Author SHA1 Message Date
alexei-zebra
ab7f542d61
Add display settings for the wayland window frame
The frame the native wayland backend draws gets three switches in the
display tab: a narrow 24px bar instead of the 48px one, the shadow with
the outer resize area, and redrawing the content while the window is
resized (off keeps the previous behaviour of stretching the last frame).

The settings are applied at runtime: the bar geometry is rebuilt and the
surface is resized together with the toplevel geometry, no restart needed.
The narrow bar drops the insets and the gap of its controls, so that they
sit flush against the window edge.

The switches are hidden outside of the wayland backend, which reports its
name through Window::getBackendName().
2026-10-10 12:23:42 +03:00
MihailRis
e467c85adc add 'enable-fog' setting 2026-09-26 19:13:08 +03:00
MihailRis
a99c6aa8e0 fix audio input device settings 2026-07-20 21:15:59 +03:00
MihailRis
eb453d8170 add audio.recording-enabled setting 2026-05-24 14:15:31 +03:00
MihailRis
24a2c35f41 add direct-scripting-data-access setting 2026-05-24 13:24:58 +03:00
MihailRis
31cb9ebd23 add 'system.preserve-assets-during-frame' setting 2026-03-01 21:11:58 +03:00
MihailRis
c7508d6270 Merge branch 'main' into volume-renderer 2026-02-13 02:07:20 +03:00
MihailRis
d6bd5bd8fa add 'audio.acoustic-effects' setting 2026-02-12 21:48:09 +03:00
MihailRis
1194379f99 add 'graphics.clouds-quality' setting 2026-02-12 18:34:32 +03:00
MihailRis
ed2f0cac77 add 'graphics.particles-batch-vertices' setting 2026-02-02 23:05:44 +03:00
MihailRis
63024133be add 'system.max-bg-asset-loaders' setting 2026-01-28 20:06:00 +03:00
MihailRis
58dee92c26 change 'graphics.ssao' from flag to number 2025-12-19 18:55:55 +03:00
MihailRis
0f0e00cdde add 'audio.input-device' setting 2025-11-21 22:32:19 +03:00
MihailRis
0a45277f96 add 'graphics.soft-lighting' setting 2025-11-10 18:28:24 +03:00
MihailRis
630e75c7d9 make adaptive menu fps optional ('display.adaptive-menu-fps' flag) 2025-11-10 00:25:38 +03:00
ChancellorIkseew
b30b19e836
Add borderless window mode (from tasks) (#630) 2025-09-30 23:53:15 +03:00
MihailRis
88641e032a test mobs 2025-09-01 01:39:31 +03:00
MihailRis
a621b179d3 add 'do-trace-shaders' setting and fix shaders recompiling 2025-08-31 18:14:05 +03:00
MihailRis
ca1b761c8c Merge branch 'dev' into pathfinding 2025-08-19 19:47:10 +03:00
MihailRis
79bb61bbbe add 'debug.enable-experimental' setting & add experimental vec3, vec2 optimization 2025-08-19 01:33:20 +03:00
MihailRis
a78931205f feat: async pathfinding 2025-08-03 01:41:18 +03:00
MihailRis
705e398bc3 improve u_gamma support & update default dense-render-distance value 2025-07-25 21:21:18 +03:00
MihailRis
6d88b7c3d1 add dense-render-distance setting 2025-07-25 12:45:28 +03:00
MihailRis
b04dbd5809 add 'graphics.ssao' setting 2025-07-12 21:36:27 +03:00
MihailRis
ad0396b31e improve shadow map stability 2025-05-11 20:55:35 +03:00
MihailRis
b272d86619 add 'grahics.advanced-render' and 'graphics.shadows-quality' settings 2025-05-11 01:09:41 +03:00
MihailRis
096092303f add 'graphics.chunk-max-vertices-dense' setting 2024-12-23 14:07:59 +03:00
MihailRis
dc8f5e7873 add 'graphics.dense-render' setting 2024-12-21 08:13:05 +03:00
MihailRis
46dfdac998 add Network.httpGet (WIP) 2024-11-11 03:50:00 +03:00
MihailRis
aaa2115cd6 add 'display.limit-fps-iconified' setting 2024-11-04 20:16:23 +03:00
MihailRis
bc24151a63 update default chunks rendering settings values 2024-10-14 09:15:32 +03:00
MihailRis
e750d90ff4 add 'graphics.chunk-max-vertices', 'graphics.chunk-max-renderers' settings 2024-10-01 23:25: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
8f9c7eb7ff data/ 2024-08-05 23:59:42 +03:00
InfiniteCoder
5d791b3cec Merge remote-tracking branch 'origin/main' 2024-08-05 21:24:27 +03:00
MihailRis
bbfbb28349 set default fog curve to 1.0 2024-08-05 15:21:02 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
MihailRis
c0ba5be458 add framerate control 2024-07-28 22:31:27 +03:00
MihailRis
a856b4f140 add framerate control (WIP) 2024-07-25 22:33:21 +03:00
MihailRis
7c6d620560 add setting camera.inertia & add display settings menu page 2024-07-15 14:23:31 +03:00
MihailRis
74042b5c2a player.get_selected_block 2024-05-31 08:33:37 +03:00
MihailRis
1750599165 max load-distance increased 2024-05-17 22:30:10 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
Renamed from src/settings.h (Browse further)