6908 Commits

Author SHA1 Message Date
Andrew Ward
ea46add1f6 Load dependencies and description from mod.conf 2019-02-16 14:00:56 +13:00
Elijah Duffy
a1732e814a Remove remaining modstore code (#6120) 2019-02-16 13:57:36 +13:00
Loïc Blot
091853c813 Implement minetest.register_can_bypass_userlimit (#6369)
* Implement minetest.register_on_userlimit_check

This new callback permits to bypass the max_users parameter with new mods condition, based on player name or IP
Only one mod needs to permit it.

Move core part for builtin privileges checks to builtin
2019-02-16 13:38:47 +13:00
rubenwardy
ef46c6ef2c Fix mistake when calling on_priv_grant/revoke, and document them (#6341) 2019-02-16 13:37:57 +13:00
rubenwardy
59ba17be14 Add on_grant and on_revoke callbacks (#4713)
* Add register_on_priv_grant/revoke, and on_grant/revoke to privs. Call from /grant and /revoke

* Call on_grant and on_revoke callbacks from set_privs
2019-02-16 13:37:42 +13:00
random-geek
693f340e39 Fix coloured fog in main menu (#8181)
Fixes #4727. The issue was due to the video driver fog colour never getting reset after closing the game.
2019-02-16 13:21:22 +13:00
luk3yx
84f64459dc List media file authors in alphabetical order. 2019-02-16 13:11:50 +13:00
luk3yx
ecde4b07b0 Add main menu music
• See LICENSE.md for details.
2019-02-16 13:09:44 +13:00
luk3yx
0c3a519e59 Update links 2019-02-15 17:35:15 +13:00
luk3yx
be5b46db79 Fix broken link in README.md 2019-02-15 16:58:14 +13:00
luk3yx
a7616c0582 Fix README.md and add LICENSE.md
• Fix references to minetest/minetest in README.md
 • Add LICENSE.md, based on Minetest's LICENSE.txt
2019-02-15 16:51:04 +13:00
rubenwardy
cc13df9f3e Fix extract zip writing lowercase files (#8221) 2019-02-15 12:04:32 +13:00
luk3yx
12c282eefd Bump version to 0.4.18.3-dev 2019-02-13 14:08:29 +13:00
luk3yx
a548e5d2a4 Revert version change and fix build 2019-02-12 20:24:46 +13:00
luk3yx
82fa49bc96 Bump version to 0.4.18.3-dev and fix README.md 2019-02-12 20:15:55 +13:00
luk3yx
35ad29e88f Release 0.4.18.2 2019-02-12 20:07:06 +13:00
HybridDog
cace65670c Add minetest.load_area (#8023) 2019-02-12 19:52:25 +13:00
SmallJoker
ac96505a73 Autojump: Disable in fly mode, support continuous forward (#8200)
Correctly disable in fly mode (issue #8199)
Also autojump in continuous forward mode (issue #8201)
2019-02-12 19:45:22 +13:00
Ben Deutsch
4a58af58a7 Client-side autojump. Remove Android-only stepheight autojump (#7228)
Works by detecting a collision while moving forward and then
simulating a jump. If the simulated jump is more successful,
an artificial jump key press is injected in the client.

Includes setting and key change GUI element for enabling and
disabling this feature.
2019-02-12 19:38:38 +13:00
luk3yx
539fb29c09 Fix another compilation error 2019-02-11 13:24:32 +13:00
SmallJoker
5efbcf9c76 Slippery: Do not apply when swimming (#8198) 2019-02-11 13:21:22 +13:00
SmallJoker
920ccfe9c2 Slippery: Simplify, make more efficient (#7086)
Use already existing collision results for the nearest colliding node
Fix slippery effect in free_move mode
2019-02-11 13:21:16 +13:00
Ben Deutsch
5181fb9b2c Alternative code for slipping (#6256)
* Alternative code for slipping

- does not depend on frame rate
- controllable via environment variables for now

* Adjust slipping speed for item entities too.

* Final version of framerate-independent slippery code

* Remove dead code and fix formatting

* getStandingNodePos should only look 0.05 nodes downwards

This ensures that, even if the player is standing on a partially
filled node, this node is used as the standing node and not the
node below it.

Specific use: enables slippery slabs

* Exchange global getStandingPosNode change for local inline change

Reverts previous commit

* Revert the item movement changes

* Slippery nodes now slip over cliffs and edges

Players no longer suddenly stop before falling off.
Also refactored slippery code into getSlipFactor method.

* Slipping over an edge gated by player's is_slipping state

A new flag for just this case, to reduce costly node lookups in
the normal case of leaning over a non-slippery edge.
Public access for consistency and potential future uses.

* Minor code tweaks / cosmetics

* Add temp variable to improve readability and fix indentation issues
2019-02-11 13:18:25 +13:00
Wuzzy
9d11e843a9 Add slippery group for nodes (players/items slide) 2019-02-11 13:14:03 +13:00
Ben Deutsch
5a459282f9 Safe digging and placing (#6127)
* Setting: Safe digging and placing

* New setting 'safe_dig_and_place' under Controls
* If set, digging and placing will not auto-repeat
* Releasing buttons unblocks the respective action again
* Useful for inexperienced users in creative mode where default
  repeat times may be too short

* Safe placing (right click repetition) does not need a guarding flag

* Added new setting to minetest.conf.example
2019-02-11 12:54:05 +13:00
Loïc Blot
163b1a1cba Verify compiler version before building anything (#6293)
GCC 4.9 and Clang 3.4 are the minimum
2019-02-10 20:20:18 +13:00
Loic Blot
b35744cc2e Minetest for C++11 (CMakeLists + Travis)
* Move GCC to GCC 6 & GCC 7
* Move Clang to Clang 3.6 & Clang 4.0
* LINT moves from Clang 3.9 to Clang 4.0
* Move XCode 7.3 to 8.0
* Use more travis tricks to install compilers instead of adding complexity to our build script
* Clang format fixes on checked files (compat Cpp11 instead of Cpp03)
* Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial)
* Drop mingw cmake generated files and add them to gitignore
2019-02-10 20:19:58 +13:00
Vincent Glize
923d72add9 Change the server description after a search (#6074) 2019-02-10 20:10:03 +13:00
Elijah Duffy
fb2ac30230 Menu: Do not use textlist for shaders in settings tab (#5820)
Replace the textlist used if the shaders checkbox is unchecked in the settings tab of the main menu with labels. This makes the formspec feel more consistent as the items do not move when shaders is unchecked but only change colour and the checkboxes beside them disappear.
2019-02-10 19:52:40 +13:00
red-001
bac9238613 Have the server send the player list to the client (#5924)
* Have the server send the player list to the client

Currently the client generates the player list based on the Client active object list, the issue with this is that we can't be sure all player active objects will be sent to the client, so this could result in players showing up when someone run `/status` but auto complete not working with their nick and CSM not being aware of the player
2019-02-10 18:44:16 +13:00
Wuzzy
d47294bd4e Add eat sound (#7956) 2019-02-10 18:39:09 +13:00
luk3yx
c7a1a1676a Bump version to 0.4.18.2-dev 2019-02-10 17:52:57 +13:00
luk3yx
aab040743b Mark 0.4.18.1 as stable 2019-02-08 11:32:40 +13:00
Vitaliy
8c6a5d3f93 Disable shaders GUI on unsupported drivers (#7563)
* Disable shaders GUI on unsupported drivers (#2060)

* Disable shaders if unavailable
2019-02-08 10:35:54 +13:00
luk3yx
8c5f06b09a Sync .gitlab-ci.yml and remote "deploy" stage 2019-02-08 10:26:55 +13:00
luk3yx
8c74bce370 Fix pitch swimming 2019-02-08 10:19:45 +13:00
luk3yx
fbcd85c368 Change version to 0.4.18.1-dev 2019-02-08 10:09:29 +13:00
random-geek
741257eb89 Extend pitch fly mode to swimming (#7943) 2019-02-08 09:52:22 +13:00
luk3yx
335286270e Release minetest-luk3yx-4 0.4.18 2019-02-05 22:05:02 +13:00
ChimneySwift
a723cca2b4 Escape special characters when searching the server list (#7842)
Simple fix to stop searching for "[" or other special characters causing a crash.
2019-02-05 21:48:24 +13:00
luk3yx
1118354576 Add pitch fly to the "change keys" menu
• Allow the pitch fly key to be changed from the "change keys" menu.
 • Enable pitch fly by default.
2019-02-05 21:45:09 +13:00
Gaël C
e57bf32e0c 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)
2019-02-05 21:29:21 +13:00
Paramat
fe547085cf Mirror 'sunrisebg' texture to fix chopped right edge (#7935) 2019-02-05 20:50:58 +13:00
Jozef Behran
74ec7256b0 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.
2019-02-05 20:50:31 +13:00
Jozef Behran
2e7aae6c72 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.
2019-02-05 20:44:07 +13:00
Paul Ouellette
e1bd092569 Fix some misspellings (#8104) 2019-02-05 20:32:58 +13:00
luk3yx
e73c6de617 Change default serverlist and strip client-sent colour/color codes by default.
• Change the default serverlist to servers.edgy1.net, as this is guaranteed to continue supporting Minetest 0.4.
 • Disable client-sent colour/color codes by default.
2019-02-05 19:25:18 +13:00
luk3yx
bf9f242ab0 Bump version to 0.4.18-dev
• Change version number to "0.4.18.0" and set DEVELOPMENT_BUILD to TRUE.
 • When VERSION_TWEAK is 0, the version string will not contain it anymore.
2019-02-05 19:04:02 +13:00
luk3yx
7ff4d8e91e Fix compilation error 2019-02-05 18:58:58 +13:00
Leonid Bobrov
c226e150c2 DragonFly BSD is somewhat identical to FreeBSD (#8159) 2019-02-05 16:57:12 +13:00