1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +00:00
Commit graph

485 commits

Author SHA1 Message Date
y5nw
e5fd709dc5
Merge afceefc985 into 274d8a7c65 2025-09-29 13:34:41 +02:00
SmallJoker
421835a30e Formspec: Fix missing CHG:n fields (regression)
The GUIScrollBar type was changed in commit 39f2727503.
This commit updates a corresponding check in guiFormSpecMenu accordingly.
2025-09-24 18:37:31 +02:00
SmallJoker
9972639e26 Remove guiEditBox 2025-09-20 13:44:40 +02:00
SmallJoker
39f2727503 IrrlichtMt: Add scrollbar support to CGUIEditBox 2025-09-20 13:44:40 +02:00
SmallJoker
d24a7001ab
Formspec: Implement Ctrl+Shift+Left/Right text selection (#16455)
This is a quality-of-life improvement to edit text more easily.
2025-09-04 18:58:46 +02:00
DS
ce8e8f6bf4
GUIInventoryList: Override isPointInside() (#16283) 2025-08-24 19:01:28 +02:00
1F616EMO~nya
f2eb5e7a93
Add back the missing endElement in parseTag for <action> 2025-08-19 17:34:13 +02:00
Lucas OH
93dd22b901
Clean up unused Forward Declarations (#16324) 2025-08-02 10:07:45 +02:00
siliconsniffer
60cd83a332
Android: open input dialog on double tap with physical keyboard (#16269) 2025-08-02 10:06:29 +02:00
y5nw
eb5ff5d0df minor 2025-07-18 17:25:45 +02:00
y5nw
8d5657d257 partial 2025-07-18 17:25:43 +02:00
Lucas OH
ce2380b58e
Include header files in CMake sources (#16297) 2025-07-12 13:23:35 +02:00
y5nw
12e83deece Fix segfault with touch controls 2025-07-11 17:57:33 +02:00
y5nw
f767a7a529 Implement secondary keybindings 2025-07-11 16:39:04 +02:00
Lars Müller
61551cfc3a
Remove irr namespace (#16309) 2025-07-09 10:35:52 +02:00
Lucas OH
51a453ca7b
Formspec: Fix newline conversion on Windows (#16311)
Strings with CR+LF (\r+\n) were wrongly fixed into \r, which is enough to display them correctly, but the missing \n became important once the text was saved/reloaded.

By removing the \r instead of the \n, then the text is displayed correctly and saved correctly.
2025-07-06 22:10:51 +02:00
Lucas OH
5b37614d23
Use unique_ptr for trivial ownership (#16300) 2025-07-03 17:32:46 +02:00
DS
48ef7fff23
Revert "Detect mouse moving out of inventory slot" (#16281)
This reverts commit 81d62d01d1.
2025-06-24 11:49:44 +02:00
Jürgen Rühle
81d62d01d1
Detect mouse moving out of inventory slot (#16101) 2025-06-13 23:36:44 +02:00
Lars Mueller
f431c12b85 Fix model[] not supporting float frames 2025-06-07 14:43:53 +02:00
siliconsniffer
4454d71d7d
Formspec: change tabs with ctrl(+shift)+tab (#16167)
This change makes it easier to go to the next/previous tab using keyboard controls.
2025-06-07 14:41:29 +02:00
JosiahWI
0bb87eb1ff
Avoid signal-unsafe operations in POSIX signal handler (#16160) 2025-06-01 15:24:32 +02:00
SmallJoker
535d757563 Formspec: Move GUI event handling to switch/case 2025-05-30 13:05:13 +02:00
SmallJoker
660b1cf9bf Formspec: remove gotText(wstr) remains
These functions are now unused (no caller).
2025-05-30 13:05:13 +02:00
SmallJoker
fcddac6c07 Formspec: Fix malfunctioning 'Proceed' button on sizeless formspecs 2025-05-30 13:05:13 +02:00
SmallJoker
94a9b94baf
Formspec: Fix incorrect cell size when using non-default fonts (#16178) 2025-05-27 18:47:41 +02:00
sfan5
da7897a822 Fix texture double-free in main menu
bug introduced in 1214a1d4a6
2025-05-27 13:56:18 +02:00
sfan5
1214a1d4a6
Refactor ITextureSource use in main menu (#16135) 2025-05-24 22:49:29 +02:00
SmallJoker
2f1171e2a7
Formspec: Fix broken 9-slice image button with gui_scaling_filter (#16146)
The setting 'gui_scaling_filter = true' previously broke 9-slice images.
With this change, custom button background images now scale the same as
backgrounds created using 'background9[...]' (9-slice images).
2025-05-24 15:58:04 +02:00
SmallJoker
56ecf6d332
Mainmenu: Fix error after ESC in dialog windows (#16130)
The error was caused by fd857374, where 'MenuQuit' was processed after 'try_quit'.
This commit fixes the error by moving the special 'MenuQuit' handling to Lua.
2025-05-18 20:41:42 +02:00
sfan5
8c8b7cb251
Clean up menus properly on client exit (#16150) 2025-05-18 12:13:48 +02:00
Lars Müller
600763dffc
Fix table[] focus regression from f4285a5 (#16136) 2025-05-14 07:25:32 -04:00
grorp
959a8b5b8b
Fix black font and menu header when game exits in background (#16131) 2025-05-14 07:23:53 -04:00
Lars Müller
f4285a59ac
Purge some dead code (mostly Irrlicht) (#16111)
* Remove obsolete Irrlicht attributes system

* Remove dead GUI element types

* Remove some obsolete Irrlicht headers

* Fix some oopsies from d96f5e1
2025-05-04 16:31:44 +02:00
sfan5
b841c23701 Clean up TextureSource and related code 2025-05-03 11:32:41 +02:00
SmallJoker
6f3735281f
GUI: restore the Pause Menu after closing the Settings Menu 2025-05-02 21:26:34 +02:00
Vincent Robinson
233ffbe384
Change exit keybinding and fix bug in allow_close[] 2025-04-23 21:41:32 +02:00
grorp
0cf1c47f6c
Fix scrollbar on ContentDB grid by adding an area label (#16042)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2025-04-21 12:33:41 +02:00
y5nw
23bfb2db72
Move keybinding settings to (Lua-based) setting menu (#15791) 2025-04-20 20:20:49 +02:00
Vincent Robinson
fd85737460
Add allow_close[] element to formspecs (#15971) 2025-04-16 16:20:39 -07:00
cx384
52b974184d
Move client code out of ItemDefManager (#15967) 2025-04-04 18:58:14 +02:00
cx384
a6d4cd7c15
Draw node animation for items (#15930) 2025-04-04 18:47:11 +02:00
grorp
c30c94dfaa
Add server/client annotations to settingtypes.txt and make use of them (#15756) 2025-04-01 07:55:47 -04:00
SmallJoker
309c0a0cb6
Formspec: fix clamped scroll offset of scroll_containers larger than 1000px 2025-03-30 18:15:38 +02:00
y5nw
4ba438a7ec
Improve KeyPress handling (#15923)
* Pass KeyPress by value
* TouchControls: add setting change callback for keybindings
2025-03-21 12:07:51 +01:00
grorp
ead44a27ca
TouchControls: Implement an option for dig/place buttons (#15845) 2025-03-21 12:06:44 +01:00
SmallJoker
f1364b1e0b GUI: Use the client's fonts for 'Open URL?' dialogues
This popup is related to user safety, thus it should not
use server-provided font media files.
2025-03-19 18:42:26 +01:00
y5nw
cc65c8bd70
SDL: Use scancodes for keybindings (#14964)
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2025-03-16 20:35:34 +01:00
Deve
c07499ccfc
Reload font manager in main thread to avoid a crash (#15900) 2025-03-16 17:55:39 +01:00
cx384
b9ed4793ea
Move drawItemStack out of hud.h/cpp (#15868) 2025-03-11 10:00:04 +01:00