6913 Commits

Author SHA1 Message Date
ae90f8d699 Customizeable max breath and max hp for players
* it closes https://codeberg.org/minenux/minetest-engine-minetest/issues/33
* Statbars: Downscale bar to full 20 HP when exceeding this value
  Add default max HP for players and breath constants to builtin
  Document the constants
  Rename PLAYER_MAX_HP -> PLAYER_MAX_HP_DEFAULT
* implements PLAYER_MAX_BREATH_DEFAULT Customizeable max breath for players
  edbc533414
  so close https://github.com/minetest/minetest/issues/1972 that
  imports pr https://github.com/minetest/minetest/pull/6411
* implements PLAYER_MAX_HP_DEFAULT Respect object property hp_max field for players
  f7d50a8078
* so close https://github.com/minetest/minetest/issues/2246 that
  imports https://github.com/minetest/minetest/pull/6287
2023-09-12 23:54:00 -04:00
6ced19624f fix the implements of client enhanced information, bad typo dollar event address ampersan 2023-09-12 22:27:48 -04:00
3a9313b0c3 update gitlab-ci build CI/CD Windos process for packaged minners 2023-09-12 22:23:58 -04:00
2f2c13068c update gitlab-ci build CI/CD process for development 2023-09-12 22:13:35 -04:00
e9dda911e2 fix the implements of client enhanced information, missing comma 2023-09-12 22:04:03 -04:00
aa98a66666 Fix linking with Postgres libs on older cmake versions
* integrates https://github.com/minetest/minetest/pull/11215
  so it backported a24899bf2d
* closes https://github.com/minetest/minetest/issues/12149
* closes https://github.com/minetest/minetest/issues/11219
* backported 998e4820c9
2023-09-12 21:44:47 -04:00
23d8b837f4 Don't regain breath while in ignore node
* backported https://github.com/minetest/minetest/pull/8218
* Fixed the issue of Player regains a little breath when
  rejoining game into ignore
2023-09-12 20:38:47 -04:00
209f31601d fix the implements of client enhanced information, on api txt 2023-09-12 20:32:42 -04:00
4c3adcf77c Fix find_path for newer jsoncpp installations
* Could NOT find JSONCPP (missing: JSON_INCLUDE_DIR)
  fixed https://github.com/minetest/minetest/issues/9119
* imported from https://github.com/minetest/minetest/pull/9120
  The upstream JsonCpp project has renamed the json/features.h file to
  json/json_features.h. This patch fixes the JsonCpp installation search
  by looking for json/allocator.h which has not been renamed on newer
  versions of JsonCpp.
2023-09-12 20:01:56 -04:00
0cab4b1c19 fix cmake version string extra 2023-09-12 01:40:54 -04:00
9cf276044a fix the implements of client enhanced information
* miscmatched variable name fixed
2023-09-11 23:58:34 -04:00
416068c790 set nice way to multi publish server list muti site
* nasty but more moral way of
  fea9c0e5d6
2023-09-11 23:48:44 -04:00
e1f5d81550 implements client enhanced information
* closes https://codeberg.org/minenux/minetest-engine-multicraft2#49
* closes https://codeberg.org/minenux/minetest-engine-minetest/issues/26
* it takes from https://github.com/MultiCraft/MultiCraft2/pull/50
* backported from "Add platform information to get_player_information"
2023-09-07 17:10:05 -04:00
ff4334f40c featured powered player setttings : dig
* dragon fire hacked, the instant dig is enabled for 4.X powered
2023-01-07 18:40:47 -04:00
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