6929 Commits

Author SHA1 Message Date
rubenwardy
2dd9bd9abd Add setting to hide mature content from ContentDB 2019-02-16 14:59:03 +13:00
rubenwardy
fe8c9a7c3e Content store: Fix overlapping labels 2019-02-16 14:57:49 +13:00
rubenwardy
76f2c285eb Content store: Fix storage leak by storing screenshots in cache (#8137) 2019-02-16 14:57:36 +13:00
rubenwardy
943802443c Content store: Use composite key to track installations (#8054)
Fixes #7967 'Package manager doesn't track content reliably'.
2019-02-16 14:56:48 +13:00
rubenwardy
5d12b27cc6 Content store: Disable more details dialog for now (#8060)
* Content store: Disable more details dialog for now
2019-02-16 14:56:39 +13:00
rubenwardy
98a893aef1 Content store: Fix update button not working 2019-02-16 14:56:29 +13:00
rubenwardy
9177301964 Deprecate modpack.txt and use modpack.conf instead (#7892)
* Deprecate modpack.txt and use modpack.conf instead
2019-02-16 14:56:20 +13:00
rubenwardy
5cde4f5888 Fix installed modpacks not being found correctly 2019-02-16 14:55:39 +13:00
rubenwardy
50066a2e7d Content store: Fix bugs relating to packages list size 2019-02-16 14:55:10 +13:00
rubenwardy
f2ac1455ab Fix ContentDB packages timing out by using download_file instead (#7891) 2019-02-16 14:55:08 +13:00
random-geek
e808223b72 Content store: Fix missing screenshot in package view dialog 2019-02-16 14:53:42 +13:00
ClobberXD
07a8374a4a Content store: Hide navigation buttons when there's no packages 2019-02-16 14:53:34 +13:00
ClobberXD
b274b67875 dlg_contentstore.lua: Various fixes and improvements (#7612)
Add missing 'core.formspec_escape' to 'get_screenshot'.
Add warning label when no packages fetched.
Internal name of the "Update" button was the same as "Install". Rename to 'update_'.
2019-02-16 14:53:25 +13:00
random-geek
b52ecb86c0 Improve content store layout (#7806) 2019-02-16 14:53:14 +13:00
rubenwardy
b5bd41a0da Update contentdb_url to content.minetest.net 2019-02-16 14:51:37 +13:00
rubenwardy
f5e3b9b8cf Update to new ContentDB API 2019-02-16 14:47:39 +13:00
rubenwardy
dde2b3ecf3 Add screenshots to online content browser 2019-02-16 14:47:31 +13:00
rubenwardy
e97d523645 Add updating to online content browser 2019-02-16 14:47:22 +13:00
rubenwardy
4a01efdfca Fix description wrapping in browse online content 2019-02-16 14:47:12 +13:00
rubenwardy
ebfd6a61d3 Add online content repository
Replaces mods and texture pack tabs with a single content tab
2019-02-16 14:46:21 +13:00
adelcoding1
fd38beb656 FormSpec : Add an auto vertical scrollbar to the textarea 2019-02-16 14:10:45 +13:00
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