787 Commits

Author SHA1 Message Date
luk3yx
26ef53aa04 Fix menu images when RUN_IN_PLACE is false.
• This is a hacky workaround and should be replaced with a more permanent fix later.
2019-02-16 20:03:26 +13:00
luk3yx
2f382ddee2 Bugfixes
• Fix more compilation errors.
 • Hacky workarounds to get content.minetest.net to send a 0.4-compatible mod list.
   · Send the maximum protocol version of 0 (instead of 33) to work around a bug(?) on content.minetest.net.
2019-02-16 17:34:26 +13:00
Paul Ouellette
f3dfce02e9 Fix pkgmgr game install with RUN_IN_PLACE=0 (#8113) 2019-02-16 16:23:49 +13:00
luk3yx
3743dac163 Fix another git cherry-pick conflict 2019-02-16 16:04:06 +13:00
rubenwardy
4a596638b7 Fix rename modpack dialog not appearing to take affect 2019-02-16 16:00:59 +13:00
rubenwardy
3e3ed681d5 pkgmgr: Fix games list not being updated after game install
Fixes #8074
2019-02-16 15:58:58 +13:00
Paul Ouellette
ff1b37fa5a Improve world configure menu (#7922)
Replace `Subgame mods` with <game name> mods.
Display game description on left instead of dependencies.
Fix double DIR_DELIM in some paths.
2019-02-16 15:57:39 +13:00
luk3yx
d2ab8c7d16 Grammar improvements
d6f2a1c4b8
2019-02-16 15:56:10 +13:00
you
3fc3dec353 Tidy up dlg_config_world.lua (#5351)
Move code to pkgmgr
2019-02-16 15:53:11 +13:00
adrido
697fe27668 Formspec: textarea with scrollbar improvements
Increase scrollrate depending on fontsize

Scroll on mousewheel

Allow scrolling and marking text on non writable textareas

Update lua api about readonly mode

Show scrollbar if text overflows
2019-02-16 15:14:58 +13:00
rubenwardy
9cd7a719c8 Content store: Fix assertion failed on unsuccessful package list fetch
Fixes #8168
2019-02-16 14:59:14 +13:00
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
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
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
luk3yx
0c3a519e59 Update links 2019-02-15 17:35:15 +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
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
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
Wuzzy
d47294bd4e Add eat sound (#7956) 2019-02-10 18:39:09 +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
random-geek
741257eb89 Extend pitch fly mode to swimming (#7943) 2019-02-08 09:52:22 +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
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
Paramat
d0b88086fc Rename 'Advanced Settings' button to 'All Settings' (#8131) 2019-02-05 16:54:46 +13:00