1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00
Commit graph

354 commits

Author SHA1 Message Date
Gefüllte Taubenbrust
b3710a982e Fixes and Lua control 2024-12-20 15:00:01 +01:00
Gefüllte Taubenbrust
45289b6919 Remove redundant stuff and other small fixes 2024-12-02 18:00:59 +01:00
Gefüllte Taubenbrust
f0407080ac Fix vignette and whitespace 2024-12-01 12:11:29 +01:00
grorp
6a1d22b2c5
Implement an editor to customize the touchscreen controls (#14933)
- The editor is accessible via the pause menu and the settings menu.
- Buttons can be moved via drag & drop.
- Buttons can be added/removed. The grid menu added by #14918 is used to show
  all buttons not included in the layout.
- Custom layouts are responsive and adapt to changed screen size / DPI /
  hud_scaling.
- The layout is saved as JSON in the "touch_layout" setting.
2024-11-24 11:33:39 +01:00
Gefüllte Taubenbrust
00ef9b14d0 Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2024-11-17 12:02:30 +01:00
wrrrzr
1c92d6243f
MainMenuManager: fix FIXME (#15414) 2024-11-12 10:52:37 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) (#15321) 2024-10-28 15:57:39 +01:00
Gefüllte Taubenbrust
4b88a32c1c Various changes, fixes and features 2024-10-27 21:36:40 +01:00
DS
e5d321d286
Cleanup headers in irr/include/ (#15181) 2024-10-18 10:58:32 +02:00
SmallJoker
e3813cf027 Settings: semi-automatic callback cleanup 2024-10-17 19:38:49 +02:00
grorp
9f43018df2
Better UX when touch events aren't supported by Irrlicht device (#15288) 2024-10-16 21:37:00 +02:00
paradust7
2188adc0f9
Ensure that null C strings do not break logging (#15255) 2024-10-12 22:34:24 +02:00
Gefüllte Taubenbrust
b6c099073f Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2024-10-11 20:44:12 +02:00
grorp
f5076723e8 Android: Fix camera jump when switching to mouse mode
Easy way to reproduce:

1. Connect a bluetooth mouse to your Android phone with Minetest installed
2. Play Minetest
3. Slowly move the mouse to the right so that the camera rotates continously
4. While still moving the mouse continously, tap the screen a few times per second

Before this commit: The camera jumps around randomly.
After this commit: The camera moves like it should.

This is a combination of two Irrlicht changes copied from MoNTE48/irrlicht
and one Minetest change authored by me. I have no idea why this works, but
it does work and I have spent way too much time on this bug already.
2024-10-09 18:26:19 +02:00
grorp
4952f17df4 Auto-toggle TouchControls in-game when receiving touch/mouse input 2024-10-09 18:26:19 +02:00
paradust7
3a7c8279bf
Split log.h to speed up compilation (#15258) 2024-10-09 16:24:44 +02:00
grorp
6ac4447134
Make bloom parameters server-controlled (#15231) 2024-10-09 15:08:03 +02:00
Gefüllte Taubenbrust
1bf1d0b2ff Remove volumetrics stuff and some changes 2024-10-01 20:00:24 +02:00
grorp
22ef4c8be1
Expose analog joystick input to the Lua API (#14348) 2024-10-01 17:21:42 +02:00
Gefüllte Taubenbrust
da1a688493 Fix stuff and slight changes 2024-09-25 21:45:13 +02:00
Gefüllte Taubenbrust
71e648a776 Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2024-09-25 20:53:09 +02:00
grorp
526a2f7b8c
Dehardcode the death formspec (#15155)
Co-authored-by: Paul Ouellette <oue.paul18@gmail.com>
2024-09-24 22:37:44 +02:00
GefullteTaubenbrust2
d8f1daac25
Visual Effects Vol. 1 (#14610)
This PR adds a variety of effects to enhance the visual experience.

    "soft" clouds look
    Tinted shadows
    Crude water reflections (sky and sun) and waves
    Translucent foliage
    Node specular highlights
    Adjusted fog color (more saturated where the fog is lighter)
    Minor changes to volumetric lighting (crudely simulates the effect of depth)

Co-authored-by: sfan5 <sfan5@live.de>
2024-09-24 11:14:27 -07:00
Desour
2b2f2dee20 Use make_irr instead of new + drop() in Game::handleCallbacks 2024-09-18 12:19:40 +02:00
Desour
b93ae33f85 Use irr_ptr for Game::sky 2024-09-18 12:19:40 +02:00
Desour
17c041a65c Use irr_ptr for Game::gui_chat_console 2024-09-18 12:19:40 +02:00
Desour
37b374cb92 Use irr_ptr for Game::clouds 2024-09-18 12:19:40 +02:00
DS
4aec4fbe6f
Add support for Tracy profiler (#15113) 2024-09-15 13:47:45 +02:00
grorp
af67353f7a
Only apply "touch_punch_gesture" when wielded item has no on_use callback (#15098) 2024-09-12 23:41:47 +02:00
sfan5
3feec87d52 Count global number of drawcalls too 2024-09-08 13:53:23 +02:00
grorp
8349846333
TouchControls: Fix setUseCrosshair not being called (#15100) 2024-09-04 15:18:45 +02:00
grorp
eae9a70385
TouchControls: Fix outdated player controls in TOSERVER_INTERACT 2024-08-31 20:45:32 +02:00
Gefüllte Taubenbrust
ed4cc81c23 Minimap shenanigans
Half broken lol
2024-08-29 17:35:35 +02:00
Gregor Parzefall
3a59fabefe split enable_touch to touch_controls (for touchscreen controls) and touch_gui
touch_gui provide adjustment to the interface, so it's more touch
friendly

Signed-off-by: David Heidelberg <david@ixit.cz>
2024-08-28 21:32:00 +02:00
Gregor Parzefall
1977517d7a Rename TouchScreenGUI -> TouchControls
to avoid confusion between touchscreen-related settings that affect GUIs
(formspecs) and touchscreen-related settings that affect the touch controls
(TouchControls / formerly TouchScreenGUI)
2024-08-28 21:32:00 +02:00
sfan5
fa4529b4f1 Keep stats on hw buffer uploads 2024-08-28 15:38:02 +02:00
Gefüllte Taubenbrust
e6752008e0 Update volumetrics 2024-08-18 15:13:26 +02:00
cx384
03e600a721 Fix whitespaces 2024-08-17 21:02:54 +02:00
1F616EMO~nya
98e51a0159
Clamp hotbar selection to slots that exist (#14869) 2024-08-12 15:35:13 +02:00
Gefüllte Taubenbrust
22ba7449f2 Volumetric effects 2024-07-05 12:15:22 +02:00
grorp
7709d92289
Restore old inconsistent minimum digging time behavior (#14777)
and restore default of 0.16 for repeat_place_time since it was only changed to be in line with repeat_dig_time.
2024-06-30 20:39:28 +02:00
l-koehler
fe6da3a16b
Disallow formspec debug if the player does not have the debug privilege (#14753) 2024-06-17 15:59:49 +02:00
Gefüllte Taubenbrust
cd6e304cfa Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2024-06-11 13:59:14 +02:00
Gefüllte Taubenbrust
a1b4e66c4c Stuff for volumetric clouds 2024-06-11 12:50:12 +02:00
grorp
508b5ccc63
Document keymap_toggle_block_bounds, remove unimplemented BLOCK_BOUNDS_MAX (#14722) 2024-06-02 21:05:35 +02:00
grorp
833bb542fc
Allow toggling fullscreen without restart and add keybind (#14714) 2024-06-02 21:05:16 +02:00
chmodsayshello
ab783b9bb2
Display background & moving progress bar on shutdown screen (#14597)
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2024-05-21 15:37:35 +02:00
sfan5
c38e0d05bf
Reenable fog toggle unless server restricts fog distance (#14634)
see comments in #14539
2024-05-14 18:31:51 +02:00
Gefüllte Taubenbrust
ca4f04ecab Lots of changes
some redundant stuff in vertex shaders needs fixing
2024-05-12 14:44:13 +02:00
Gefüllte Taubenbrust
ded1b09838 Add artificial light control 2024-05-09 18:38:29 +02:00