Commit graph

118 commits

Author SHA1 Message Date
48d5d54b77 Fractional GUI scale (0.5 step), fit menu to window, fix settings pages
- display.gui-scale is now a number: 0 (auto) or 0.5..4 in 0.5 steps
- explicit scale is no longer limited by window size (tiled windows);
  only an open menu page is shrunk to fit the window
- snap Batch2D vertices to pixels on fractional scale (fixes dots above text)
- pass app to settings_common via options (not visible inside modules)
- gui.get_scale() returns a number
2026-10-03 15:28:03 +02:00
33e132a231 Share settings page helpers, add GUI cursor/scale API
- move create_trackbar_setting/update_trackbar_label/create_checkbox from
  settings_audio/display/graphics pages to core:settings_common module
- GUI scale trackbar shows the really applied scale, e.g. '3 (effective 2)'
- add gui.get_scale(), gui.get_max_scale(), gui.get_cursor_pos() (UI units);
  document that input.get_mouse_pos() returns window pixels
- InventoryView default color is defined once (InventoryView::DEFAULT_COLOR)
  instead of duplicated literals; 'color' attribute still overrides it
2026-10-03 13:12:30 +00:00
851c1a0e27 Limit GUI scale by window size, fix tooltip dash glyph
Manual GUI scale is now limited so that UI is never smaller than
640x480 units (as in other games), otherwise menus did not fit the
window at scale 3-4 in small windows. The unsupported en dash in the
setting tooltip is replaced with a hyphen.
2026-10-03 13:06:07 +00:00
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
cbe2a27e34 update en_US.txt, ru_RU.txt 2026-09-26 19:21:00 +03:00
MihailRis
362acd0436 update texts 2026-05-24 16:12:07 +03:00
MihailRis
c7508d6270 Merge branch 'main' into volume-renderer 2026-02-13 02:07:20 +03:00
MihailRis
2aa9042fa4
Merge pull request #784 from MihailRis/acoustics
acoustics
2026-02-13 02:05:35 +03:00
MihailRis
c32029d5b3 update ru_RU.txt 2026-02-12 22:13:17 +03:00
MihailRis
92eeee5a20 update res/texts/* 2026-02-12 21:52:05 +03:00
MihailRis
fcbbf4814a fix advanced render setting tooltip 2026-02-11 14:21:49 +03:00
rekvizitt
b491d9330f
Update be_BY.txt (#697)
* small fix

* Update be_BY.txt
2025-11-23 18:03:31 +03:00
MihailRis
8cfff09c0b add 'none' input device 2025-11-21 21:43:29 +03:00
MihailRis
fb25f52c67
Merge pull request #649 from MihailRis/generated-pcm-stream
Generated PCM stream (part 1)
2025-11-10 19:12:48 +03:00
MihailRis
1a0535c8af add 'graphics.soft-lighting' to settings menu 2025-11-10 18:40:50 +03:00
MihailRis
41e2b015d7 update audio settings page 2025-11-04 22:06:06 +03:00
MihailRis
fe8e4ba7b4 add internal/audio_input module 2025-10-31 23:30:29 +03:00
MihailRis
209479be46
Merge pull request #634 from MihailRis/display-mode-setting-selectbox
Display mode setting selectbox
2025-10-01 00:36:44 +03:00
MihailRis
070424077a add window type selection to settings menu 2025-10-01 00:06:07 +03:00
GHOST11111100
240abb939f
Links (#615)
* add URL support to Label element and XML parsing

* refactor Label URL handling to use getter method in setURL

* implement URL opening confirmation dialog and platform-specific URL handling

* fix: fixed build errors

* remove: delete test link label from worlds.xml

* refactor: remove URL handling from Label class and XML parsing

* refactor: clean up Label class by removing unnecessary whitespace and improving code readability

* refactor: remove unused URL member from Label class

* refactor: remove unused URL attribute from XML UI documentation and related code

* refactor: improve code readability by adding whitespace and formatting adjustments in Label class

* refactor: improve whitespace consistency in Label class and add URL opening functionality in libcore
2025-09-26 21:39:12 +03:00
MihailRis
94989ce292
Merge pull request #595 from kotisoff/main
Проверка версий зависимостей
2025-09-14 12:42:28 +03:00
KotIsOff
5994371145 Проверка версий зависимостей
Добавил проверку версий установленных зависимостей паков.
2025-08-23 01:33:06 +03:00
Xertis
1f0b6f0d9d Qol settings.controls update 2025-08-04 20:50:27 +03:00
MihailRis
6927a87973 Merge branch 'main' into update-gfx-pipeline 2025-06-02 21:42:56 +03:00
rekvizitt
0a413ccc23
Update be_BY.txt 2025-05-21 09:41:31 +03:00
MihailRis
b272d86619 add 'grahics.advanced-render' and 'graphics.shadows-quality' settings 2025-05-11 01:09:41 +03:00
MihailRis
3498af6be9 cleanup 2025-04-21 21:53:27 +03:00
Zohidjon Ma'rufov
41237df4b3
[uz_UZ] Added translations for new terms, updated existing ones, and tested changes (#492)
* Update Uzbek translations.
- Update Uzbek translations to keep them up to date

* Fixed issues found during testing.

* Fix typo
2025-03-25 10:34:36 +03:00
MihailRis
bcbfdd50c7 feat: running files with and block/item script reload 2025-03-13 22:08:22 +03:00
MihailRis
3d60777a12 feat: save edited files 2025-03-12 17:08:50 +03:00
rekvizitt
41391176e7 Complete Belarusian translation for be_BY.txt 2025-01-30 11:03:32 +03:00
MihailRis
d7ad7ff460 add Chat hotkey 2025-01-11 22:58:41 +03:00
MihailRis
48aad8d974 add 'Scripts' menu page 2025-01-05 22:45:43 +03:00
Zohidjon
d25452784d Small fixes in translation. 2025-01-04 09:46:57 +05:00
Ihor Savenko
1e7b6b438a add missing uk_UA locals 2025-01-01 16:43:34 +00:00
DomaJa
228a87cf86
Update fi_FI.txt
Line 76
Settings.Framerate
2025-01-01 16:03:22 +02:00
MihailRis
dc8f5e7873 add 'graphics.dense-render' setting 2024-12-21 08:13:05 +03:00
Zohidjon
d8266ec516 Added the translation of missing terms and updated the old ones. 2024-12-01 19:26:13 +05:00
DomaJa
fdee9d5c1a
Finnish Lang Update 2 2024-11-29 13:05:47 +02:00
LumperBumper
58d2637e9d
worlds menu added 2024-11-19 19:16:32 +05:00
MihailRis
29d8c4bbb8 add Lua traceback inspector (WIP) && add chat prototype 2024-11-19 07:32:03 +03:00
Xertis
fbacb9fe18 adding new lang bindings 2024-11-07 22:17:01 +03:00
MihailRis
d27179b6c3 update std rules & add player.destroy binding 2024-11-06 21:28:12 +03:00
MihailRis
aaa2115cd6 add 'display.limit-fps-iconified' setting 2024-11-04 20:16:23 +03:00
ChancellorIkseew
240b406332 add binding for old key X 2024-11-03 07:24:51 +10:00
ChancellorIkseew
d46afee063 add settings reset 2024-10-31 01:08:01 +10:00
MihailRis
44cfc8ab75 add 'Open content folder' button 2024-10-28 20:13:49 +03:00
MihailRis
8dac3ffdac add 'Open data folder' button 2024-10-28 10:36:08 +03:00
Sergwest585
791bc71a37 add search panel in controls-setting page, that search by name and keyname 2024-10-20 01:24:28 +03:00
MihailRis
de00414456 add generator 'caption' property 2024-10-13 22:53:12 +03:00