]> git.lizzy.rs Git - dragonfireclient.git/log
dragonfireclient.git
3 years ago-Wmem-access only called when GCC > 7 (#10453)
Zughy [Tue, 6 Oct 2020 18:51:27 +0000 (20:51 +0200)]
-Wmem-access only called when GCC > 7 (#10453)

3 years agoImprove the `fsaa` setting description (#10279)
Hugo Locurcio [Tue, 6 Oct 2020 18:50:20 +0000 (20:50 +0200)]
Improve the `fsaa` setting description (#10279)

See https://github.com/minetest/minetest/issues/8459.

3 years agoAdd minetest.get_artificial_light and minetest.get_natural_light (#5680)
HybridDog [Tue, 6 Oct 2020 18:49:46 +0000 (20:49 +0200)]
Add minetest.get_artificial_light and minetest.get_natural_light (#5680)

Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday).

Co-authored-by: rubenwardy <rw@rubenwardy.com>
3 years agoPrevent games from setting secure settings (#10460)
rubenwardy [Tue, 6 Oct 2020 11:10:37 +0000 (12:10 +0100)]
Prevent games from setting secure settings (#10460)

3 years agoRemove unused functions reported by cppcheck (#10463)
SmallJoker [Mon, 5 Oct 2020 07:07:33 +0000 (09:07 +0200)]
Remove unused functions reported by cppcheck (#10463)

Run unused functions reported by cppcheck

This change removes a few (but not all) unused functions.
Some unused helper functions were not removed due to their complexity and potential of future use.

3 years agoMinimap as HUD element with API control
Pierre-Yves Rollo [Sun, 4 Oct 2020 13:24:29 +0000 (15:24 +0200)]
Minimap as HUD element with API control

Features:
 * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes()
 * New HUD elements for displaying minimap with custom size and placing
 * New minimap mode for displaying a texture instead of the map

3 years agoAdd First Person Attachments (#10360)
Jordan Snelling [Sun, 4 Oct 2020 13:10:34 +0000 (14:10 +0100)]
Add First Person Attachments (#10360)

Fixes some other third person camera specific attachments.
Implements a single new flag for entities to be forced visible in first person mode.
Old mods do not need to be updated to use the new flag and are fully backwards compatible.

3 years agoFix short 180 degree rotation when using set_bone_position (#10405)
Lars Müller [Sun, 4 Oct 2020 13:09:12 +0000 (15:09 +0200)]
Fix short 180 degree rotation when using set_bone_position (#10405)

3 years agoDeprecate get_player_velocity and add_player_velocity (#10173)
rubenwardy [Sat, 3 Oct 2020 23:33:45 +0000 (00:33 +0100)]
Deprecate get_player_velocity and add_player_velocity (#10173)

3 years agoDocument builtin entities (#9453)
Wuzzy [Sat, 3 Oct 2020 17:01:38 +0000 (19:01 +0200)]
Document builtin entities (#9453)

This PR adds a new text file doc/builtin_entities.txt which explains how the two builtin entities __builtin:item and __builtin:falling_node work.

3 years agoAdd note to docs on how to override privileges (#9792)
LoneWolfHT [Sat, 3 Oct 2020 17:00:08 +0000 (10:00 -0700)]
Add note to docs on how to override privileges (#9792)

3 years agoLua API: Add register_on_chatcommand to SSM and CSM (#7862)
Elijah Duffy [Sat, 3 Oct 2020 16:38:08 +0000 (09:38 -0700)]
Lua API: Add register_on_chatcommand to SSM and CSM (#7862)

Allows catching a chatcommand call just after the command and the
parameters are parsed but before its existence is checked and before the
corresponding function is run. Returning `true` from a callback function
will prevent default handling of the command leaving mods to handle the
command manually.

3 years agoFix scroll bar overlapping text (again) (#9058)
random-geek [Sat, 3 Oct 2020 16:34:34 +0000 (09:34 -0700)]
Fix scroll bar overlapping text (again) (#9058)

3 years agoReduce the FPS when the window is unfocused (#8837)
HybridDog [Sat, 3 Oct 2020 16:33:51 +0000 (18:33 +0200)]
Reduce the FPS when the window is unfocused (#8837)

3 years agoChatcommand: Show help message if func returns false without message
HybridDog [Sat, 3 Oct 2020 16:33:43 +0000 (18:33 +0200)]
Chatcommand: Show help message if func returns false without message

#9440

3 years ago(se)SerializeString: Include max length in the name
SmallJoker [Sun, 20 Sep 2020 11:12:55 +0000 (13:12 +0200)]
(se)SerializeString: Include max length in the name

This commit clarifies the maximal length of the serialized strings.
It will avoid accidental use of serializeString() when a larger string can be expected.

Removes unused Wide String serialization functions

3 years agoClean up serialization
SmallJoker [Sun, 20 Sep 2020 11:04:01 +0000 (13:04 +0200)]
Clean up serialization

This reverts 1a5b4b3 and further functions in serialize.cpp that are unused

The intend for a sane NetworkPacket/stream replacement was good, but a wrapper
class around i/ostream might be more versatile than introducing a new
vector-based serialization class.

3 years agoSettings: Remove unused functions
SmallJoker [Sun, 20 Sep 2020 10:52:35 +0000 (12:52 +0200)]
Settings: Remove unused functions

Make Settings-internal functions private

3 years agoImprove layout of main menu 'local' tab (#10366)
Paramat [Tue, 29 Sep 2020 22:37:03 +0000 (23:37 +0100)]
Improve layout of main menu 'local' tab (#10366)

3 years agoImprove MSVC cmake and update vcpkg instruction (#10407)
k.h.lai [Tue, 29 Sep 2020 17:39:53 +0000 (01:39 +0800)]
Improve MSVC cmake and update vcpkg instruction (#10407)

Remove unnecessary compiler flag for clang-cl
Update vcpkg instruction in README.md

3 years agoUpdate wording of game descriptions in installer (#10441)
LoneWolfHT [Tue, 29 Sep 2020 17:39:36 +0000 (10:39 -0700)]
Update wording of game descriptions in installer (#10441)

3 years agoAndroid: replace InputDialogActivity on simple dialog window (#10034)
Maksim [Sat, 26 Sep 2020 16:42:22 +0000 (18:42 +0200)]
Android: replace InputDialogActivity on simple dialog window (#10034)

3 years agoPatch fast/teleport vulnerability when attached to an entity (#10340)
Elias Fleckenstein [Sat, 26 Sep 2020 16:41:44 +0000 (18:41 +0200)]
Patch fast/teleport vulnerability when attached to an entity (#10340)

3 years agoLog server announce on updates and deletes too (#10177)
Tyler Schwend [Sat, 26 Sep 2020 16:41:16 +0000 (12:41 -0400)]
Log server announce on updates and deletes too (#10177)

3 years agoEnable LuaJIT on the Docker image (#10414)
Buckaroo Banzai [Sat, 26 Sep 2020 13:32:49 +0000 (15:32 +0200)]
Enable LuaJIT on the Docker image (#10414)

3 years agoRemove null bytes from TOCLIENT_BLOCKDATA (#10433)
luk3yx [Sat, 26 Sep 2020 13:31:54 +0000 (01:31 +1200)]
Remove null bytes from TOCLIENT_BLOCKDATA (#10433)

3 years agoCorrect erroneous reported max lag with prometheus (#10427)
Buckaroo Banzai [Fri, 25 Sep 2020 16:52:42 +0000 (18:52 +0200)]
Correct erroneous reported max lag with prometheus (#10427)

Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
3 years agoFix horizontal/vertical merging bug of hardware-colored framed glass (#10417)
Paramat [Wed, 23 Sep 2020 23:10:50 +0000 (00:10 +0100)]
Fix horizontal/vertical merging bug of hardware-colored framed glass (#10417)

Previously, the param2-controlled horizontal/vertical merge feature
(which was undocumented and forgotten) was always active, causing
uses of param2 other than "glasslikeliquidlevel" to affect H/V
merging.

Only respect H/V merge bits when paramtype2 = "glasslikeliquidlevel".
H/V merge bits and liquid level bits are designed to be used
simultaneously.

3 years agoReplace MyEventReceiver KeyList with std::unordered_set (#10419)
Vincent Robinson [Wed, 23 Sep 2020 17:12:20 +0000 (10:12 -0700)]
Replace MyEventReceiver KeyList with std::unordered_set (#10419)

3 years agoAbility to remove minetest.after once set (#10103)
tenplus1 [Wed, 23 Sep 2020 17:11:56 +0000 (18:11 +0100)]
Ability to remove minetest.after once set (#10103)

3 years agoSettings: Fix unittest memory leak, change input types
SmallJoker [Tue, 22 Sep 2020 16:40:34 +0000 (18:40 +0200)]
Settings: Fix unittest memory leak, change input types

3 years agoFix chat/infotext overlap if many chat lines (#10399)
Wuzzy [Tue, 22 Sep 2020 16:38:33 +0000 (18:38 +0200)]
Fix chat/infotext overlap if many chat lines (#10399)

Moves the infotext depending on the value of the recent_chat_messages value + 2 additional lines to account for the 2 debug mode lines + 1 additional line as "buffer" for better readability if chat is full.

3 years agoSettings: Fix crash on exit due to group double-free
SmallJoker [Mon, 21 Sep 2020 17:10:44 +0000 (19:10 +0200)]
Settings: Fix crash on exit due to group double-free

3 years agoRecord player existence in dymmy database.
Lars [Sun, 20 Sep 2020 19:51:12 +0000 (12:51 -0700)]
Record player existence in dymmy database.

3 years agoClean up server-side translations, remove global variable (#10075)
rubenwardy [Wed, 16 Sep 2020 13:51:11 +0000 (14:51 +0100)]
Clean up server-side translations, remove global variable (#10075)

3 years agolua_api.txt: author, release and title fields when downloading from ContentDB (#10129)
Zughy [Wed, 16 Sep 2020 13:47:20 +0000 (15:47 +0200)]
lua_api.txt: author, release and title fields when downloading from ContentDB (#10129)

Co-authored-by: Marco <4279489-marco_a@users.noreply.gitlab.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
3 years agoRemove "generate normal maps" feature (#10313)
hecks [Mon, 14 Sep 2020 17:27:25 +0000 (19:27 +0200)]
Remove "generate normal maps" feature (#10313)

Erase all traces of normal "generation" from fragment shaders
Remove the "feature" from the engine and default config
Remove any leftover documentation of it

3 years agoRemove Thread::kill() and related unittest (#10317)
Sebastien Marie [Thu, 10 Sep 2020 10:19:18 +0000 (12:19 +0200)]
Remove Thread::kill() and related unittest (#10317)

Closes: #6065
3 years agoAdd NetBSD cpu affinity support code (#10378)
David CARLIER [Wed, 9 Sep 2020 17:12:58 +0000 (18:12 +0100)]
Add NetBSD cpu affinity support code (#10378)

3 years agoDarwin platform build fix (#10376)
David CARLIER [Wed, 9 Sep 2020 17:12:03 +0000 (18:12 +0100)]
Darwin platform build fix (#10376)

the event header seemingly being generic with libevent thus renaming it.
openal and opengl are deprecated on newer mac os releases thus suppressing the build warnings.

3 years agoInventory: Protect Craft and Drop actions (#10353)
SmallJoker [Mon, 7 Sep 2020 19:19:38 +0000 (21:19 +0200)]
Inventory: Protect Craft and Drop actions (#10353)

Change dangerous pointer to unique_ptr for automated deletion.

3 years agoPrevent interacting with items out of the hotbar (#10359)
Lejo [Fri, 4 Sep 2020 18:50:33 +0000 (20:50 +0200)]
Prevent interacting with items out of the hotbar (#10359)

3 years agoDevtest: Extend tooltips of many items and tools (#10312)
Wuzzy [Fri, 4 Sep 2020 18:50:03 +0000 (20:50 +0200)]
Devtest: Extend tooltips of many items and tools (#10312)

Also show error message when using tools wrong

3 years agoScale inventory image for scaled allfaces nodes (#10225)
Wuzzy [Fri, 4 Sep 2020 18:49:50 +0000 (20:49 +0200)]
Scale inventory image for scaled allfaces nodes (#10225)

The inventory image size of the inventory image of nodes with drawtype allfaces (and related) is scaled as well if visual_scale is set (previously, the inventory image size was always the same)

3 years agoFix inventory swapping not calling all callbacks (#9923)
Lars Müller [Fri, 4 Sep 2020 18:49:07 +0000 (20:49 +0200)]
Fix inventory swapping not calling all callbacks (#9923)

"Predicts" whether something will be swapped for allow callbacks, then calls callbacks a second time with swapped properties.

Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
3 years agoAdd 'ores' global mapgen flag (#10276)
Paramat [Thu, 3 Sep 2020 00:28:40 +0000 (01:28 +0100)]
Add 'ores' global mapgen flag (#10276)

3 years agoChange default ambient occlusion gamma to 1.8 (#10185)
sfan5 [Tue, 1 Sep 2020 18:18:32 +0000 (20:18 +0200)]
Change default ambient occlusion gamma to 1.8 (#10185)

3 years agoMark multiply and divide with two vectors as deprecated (Schur product and quotient...
DS [Tue, 1 Sep 2020 18:18:10 +0000 (20:18 +0200)]
Mark multiply and divide with two vectors as deprecated (Schur product and quotient) (#10329)

3 years ago[2] Code cleanup in serverpackethandler (#9349)
HybridDog [Tue, 1 Sep 2020 06:08:18 +0000 (08:08 +0200)]
[2] Code cleanup in serverpackethandler (#9349)

* Code cleanup in serverpackethandler

* do not define p_under unless a node is pointed
* use switch-case and reduce indentation

3 years agoFix #10349 game crashing if dropped an item with undefined light_source (#10351)
Pierre-Yves Rollo [Sun, 30 Aug 2020 13:34:28 +0000 (15:34 +0200)]
Fix #10349 game crashing if dropped an item with undefined light_source (#10351)

3 years agoFix dropped craftitems/tools not using light_source values (#9438)
LoneWolfHT [Sat, 29 Aug 2020 23:02:21 +0000 (16:02 -0700)]
Fix dropped craftitems/tools not using light_source values (#9438)

3 years agoAdd compass HUD element (#9312)
EvidenceB [Sat, 29 Aug 2020 18:13:30 +0000 (20:13 +0200)]
Add compass HUD element (#9312)

Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
3 years agoDocument normalmap textures (#10096)
HybridDog [Sat, 29 Aug 2020 15:43:09 +0000 (17:43 +0200)]
Document normalmap textures (#10096)

3 years agoAdd vector.offset (#10321)
DS [Sat, 29 Aug 2020 15:41:29 +0000 (17:41 +0200)]
Add vector.offset (#10321)

3 years agoMake bgcolor tint button background images (#9818)
Hugues Ross [Sat, 29 Aug 2020 15:41:19 +0000 (11:41 -0400)]
Make bgcolor tint button background images (#9818)

3 years agoPrevent players accessing inventories of other players (#10341)
Lars Müller [Sat, 29 Aug 2020 15:41:03 +0000 (17:41 +0200)]
Prevent players accessing inventories of other players (#10341)

3 years agoMapgen: Fix on-by-default flags broken since eca6ee9 (#10318)
SmallJoker [Fri, 28 Aug 2020 22:14:38 +0000 (00:14 +0200)]
Mapgen: Fix on-by-default flags broken since eca6ee9 (#10318)

3 years agoFix luacheck warnings in builtin/common/tests (#10322)
DS [Fri, 28 Aug 2020 22:14:19 +0000 (00:14 +0200)]
Fix luacheck warnings in builtin/common/tests (#10322)

3 years agoImprove set_texture_mod documentation (#10339)
karamel59 [Thu, 27 Aug 2020 19:48:18 +0000 (21:48 +0200)]
Improve set_texture_mod documentation (#10339)

Properly documents the select_x_by_camera values

3 years agoLua API: Register missing get_texture_mod function (#10338)
karamel59 [Thu, 27 Aug 2020 19:47:38 +0000 (21:47 +0200)]
Lua API: Register missing get_texture_mod function (#10338)

3 years agoAndroid: drop simple MainMenu (#10227)
Maksim [Thu, 27 Aug 2020 19:46:57 +0000 (21:46 +0200)]
Android: drop simple MainMenu (#10227)

The default (PC-style) MainMenu works great on Android. Provides access to ContentDB and allows players to create many worlds in a few clicks.
Makes the interface consistent and eliminates player confusion.

3 years agoNetBSD build fix proposal. (#10308)
David CARLIER [Tue, 25 Aug 2020 18:50:41 +0000 (19:50 +0100)]
NetBSD build fix proposal. (#10308)

Fixing thread naming call and let the class setting RANDOM_MIN/RANDOM_MAX.

3 years agoshaders: Fix transparency on GC7000L (#10036)
mntmn [Tue, 25 Aug 2020 18:49:51 +0000 (20:49 +0200)]
shaders: Fix transparency on GC7000L (#10036)

Workaround for the missing GL_ALPHA_TEST implementation in Mesa (etnaviv driver).

3 years agoProperly handle mod-errors in on_shutdown
Desour [Sun, 23 Aug 2020 17:44:25 +0000 (19:44 +0200)]
Properly handle mod-errors in on_shutdown

3 years agodarken tabheader background color (#10299)
Kezi [Sun, 23 Aug 2020 20:50:45 +0000 (22:50 +0200)]
darken tabheader background color (#10299)

3 years agoAvoid drawing clipped out formspec elements (#10095)
EvidenceB [Sun, 23 Aug 2020 20:50:14 +0000 (22:50 +0200)]
Avoid drawing clipped out formspec elements (#10095)

3 years agoFix MSVC compiler warnings (#10197)
adrido [Sun, 23 Aug 2020 13:41:04 +0000 (15:41 +0200)]
Fix MSVC compiler warnings (#10197)

3 years agoAuto focus on OK button in main menu error messages (#10300)
Vincent Robinson [Sun, 23 Aug 2020 13:40:34 +0000 (06:40 -0700)]
Auto focus on OK button in main menu error messages (#10300)

3 years agoFix light overflow of u8 if light is saturated at 255 (#10305)
BenjaminRi [Sun, 23 Aug 2020 13:39:55 +0000 (15:39 +0200)]
Fix light overflow of u8 if light is saturated at 255 (#10305)

3 years agoComplete Haiku platform support. (#10311)
David CARLIER [Sun, 23 Aug 2020 13:39:32 +0000 (14:39 +0100)]
Complete Haiku platform support. (#10311)

Fixing linkage/libraries missing issue.
Implements missing platform specifics.

3 years agoLoad media from subfolders (#9065)
DS [Thu, 20 Aug 2020 20:25:29 +0000 (22:25 +0200)]
Load media from subfolders (#9065)

3 years agoDefine environ variable on OpenBSD (#10302)
Sebastien Marie [Thu, 20 Aug 2020 17:10:58 +0000 (19:10 +0200)]
Define environ variable on OpenBSD (#10302)

3 years agoFix missing translation call in hypertext (#10296)
Pierre-Yves Rollo [Thu, 20 Aug 2020 10:25:02 +0000 (12:25 +0200)]
Fix missing translation call in hypertext (#10296)

3 years agoAdd gradients and borders to FormSpec boxes (#8676)
v-rob [Thu, 20 Aug 2020 01:14:47 +0000 (18:14 -0700)]
Add gradients and borders to FormSpec boxes (#8676)

3 years agoOptimize formspec form size (#10144)
v-rob [Wed, 19 Aug 2020 23:13:29 +0000 (16:13 -0700)]
Optimize formspec form size (#10144)

3 years agoClean up sound_fade (#10119)
hecks [Wed, 19 Aug 2020 17:26:37 +0000 (19:26 +0200)]
Clean up sound_fade (#10119)

Add proper documentation and correct gain reduction calculations.

Co-authored-by: hecktest <>
3 years agoAllow the ABM time budget to be configurable.
Lars [Wed, 12 Aug 2020 23:02:07 +0000 (16:02 -0700)]
Allow the ABM time budget to be configurable.

3 years agoContentDB: Add Update All and download queuing (#9995)
rubenwardy [Mon, 17 Aug 2020 18:09:33 +0000 (19:09 +0100)]
ContentDB: Add Update All and download queuing (#9995)

3 years agoAllow binding dig, place actions to keys; remove LMB/RMB hardcoding
ANAND [Fri, 5 Jun 2020 13:06:35 +0000 (18:36 +0530)]
Allow binding dig, place actions to keys; remove LMB/RMB hardcoding

Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
3 years agoRender nodeboxes with opaque material if possible (#10122)
sfan5 [Wed, 12 Aug 2020 09:52:50 +0000 (11:52 +0200)]
Render nodeboxes with opaque material if possible (#10122)

3 years agoFix precision not working in hud_change (#10186)
Lars Müller [Wed, 12 Aug 2020 09:51:50 +0000 (11:51 +0200)]
Fix precision not working in hud_change (#10186)

3 years agoAdd font styling options to tables and textlists (#10203)
v-rob [Tue, 11 Aug 2020 18:07:17 +0000 (11:07 -0700)]
Add font styling options to tables and textlists (#10203)

3 years agoChange `last-login` command to show player name in output (#10263)
Emojigit [Thu, 6 Aug 2020 17:30:41 +0000 (01:30 +0800)]
Change `last-login` command to show player name in output (#10263)

3 years agoMapgen Flat: Add caverns, disabled by default (#9913)
Paramat [Wed, 5 Aug 2020 04:00:00 +0000 (05:00 +0100)]
Mapgen Flat: Add caverns, disabled by default (#9913)

Add the caverns used in V5, V7, Valleys, Carpathian.
Disabled by default to not be force-enabled in existing worlds.

3 years agoImplement override.txt support for special tiles (#10140)
Hugues Ross [Tue, 4 Aug 2020 18:12:47 +0000 (14:12 -0400)]
Implement override.txt support for special tiles (#10140)

Add override targets for all special_tiles entries in node definitions, allowing texture packs to replace these textures. This makes overrides work properly with a variety of drawtypes.

The targets are named special1 through special6, covering the the current length of the special_tiles array.

3 years agoFix build for Visual Studio (explicitly cast pointers) (#10256)
Seeker [Mon, 3 Aug 2020 21:38:45 +0000 (14:38 -0700)]
Fix build for Visual Studio (explicitly cast pointers) (#10256)

3 years agoFix GCC class-memaccess warnings (#10239)
Paul Ouellette [Sat, 1 Aug 2020 15:25:33 +0000 (11:25 -0400)]
Fix GCC class-memaccess warnings (#10239)

3 years agoFalling: Fix error caused by missing param2
SmallJoker [Thu, 30 Jul 2020 17:03:48 +0000 (19:03 +0200)]
Falling: Fix error caused by missing param2

Falling nodes that were spawned prior the recent falling node changes did not require param2.
Default to param2 = 0 when none is found in the node data.

3 years agocontent_cao: Support texture animation for upright_sprite (#10020)
sfan5 [Thu, 30 Jul 2020 15:39:57 +0000 (17:39 +0200)]
content_cao: Support texture animation for upright_sprite (#10020)

3 years agoAllow starting local server using --go again (#10229)
SmallJoker [Wed, 29 Jul 2020 21:20:01 +0000 (23:20 +0200)]
Allow starting local server using --go again (#10229)

3 years agoRevert "Get rid of non-ascii characters in the debug display code (#8821)" (#9828)
Lars Müller [Wed, 29 Jul 2020 21:17:52 +0000 (23:17 +0200)]
Revert "Get rid of non-ascii characters in the debug display code (#8821)" (#9828)

This reverts commit 4f9ccd89b347dad3db5ce63d3405a8d60c163af5.

3 years agoAdd PUT and DELETE request + specific method value to HTTP API (#9909)
Lejo [Wed, 29 Jul 2020 21:16:21 +0000 (00:16 +0300)]
Add PUT and DELETE request + specific method value to HTTP API (#9909)

3 years agodecode_base64: Allow '=' padding character
SmallJoker [Wed, 29 Jul 2020 18:46:36 +0000 (20:46 +0200)]
decode_base64: Allow '=' padding character

'=' is a valid character, but minetest.decode_base64 returned nil when it was used for padding.

3 years agoSanitize world directory names on create. Keep original name separate (#9432)
Hugues Ross [Tue, 28 Jul 2020 17:16:57 +0000 (13:16 -0400)]
Sanitize world directory names on create. Keep original name separate (#9432)

Blacklisted characters are replaced by '_' in the path. The display name is stored in world.mt, and duplicate file names are resolved by adding an incrementing suffix (_1, _2, _3, etc).

3 years agoFix incorrect view URL for games
rubenwardy [Tue, 28 Jul 2020 16:01:52 +0000 (17:01 +0100)]
Fix incorrect view URL for games

package.id is a sanitised combination of author and basename, used to
compare remote and local content. Minetest ignores `_game` when comparing
game names, so package.id has `_game` removed. This meant that the wrong
URL was being generated for View.

3 years agoPlay place_failed sound if occupied or cannot attach (#9486)
Wuzzy [Mon, 27 Jul 2020 17:40:33 +0000 (19:40 +0200)]
Play place_failed sound if occupied or cannot attach (#9486)

3 years agoImprove default inventory+wield images of node drawtypes (#9299)
Wuzzy [Thu, 23 Jul 2020 17:54:58 +0000 (19:54 +0200)]
Improve default inventory+wield images of node drawtypes (#9299)

3 years agoReplace std::list<session_t> in networking code (#10215)
sfan5 [Thu, 23 Jul 2020 17:47:58 +0000 (19:47 +0200)]
Replace std::list<session_t> in networking code (#10215)

3 years agoAndroid: Fix ConfirmRegistration and PasswordChange input and scale size (#10182)
Maksim [Tue, 21 Jul 2020 12:16:25 +0000 (14:16 +0200)]
Android: Fix ConfirmRegistration and PasswordChange input and scale size (#10182)

3 years agoRevert "Auto delete MetaData when = 0 (#8770)" (#10183)
Lars Müller [Thu, 16 Jul 2020 17:11:24 +0000 (19:11 +0200)]
Revert "Auto delete MetaData when = 0 (#8770)" (#10183)

This reverts commit 808eb4c5714da5ac36f4a70653d6b3805060828c.