1
0
mirror of https://github.com/luanti-org/luanti.git synced 2026-01-14 05:15:21 +01:00
Commit Graph

496 Commits

Author SHA1 Message Date
y5nw
07b8268d57 Implement secondary keybindings (#16803)
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>
2026-01-05 22:34:25 +01:00
y5nw
6fd46c05ae Translate key names in KeyPress::name() (#16779)
* Make KeyPress::name() return translated key names

* minor
2025-12-27 13:24:57 +01:00
siliconsniffer
f91e58abab Allow taking screenshots in main menu (#16749)
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: siliconsniffer <siliconsniffer@users.noreply.github.com>
2025-12-21 12:08:16 +01:00
sfan5
cf696239e4 Profiler and profiler graph improvements 2025-12-07 21:43:27 +01:00
sfan5
7594b19644 Clean up some filesys code 2025-11-28 13:16:41 +01:00
sfan5
77ce40cf44 Refactor parts of CGUITTFont 2025-11-26 22:13:09 +01:00
sfan5
7579b27ed1 Show warning in mainmenu when debug build 2025-11-25 17:34:21 +01:00
sfan5
aff1abd05d Some random code cleanups 2025-11-19 20:00:09 +01:00
SmallJoker
392c054be9 Main menu: Fix mod detection within nested modpacks
* Re-use the C++ implementation of mod detection
* Correctly show up nested modpacks in the main menu
2025-11-19 19:41:51 +01:00
cx384
ac0ebf39ad Clean up header includes (#16674) 2025-11-16 15:00:51 +01:00
cx384
98295cf839 Move client code from nodedef.h/cpp (#16615) 2025-11-08 21:49:01 +01:00
SmallJoker
98fb381910 Break include chains and tidy (part 2) 2025-11-06 19:31:13 +01:00
sfan5
8350fb734a Default-initialize SColor 2025-11-02 21:36:39 +01:00
Lars Müller
1ead48c58b Refactor: Remove obsolete IAnimatedMeshSceneNode interface (#16631) 2025-10-30 17:34:45 +01:00
cx384
93ccb4b355 Add inventory image animation API (#16538) 2025-10-26 18:48:53 +01:00
sfan5
c2e2b97944 Respect node alpha node for inventory drawing (#16556) 2025-10-11 19:37:30 +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
Lucas OH
ce2380b58e Include header files in CMake sources (#16297) 2025-07-12 13:23:35 +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