]> git.lizzy.rs Git - minetest.git/commit
Add crosshair support for Android (#7865)
authorMuhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
Thu, 29 Sep 2022 18:30:33 +0000 (01:30 +0700)
committerGitHub <noreply@github.com>
Thu, 29 Sep 2022 18:30:33 +0000 (20:30 +0200)
commit3978b9b8ed1c318c3f9a088beb331c26bca6de6b
tree1745718c8c7995ac6fdcaa2b7acf356c86506a2c
parentb1233056b76aa803123cc304d323887ad5fdfbae
Add crosshair support for Android (#7865)

If enabled, a crosshair will be shown to select object.
This will give Android players a way to play like they play on desktop.
On third-person back camera mode, player is forced to use crosshair.
On third-person front camera mode, player is unable to select anything.

Co-authored-by: ROllerozxa <temporaryemail4meh+github@gmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
builtin/mainmenu/tab_settings.lua
builtin/settingtypes.txt
src/client/game.cpp
src/defaultsettings.cpp
src/gui/touchscreengui.cpp
src/gui/touchscreengui.h