6927 Commits

Author SHA1 Message Date
896eb23701 follow the commit (Re)spawn players within 'mapgen_limit'
* stay in sync with 7aa52fe4e1
* this complete backpor then 19a2ad42d7
* related to https://codeberg.org/minenux/minetest-engine/issues/12
2021-11-23 14:46:20 -04:00
809dc316f9 desktop and metadata in manespace series 4 2021-11-23 13:59:37 -04:00
1fdb8a11ab use unix mod path if none provided for global search 2021-11-22 03:25:24 -04:00
ffba2b7646 TRy to complain with C++11 on all possible cases
* Minetest for C++11 CMakeLists or C++0X on pre supported
* Clang format fixes on checked files (compat Cpp11 instead of Cpp03)
* Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial)
* Let compatibilty for GCC 4.4+
* Fix initialization standars for C++11 on mayor cases
2021-11-22 03:16:05 -04:00
luk3yx
46e0be8c26 Hacky workaround to enforce the security of logs 2021-11-22 01:52:31 -04:00
00c3a46e83 fix problems when build with older linux due incomplete curl flags
* due stupid developers CURL is not right detected in minetest
* Author: PICCORO Lenz McKAY <mckaygerhard@gmail.com>
* Bug: https://github.com/minetest/minetest/issues/8483
* Bug: https://github.com/minetest/minetest/issues/8482
2021-11-22 01:43:28 -04:00
dda9276abb backported relocation header fix from alpine for 0.4 aka 4.0.18 2021-11-22 01:35:36 -04:00
1062de4925 complete comit from 263f4574ac4ba09578762f986f11a5a0a09923d7 desktop and icons
* app data registration
* icon storage for linux and mac
* desktop file invoke 4.X event vanilla one
2021-11-22 01:12:44 -04:00
1fea9f2e10 CMake: link with Intl when necessary for kfreebsd of non-glibc libs like alpine
* non Glibc system linking with Intl library may be needed whenGettext support is enabled.
* https://git.alpinelinux.org/aports/tree/community/minetest/0001-CMake-link-with-Intl-when-necessary.patch
* Fixes: clientlauncher.cpp:(.text+0xcac): undefined reference to `libintl_gettext'
* backported df01036c3f7ec745f439366494e8810080424e56
2021-11-22 01:08:13 -04:00
7336cbdfe2 use pkg-config to find luajit
* From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* Date: Tue, 27 Dec 2016 15:23:09 +0100
2021-11-21 23:48:34 -04:00
sfan5
ca7eccfcb6 Work around LuaJIT issues on aarch64 (#9614)
- Move the text segment below the 47-bit limit,
  needed for script_exception_wrapper which must be lightuserdata
- Replace CUSTOM_RIDX_SCRIPTAPI with full userdata
- Fix FreeBSD aarch64 faulies when use luajit
* FreeBSD uses lld, and lld does not support -Ttext-segment,
  suggesting --image-base instead. Not sure if it's equivalent change
  for the purpose at least if fixes build on FreeBSD/aarch64.
  Note that the code checks for FreeBSD, while it should really check
  for lld on any system, however I don't know any CMake facilities which allow this
* https://codeberg.org/minenux/minetest-engine/issues/16
2021-11-21 23:36:46 -04:00
866f9f78c5 retrieve more client info on minetest 0.4 or 4.0 for minetest4
* take from https://forum.minetest.net/viewtopic.php?p=354631#p354631
* usefull for give more info for idetificatin of clients cheaters
2021-11-19 22:09:17 -04:00
ChimneySwift
1344b5dcc3 Escape special characters when searching the server list (#7842)
Simple fix to stop searching for "[" or other special characters causing a crash.
2021-11-19 18:17:06 -04:00
Vitaliy
21b1462b58 Disable shaders GUI on unsupported drivers (#7563)
* Disable shaders GUI on unsupported drivers (#2060)

* Disable shaders if unavailable
2021-11-19 18:16:42 -04:00
a4751255ed Release minetest4-4.0.18 or same as minetest 0.4.18.0
* this is minetest-luk3yx-4 0.4.18  with manespaced as minetest4
* same as 335286270e
* but except of some stupid commits like promoting edgy net
2021-11-19 18:13:47 -04:00
9868760f6c Added pitch fly mode (#7817)
In pitch fly mode, you fly to the exact direction you are pointing at, using the forward key. Other move directions are also pitched accordingly.
It allows smoother and more complex movements.
Can be enabled/disabled by L key by default (set keymap_pitchfly in minetest.conf)
2021-11-19 18:09:08 -04:00
Jozef Behran
a4cd5f8e48 Optimize path finalization in pathfinder (#8100)
The pathfinder needs quite a bunch of items to add to the
resulting list. It turns out the amount of the space needed
for the finalized path is known in advance so preallocate it
to avoid a burst of reallocation calls each time something
needs to look for a path.
2021-11-19 18:05:00 -04:00
Jozef Behran
8507e651eb Speed up the craft definition handling (#8097)
The craft definition handling code that collects the names of
the craftable nodes suffers from vector reallocation
performance hits, slowing down instances with lots of
crafting recipes (VanessaE's DreamBuilder and most public
server some to my mind when thinking about this). As in each
instance the size of the resulting vector is already known,
add a reserve() call before the offending loops to allocate
the needed chunk of memory within the result vector in one
go, getting rid of the overhead.
2021-11-19 18:04:35 -04:00
luk3yx
c1b07acf4a Fix compilation error 2021-11-19 18:02:56 -04:00
Leonid Bobrov
acb0f3450d DragonFly BSD is somewhat identical to FreeBSD (#8159) 2021-11-19 18:02:38 -04:00
rubenwardy
55a77e8094 Fix core.download_file() creating empty files on HTTP error 2021-11-19 18:02:13 -04:00
random-geek
c8520b8e2b Fix cloud color in loading screen and main menu (#8174) 2021-11-19 18:01:29 -04:00
rubenwardy
13ad926546 Fix get_server_status() segfault due to uninitialized m_env
Fixes #7857
2021-11-19 18:00:52 -04:00
DS
57c73a6c84 Fix wrong code comment (#8061)
"Get core.registered_on_chat_messages" to "Get core.registered_on_player_receive_fields" where `core.registered_on_player_receive_fields` is gotten
2021-11-19 18:00:29 -04:00
15cccd7fde namespace2 in installed files 2021-11-19 15:40:42 -04:00
263f4574ac use minetest4 as name per program and files
* WIP for https://codeberg.org/minenux/minetest-engine/issues/6
* fix missing include dir for subgame.cpp
* some other fixeds
2021-11-01 17:01:52 -04:00
Loïc Blot
426b5d3149 Fix a crash on Android with Align2Npot2 (#8070)
* Fix a crash on Android with Align2Npot2

glGetString can be NULL. If stored in a string it triggers a SIGSEGV.
Instead do a basic strstr and verify the pointer
* Better Align2Npot2 check (+ performance)
2019-01-07 17:05:54 +01:00
Loïc Blot
dda844be16
Drop libgmp on Android and use mini-gmp (#8047) 2019-01-04 16:41:42 +01:00
Loïc Blot
899dcbf1ee Bump android version code for next Play Store version 2019-01-04 14:16:09 +01:00
Loïc Blot
957c59a678 Revert "upright_sprite: Fix texture position for players"
This reverts commit d58801ab3204757e6c49892a05633281144f4f44.
2019-01-03 12:04:51 +01:00
stujones11
3d15a6774d
Android: Fix start-up crashes on version 4.x (#8003)
* Android: Load shared STL library

* Android: Fix exception with window background image
2018-12-22 19:02:27 +01:00
Loic Blot
3c24f941e0
Add missing variables since previous cherry-pick 2018-12-22 17:28:22 +01:00
Maksim
9d64805ec1
Update Android java code (#7820)
Targets SDK 26 as required by the playstore.
Fixes screen auto-rotation closing game.
Hides on-screen navigation bar if present.

Update gradlew.
Fix display aspect on 18+/:9 displays (like a Samsung Galaxy S9).
Remove small app icons, not required.
Fix xml in unpacking activity.
Support Android permission: On Android 6.0+ you need to manually give write
permission (as required by google).
Background during unpacking (just a demo for now).
Material Design: no more Android 2 interface.
Immersive mode (Android 4.4+ - hide NavBar for fullscreen mode).
2018-12-22 17:25:38 +01:00
rubenwardy
ce4497224f
Android: Fix memory leak when displaying images in the mainmenu (#8011) 2018-12-22 17:20:18 +01:00
stujones11
a873a3f4f8
Include alpha channel reference in MaterialTypeParam 2018-12-22 17:15:39 +01:00
Loic Blot
86e29ae586
Update android version code (rebuild) 2018-12-04 19:11:03 +01:00
Loic Blot
dd5f03731a Bump android version to 20 2018-06-28 19:11:01 +02:00
Loic Blot
5e7faf3f50 Update cURL (7.60.0) & SQLite3 (3.24.0) 2018-06-28 19:11:01 +02:00
stujones11
8427ae529a Android: Use correct temporary path (#7463) 2018-06-28 19:11:01 +02:00
sfan5
2e85254e91 Fix MurmurHash implementation to really be unaligned (#7482) 2018-06-28 19:11:01 +02:00
red-001
971dea7efd Fix crash caused by Lua error during startup (#7473) 2018-06-28 19:11:01 +02:00
red-001
85ce23b165 Fix buffer overrun in SRP (#7484)
The old code got a pointer to the array instead of the first element, this resulted in a buffer overflow when the function was used more than once.
2018-06-28 19:11:01 +02:00
red-001
e66d5e500c Fix small memory leaks in client. (#7492) 2018-06-28 19:11:01 +02:00
Loic Blot
ea86ecf015
Android: gradle 3.1.3 is not available on mavenCentral
Also update wrapper
2018-06-11 20:37:17 +02:00
Loic Blot
4a48cd57e8
Fix android tools version used to build MT 2018-06-11 19:14:10 +02:00
Loic Blot
289c8dfde5
Android: fix clean_assets target 2018-06-11 19:13:56 +02:00
Loic Blot
9dfe9be1f3
Bump android version for next release 2018-06-10 18:28:41 +02:00
Loic Blot
f5c9c760e3
Android: use c++_shared library instead of c++_static
MT doesn't launch without that
2018-06-10 17:48:48 +02:00
SmallJoker
6dc7177a5d Bump version to 0.4.17.1 0.4.17.1 2018-06-10 17:18:11 +02:00
number Zero
24a2fd4dc4 Fix narrow/utf8 difference in incoming/outcoming messages 2018-06-10 17:18:11 +02:00