6899 Commits

Author SHA1 Message Date
bd6cdda2b1 Don't allow banning in singleplayer
* fixes https://github.com/minetest/minetest/issues/11819)
2023-01-07 18:05:58 -04:00
e31a6b99b7 changing references to real final minetest.org from oldcoder 2022-12-29 13:36:02 -04:00
mckaygerhard
5cb24d5327 Adap the "Remove unnecessary float limits from script API" to checks of floats
* backport 8ff3fadba0
* issues related:
    * https://github.com/minetest/minetest/issues/11742
    * https://github.com/minetest/minetest/issues/6129
* really close #4
* TODO adapt to use FLOAT checks
2022-07-20 21:59:21 +02:00
a1402c0b0e Invalid float vector dimension range: clamp and warn instead of crash
* backported from https://github.com/minetest/minetest/pull/12389
* issues related:
    * https://github.com/minetest/minetest/issues/11742
    * https://github.com/minetest/minetest/issues/6129
* close https://codeberg.org/minenux/minetest-engine-minetest/issues/4
2022-06-03 16:42:11 -04:00
31c5301083 real install all found games dirs, fix f29d050767579e55f1c434d89f198cbeb38673dc
* the commit was wrongly made, commit f29d050767579e55f1c434d89f198cbeb38673dc
  uses a "*" and we nee to follow cmake doc as  http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command:install
2022-03-22 16:50:11 -04:00
54aac56a24 Look for PostgreSQL library properly and fix CI
* fixed in cmake 3.20 but it's relatively easy to add a workaround
* This was only fixed by Kitware/CMake@8b066f1 (CMake 3.20),
* backported a24899bf2d
2021-12-03 22:21:47 -04:00
72f2e27ed8 Fix build for newer versions of GCC
* build with newer gcc 11
* backported 7c2826cbc0
2021-12-02 22:01:20 -04:00
da9cadc875 minetest game submodule updated to use new art and name minenux 2021-11-30 23:05:02 -04:00
d18f422205 shaders disabled by default; continue of commit 21b1462b58142c0c9a44af263027cce7823b41fb 2021-11-30 15:04:08 -04:00
e5cb5c242d specified in credits that is minetest based 2021-11-30 14:59:37 -04:00
55b53cfe67 Install the locale directory in a standard location
* fixed builds in linux distributions
* backported 2349d31bae
* related: https://github.com/minetest/minetest/pull/9618
* backported ca8957f500
* Fix detection of in-place path_locale when RUN_IN_PLACE=0
* related: https://github.com/minetest/minetest/issues/9745
2021-11-30 14:45:58 -04:00
3eabd6eba3 remove rtmp due fails in some linuxes due extra package need
* related to https://codeberg.org/minenux/minetest-engine/issues/13
2021-11-30 14:28:56 -04:00
6a757711fb finally got compilinig flags for C++11 using gnu extensions
* related to https://codeberg.org/minenux/minetest-engine/issues/18
* use c++11 but with gnu xtensions
* related to https://codeberg.org/minenux/minetest-engine/issues/14
* complete fix for 4ef3bc602f and set C++11/C++0X depends on compiler
* final set continuation of commit 83a552ed1ac26e9f9d98a98661a6cdb79e7329d2
* fix cmake if-else misctakes error sintax
2021-11-30 14:23:39 -04:00
Seeker
9cd74b3419 Fix build for stupid compilers
* issue https://codeberg.org/minenux/minetest-engine/issues/10256
* author Seeker on Date: Mon Aug 3 14:38:45 2020 -0700
* backported from d22fd6fc348ecf393f535c9b172410f4a82a2d52
2021-11-30 13:16:12 -04:00
83a552ed1a fix flags: complete fix for 4ef3bc602f and set C++11/C++0X depends on compiler
* property fix backported commit 582ee14446d4b56f18587994c08bc0638494d87e
* added missing flac for standar 11 in CC not only in C++
* property set flags due C++11 now is need in all the code
* also its need due commit a4cd5f8e48 and 8507e651eb optimizations
* almost the last changes need c++11 standard, this is c++0x in olders
* build in jsoncpp need it to compile
2021-11-30 12:21:34 -04:00
Vincent Glize
1783ccf348 Change the server description after a search (#6074) 2021-11-29 16:36:58 -04:00
582ee14446 fix flags: backport 4ef3bc602f and set C++11/C++0X depends on compiler
* property set flags due C++11 now is need in all the code
* also its need due commit a4cd5f8e48 and 8507e651eb optimizations
* almost the last changes need c++11 standard, this is c++0x in olders
* build in jsoncpp need it to compile
2021-11-29 16:29:46 -04:00
0f9d6c3982 missing comma in mapgen fix for dirt 2021-11-24 13:02:58 -04:00
d5b84dfe46 as submodule set minetest 4 game with some backports from 5.1
* Use node particles for TNT explosions
  featured https://github.com/minetest/minetest_game/pull/2695
* updated README for our fork minenux
* minetest 5 game with some backports from 5.1
* Fix crash on TNT explosions if tnt is disabled
2021-11-24 00:13:53 -04:00
61e382387d provide the minetest game as submodule, so we can work unified in sync
* change README to my repos
* change git ignore to include necessary
* aded one module the minetest game
* set default game to minetest
2021-11-24 00:07:59 -04:00
5b36c2c2c0 added som simple aliases if content ignored
* adapted from "Print error if invalid mapgen alias was detected"
* commit aa3cf400e2
* from couple of checks into the mapgen to see if any mapgen alias resolves
2021-11-23 21:52:13 -04:00
ee31b5db78 fixed the d value to fix collision glitches using 0.3f
* Either way is fine, even if this turns out to make things better
  it can't solve all issues. Ultimately the d has to go and the current
  solution is beyond repair imo.
* backported comits are in:
    * https://github.com/minetest/minetest/pull/9365
    * https://github.com/minetest/minetest/pull/9327
* fixes:
    * https://github.com/minetest/minetest/issues/6886
      Unexpected collision when beginning a jump that pushes the player
    * https://github.com/minetest/minetest/issues/9143
      Huge increase in collision since 5.X
2021-11-23 17:33:31 -04:00
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