1
0
mirror of https://github.com/minetest/minetest.git synced 2024-09-26 14:30:31 +02:00
minetest/src/script
grorp 404a063fdf
Touchscreen: Allow mods to swap the meaning of short and long taps (punch with single tap) (#14087)
This works through a new field "touch_interaction" in item definitions.
The two most important use cases are:
 - Punching players/entities with short tap instead of long tap (enabled by default)
 - Making items usable that require holding the place button (e.g. bows and shields in MC-like games)
2024-01-21 17:44:08 +01:00
..
common Touchscreen: Allow mods to swap the meaning of short and long taps (punch with single tap) (#14087) 2024-01-21 17:44:08 +01:00
cpp_api Remove excessive includes from porting.h 2024-01-14 13:17:53 +01:00
lua_api Add API for restoring PseudoRandom and PcgRandom state (#14123) 2024-01-16 23:20:52 +01:00
CMakeLists.txt Rename Scripting API files for consistency 2017-04-25 13:41:36 -04:00
scripting_client.cpp Rename ModApiEnvMod and ModApiItemMod 2023-06-23 09:05:26 +02:00
scripting_client.h A few initialization cleanups 2020-04-11 13:12:51 +02:00
scripting_mainmenu.cpp Sound refactor and improvements (#12764) 2023-06-16 20:15:21 +02:00
scripting_mainmenu.h Async-related script cleanups 2021-08-28 12:15:12 +02:00
scripting_server.cpp Add two missing classes to async environment 2023-08-14 18:16:36 +02:00
scripting_server.h Save Lua globals after mod loading 2023-06-23 09:05:26 +02:00