oweals/minetest.git
4 years agoTranslated using Weblate (Russian)
Anonymous [Sun, 3 May 2020 10:44:27 +0000 (10:44 +0000)]
Translated using Weblate (Russian)

Currently translated at 95.3% (1228 of 1288 strings)

4 years agoTranslated using Weblate (Russian)
Andrei Stepanov [Sun, 3 May 2020 10:42:50 +0000 (10:42 +0000)]
Translated using Weblate (Russian)

Currently translated at 95.3% (1228 of 1288 strings)

4 years agoTranslated using Weblate (Italian)
Matteo Gheza [Tue, 28 Apr 2020 14:15:21 +0000 (14:15 +0000)]
Translated using Weblate (Italian)

Currently translated at 95.4% (1229 of 1288 strings)

4 years agoTranslated using Weblate (Czech)
Roman Ondráček [Mon, 27 Apr 2020 16:36:50 +0000 (16:36 +0000)]
Translated using Weblate (Czech)

Currently translated at 58.9% (759 of 1288 strings)

4 years agoTranslated using Weblate (Czech)
Marek Sebera [Mon, 27 Apr 2020 16:30:07 +0000 (16:30 +0000)]
Translated using Weblate (Czech)

Currently translated at 58.9% (759 of 1288 strings)

4 years agoTranslated using Weblate (Czech)
Anonymous [Mon, 27 Apr 2020 16:17:47 +0000 (16:17 +0000)]
Translated using Weblate (Czech)

Currently translated at 58.9% (759 of 1288 strings)

4 years agoTranslated using Weblate (French)
Jeannette L [Thu, 23 Apr 2020 13:02:51 +0000 (13:02 +0000)]
Translated using Weblate (French)

Currently translated at 96.6% (1245 of 1288 strings)

4 years agoTranslated using Weblate (Malay)
Muhammad Nur Hidayat Yasuyoshi [Tue, 21 Apr 2020 04:02:11 +0000 (04:02 +0000)]
Translated using Weblate (Malay)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (Chinese (Simplified))
ERDwaYbR [Mon, 20 Apr 2020 13:16:58 +0000 (13:16 +0000)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 87.8% (1132 of 1288 strings)

4 years agoTranslated using Weblate (Russian)
pitchblack [Sat, 18 Apr 2020 19:06:59 +0000 (19:06 +0000)]
Translated using Weblate (Russian)

Currently translated at 94.8% (1222 of 1288 strings)

4 years agoTranslated using Weblate (Polish)
anonymous [Mon, 20 Apr 2020 06:54:11 +0000 (06:54 +0000)]
Translated using Weblate (Polish)

Currently translated at 77.0% (993 of 1288 strings)

4 years agoTranslated using Weblate (French)
William Desportes [Sun, 19 Apr 2020 15:26:43 +0000 (15:26 +0000)]
Translated using Weblate (French)

Currently translated at 96.6% (1245 of 1288 strings)

4 years agoTranslated using Weblate (Hungarian)
An0n3m0us [Tue, 14 Apr 2020 18:54:42 +0000 (18:54 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 69.9% (901 of 1288 strings)

4 years agoTranslated using Weblate (Dutch)
SwampTurtle [Sun, 12 Apr 2020 12:23:41 +0000 (12:23 +0000)]
Translated using Weblate (Dutch)

Currently translated at 61.1% (788 of 1288 strings)

4 years agoTranslated using Weblate (Dutch)
anonymous [Sun, 12 Apr 2020 12:21:35 +0000 (12:21 +0000)]
Translated using Weblate (Dutch)

Currently translated at 61.1% (788 of 1288 strings)

4 years agoTranslated using Weblate (Romanian)
Larissa Piklor [Sat, 11 Apr 2020 11:17:09 +0000 (11:17 +0000)]
Translated using Weblate (Romanian)

Currently translated at 18.7% (242 of 1288 strings)

4 years agoTranslated using Weblate (Hungarian)
Larissa Piklor [Sat, 11 Apr 2020 11:15:52 +0000 (11:15 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 69.8% (900 of 1288 strings)

4 years agoTranslated using Weblate (Turkish)
Oğuz Ersen [Wed, 8 Apr 2020 12:37:56 +0000 (12:37 +0000)]
Translated using Weblate (Turkish)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (Hungarian)
Ács Zoltán [Wed, 8 Apr 2020 12:26:10 +0000 (12:26 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 69.6% (897 of 1288 strings)

4 years agoTranslated using Weblate (Hindi)
Eyekay49 [Tue, 7 Apr 2020 16:43:09 +0000 (16:43 +0000)]
Translated using Weblate (Hindi)

Currently translated at 6.5% (85 of 1288 strings)

4 years agoAdded translation using Weblate (Hindi)
sfan5 [Tue, 7 Apr 2020 16:33:24 +0000 (16:33 +0000)]
Added translation using Weblate (Hindi)

4 years agoExposing the zoom key to Lua API (#9903)
Lars Müller [Sat, 13 Jun 2020 20:46:20 +0000 (22:46 +0200)]
Exposing the zoom key to Lua API (#9903)

Co-authored-by: Raul Ferriz <raul.ferriz@gmail.com>
4 years agoServer pushing media at runtime (#9961)
sfan5 [Sat, 13 Jun 2020 17:03:26 +0000 (19:03 +0200)]
Server pushing media at runtime (#9961)

4 years agoAdd LevelDB player database (#9982)
luk3yx [Fri, 12 Jun 2020 16:54:20 +0000 (04:54 +1200)]
Add LevelDB player database (#9982)

4 years agoUse multiple light positions for CAO lighting
sfan5 [Sun, 7 Jun 2020 17:58:09 +0000 (19:58 +0200)]
Use multiple light positions for CAO lighting

4 years agocontent_cao: Do not expire visuals for texture updates
sfan5 [Wed, 10 Jun 2020 14:53:23 +0000 (16:53 +0200)]
content_cao: Do not expire visuals for texture updates

4 years agoFix build error on Ubuntu 16.04 (again)
sfan5 [Wed, 10 Jun 2020 09:46:14 +0000 (11:46 +0200)]
Fix build error on Ubuntu 16.04 (again)

4 years agoFix build error on Ubuntu 16.04
sfan5 [Wed, 10 Jun 2020 08:58:13 +0000 (10:58 +0200)]
Fix build error on Ubuntu 16.04

4 years agoFix broken coloring of wielditems (#9969)
Danila Shutov [Tue, 9 Jun 2020 19:38:09 +0000 (22:38 +0300)]
Fix broken coloring of wielditems (#9969)

Fixes a regression that appeared in 5.3.0-dev.

4 years agoSome vector functions useful for working with rotations (#9572)
NetherEran [Tue, 9 Jun 2020 17:38:39 +0000 (17:38 +0000)]
Some vector functions useful for working with rotations (#9572)

* added vector.rotate

* added vector.forward_from_rotation and vector.up_from_rotation

* added vector.forward_up_to_rotatiton

* fixed some bugs and formatting with vector functions

* shortened name of some new vector functions and added documentation

* made vector.rotate not require a unit vector as axis

* fixed crash with vector.forward_up_to_rot

* renamed new vector functions, made vector.rotate apply a rotation matrix, old vector.rotate is now called vector.rotate_around_axis

* documented vector function changes

* removed some whitespace to appease luacheck

* implemented and fixed optimization of vector.rotate_around_axis by SmallJoker

* added some unit tests for rotation vector functions

* clarified that rotation vectors are in radians and according to the left hand rule

* hopefully appeased luacheck

* renamed rotation_to_horizontal to forward_at_rotation, rotation_to_vertical to up_at_rotation

* handled cases where sin or cos are 0 in rotation vector functions

* added more comments

* clarified documentation of rotation vector functions

* added more unit tests

* changed way in which vector.rotate_around_axis is adjusted for left handed coordinate systems

* made vector.rotate_around_axis actually left handed

* unrolled matrix multiplication

* removed vector.forward_at_rotation and vector.up_at_rotation

* prettified vector.rotate_around_axis, made previous commits not break anything

* removed references to removed vector.forward_at_rotation and vector.up_at_rotation

* removed documentation of removed vector functions

* clarified documentation and fixed styling of rotation vector functions

* restyled comments minorly

* spelling fixes and some hopefully better comments

* allowed 'up' to be missing from vector.directions_to_rotation and removed requirement for unit vectors as arguments

* made vector.rotate_around_axis() right handed again for consistency

* documented previous changes

* made matrix multiplication actually multiply

* renamed vector.directions_to_rotation() to vector.dir_to_rotation()

* optimized a distance comparison

* Fixed potential false positive in unit tests.

Co-authored-by: NetherEran <nethereran@hotmail.com>
4 years agoLuaItemStack: Add __tostring metamethod (#8785)
Paul Ouellette [Tue, 9 Jun 2020 17:37:25 +0000 (13:37 -0400)]
LuaItemStack: Add __tostring metamethod (#8785)

* LuaItemStack: Add __tostring metamethod

* Clean up LuaItemStack::checkobject

4 years agoFix player-to-object attachment teleport bug (#10008)
hecktest [Tue, 9 Jun 2020 17:36:47 +0000 (19:36 +0200)]
Fix player-to-object attachment teleport bug (#10008)

Fixes two bugs:

 * The camera offset was not applied to an object while detaching, briefly placing the irrlicht matrixnode in world space.
 *  When attaching, the matrixnode's absolute position was evaluated without evaluating the parent first, resulting in zeroed positions.

4 years agoTouchScreenGUI: fix some bugs, cleanup
MoNTE48 [Thu, 16 Apr 2020 15:37:40 +0000 (17:37 +0200)]
TouchScreenGUI: fix some bugs, cleanup

4 years agoTouchScreen Control: fix some bugs, cleanup
MoNTE48 [Thu, 16 Apr 2020 16:49:07 +0000 (18:49 +0200)]
TouchScreen Control: fix some bugs, cleanup

4 years agoFix real keyboard movements on touchscreen devices
Maksim [Sun, 31 May 2020 20:27:50 +0000 (22:27 +0200)]
Fix real keyboard movements on touchscreen devices

4 years agoHide tooltip after ETIE_LEFT_UP (for touch control)
MoNTE48 [Thu, 16 Apr 2020 16:49:30 +0000 (18:49 +0200)]
Hide tooltip after ETIE_LEFT_UP (for touch control)

4 years agodevtest: Improve tool and formspec usability
sfan5 [Mon, 8 Jun 2020 15:15:02 +0000 (17:15 +0200)]
devtest: Improve tool and formspec usability

also fix the yawsprite test entity

4 years agoReset touching_ground when in free_move
sfan5 [Sun, 7 Jun 2020 18:43:42 +0000 (20:43 +0200)]
Reset touching_ground when in free_move

This corrects local player animation after enabling fly while standing on ground.

4 years agoFix Lua panic when error() message is not a string
Paul Ouellette [Sat, 6 Jun 2020 18:52:26 +0000 (14:52 -0400)]
Fix Lua panic when error() message is not a string

4 years agoRecalculate mesh normals for CAOs (#10000)
Danila Shutov [Sun, 7 Jun 2020 16:14:00 +0000 (19:14 +0300)]
Recalculate mesh normals for CAOs (#10000)

4 years agoGenericCAO: Fix glow not working since a08d18a
SmallJoker [Sun, 7 Jun 2020 12:17:32 +0000 (14:17 +0200)]
GenericCAO: Fix glow not working since a08d18a

4 years agoRestore visual_scale support for nodeboxes (and allfaces) (#9906)
Vitaliy [Sat, 6 Jun 2020 20:25:18 +0000 (23:25 +0300)]
Restore visual_scale support for nodeboxes (and allfaces) (#9906)

4 years agoFix incorrect extension used for ContentDB thumbnails
rubenwardy [Sat, 6 Jun 2020 16:59:39 +0000 (17:59 +0100)]
Fix incorrect extension used for ContentDB thumbnails

4 years agoAdd HTTP API to main menu (#9998)
rubenwardy [Sat, 6 Jun 2020 16:17:08 +0000 (17:17 +0100)]
Add HTTP API to main menu (#9998)

4 years agoFix HUD scaling (#9721)
Maksim [Fri, 5 Jun 2020 19:42:33 +0000 (21:42 +0200)]
Fix HUD scaling (#9721)

This resolves HUD scaling issues on Android and desktops with custom DPI settings.

4 years agoTestBan: Clean up properly after completing test (#9994)
ANAND [Fri, 5 Jun 2020 18:04:14 +0000 (23:34 +0530)]
TestBan: Clean up properly after completing test (#9994)

4 years agoShow Toast in UI thread and fix unpacking on Android 10 (#9900)
Bektur [Fri, 5 Jun 2020 01:22:19 +0000 (07:22 +0600)]
Show Toast in UI thread and fix unpacking on Android 10 (#9900)

4 years agoAdd buttons to ContentDB in game bar and configure world (#9944)
rubenwardy [Thu, 4 Jun 2020 20:53:26 +0000 (21:53 +0100)]
Add buttons to ContentDB in game bar and configure world (#9944)

4 years agoMove shared parameters sending to UnitSAO (#9968)
SmallJoker [Thu, 4 Jun 2020 17:31:46 +0000 (19:31 +0200)]
Move shared parameters sending to UnitSAO (#9968)

Better header sorting by topic
Make UnitSAO-specific parameters private
Skip redundant recursive entity sending code (since ~5.2.0)

4 years agoFix autoscale_mode segfault if tile doesn't have texture
sfan5 [Mon, 1 Jun 2020 19:19:35 +0000 (21:19 +0200)]
Fix autoscale_mode segfault if tile doesn't have texture

closes #9965

4 years agoLua API: Log incorrect parameter types as error (#9954)
SmallJoker [Mon, 1 Jun 2020 17:02:15 +0000 (19:02 +0200)]
Lua API: Log incorrect parameter types as error (#9954)

Incorrect parameter types are logged as errors, taking coercion into account.
This is a workaround to ensure mod compatibility.
Duplicate warnings are ignored per server instance.

4 years agoContentCAO: Update light of all attached entities (#9975)
SmallJoker [Mon, 1 Jun 2020 17:01:47 +0000 (19:01 +0200)]
ContentCAO: Update light of all attached entities (#9975)

4 years agoimageScaleNNAA: Fix image clipping on rect- instead of image dimensions (#9896)
Hugues Ross [Mon, 1 Jun 2020 13:22:04 +0000 (09:22 -0400)]
imageScaleNNAA: Fix image clipping on rect- instead of image dimensions (#9896)

Fixes GUI scaling filters applied on animated images and 9slice backgrounds.

4 years agoDevtest: Fix missing/incorrect liquid properties (#9955)
Wuzzy [Fri, 29 May 2020 23:46:57 +0000 (01:46 +0200)]
Devtest: Fix missing/incorrect liquid properties (#9955)

4 years agoClean up CAO nametag handling and remove deprecated AO_CMD
sfan5 [Tue, 26 May 2020 14:05:06 +0000 (16:05 +0200)]
Clean up CAO nametag handling and remove deprecated AO_CMD

AO_CMD_UPDATE_NAMETAG_ATTRIBUTES was deprecated in
9eee3c3f465c071bb9908749cf48be3c131a1bdf (0.4.14)

4 years agocontent_cao: Do not expire visuals when not necessary
sfan5 [Mon, 25 May 2020 21:36:45 +0000 (23:36 +0200)]
content_cao: Do not expire visuals when not necessary

fixes #6572

4 years agoAdd disable_jump check for the player's feet
MoNTE48 [Wed, 11 Dec 2019 19:03:12 +0000 (20:03 +0100)]
Add disable_jump check for the player's feet

4 years agoAdd minetest.is_creative_enabled
Wuzzy [Tue, 26 May 2020 00:11:19 +0000 (02:11 +0200)]
Add minetest.is_creative_enabled

4 years agoUpdate ContentDB dialog (#9949)
rubenwardy [Thu, 28 May 2020 23:52:48 +0000 (00:52 +0100)]
Update ContentDB dialog (#9949)

4 years agoValue copy / allocation optimizations mostly in server, SAO and serialize code
sfan5 [Tue, 26 May 2020 15:38:31 +0000 (17:38 +0200)]
Value copy / allocation optimizations mostly in server, SAO and serialize code

4 years agoChange item entity collisionbox so that they don't sink into the ground
sfan5 [Wed, 27 May 2020 13:41:28 +0000 (15:41 +0200)]
Change item entity collisionbox so that they don't sink into the ground

4 years agoFix falling entity not falling through players
sfan5 [Wed, 27 May 2020 13:10:47 +0000 (15:10 +0200)]
Fix falling entity not falling through players

4 years agoMake ContentDB downloads not block the UI (#9948)
rubenwardy [Wed, 27 May 2020 16:02:09 +0000 (17:02 +0100)]
Make ContentDB downloads not block the UI (#9948)

4 years agoFix liquids refusing to flow in X+ or Z+ in some cases (#9874)
sfan5 [Tue, 26 May 2020 22:17:23 +0000 (00:17 +0200)]
Fix liquids refusing to flow in X+ or Z+ in some cases (#9874)

Applies when a different:
- falling liquid is neighboring
- liquid is below

4 years agoDevtest game: Update biome registrations (#9936)
Paramat [Tue, 26 May 2020 22:11:33 +0000 (23:11 +0100)]
Devtest game: Update biome registrations (#9936)

4 years agoFix devtest being ignored by .gitignore
rubenwardy [Tue, 26 May 2020 20:31:54 +0000 (21:31 +0100)]
Fix devtest being ignored by .gitignore

4 years agoDevtest: Fix crash in player unittest (#9937)
Wuzzy [Tue, 26 May 2020 17:49:02 +0000 (19:49 +0200)]
Devtest: Fix crash in player unittest (#9937)

Happened if player unittests run when player has exactly 3 HP

4 years agoRename “Minimal development test” to “Development Test” (#9928) 9929/head
Wuzzy [Mon, 25 May 2020 22:17:52 +0000 (00:17 +0200)]
Rename “Minimal development test” to “Development Test” (#9928)

4 years agoL-System trees: Remove hardcoded use of 'mapgen_dirt' alias (#9931)
Paramat [Mon, 25 May 2020 20:11:57 +0000 (21:11 +0100)]
L-System trees: Remove hardcoded use of 'mapgen_dirt' alias (#9931)

Games often and increasingly do not use this mapgen alias, as it
is only required for Mapgen V6. Such games were triggering the
recently added error message.

Even if this mapgen alias was defined, dirt nodes placed under a
wide trunk were inconsistent with biomes that do not use dirt
surface nodes.

Place trunk nodes below a wide trunk instead of 'mapgen_dirt'.
On sloping ground, the trunk then extends down to the surface,
instead of the surface rising up to meet the trunk. This looks
more natural and does not alter the terrain.

4 years agoSilence GCC warning in mapblock_mesh
SmallJoker [Mon, 25 May 2020 17:10:23 +0000 (19:10 +0200)]
Silence GCC warning in mapblock_mesh

Fixes following warning:
  warning: ‘waving’ may be used uninitialized in this function [-Wmaybe-uninitialized]

4 years agoFix build on FreeBSD, broken since open_url
rubenwardy [Sun, 24 May 2020 14:31:06 +0000 (15:31 +0100)]
Fix build on FreeBSD, broken since open_url

4 years agoAdd engine version string to ContentDB API request (#9890)
rubenwardy [Sun, 24 May 2020 13:46:50 +0000 (14:46 +0100)]
Add engine version string to ContentDB API request (#9890)

4 years agoReplacement for Minimal Development Test (PR) (#9450)
Wuzzy [Sun, 24 May 2020 13:46:26 +0000 (15:46 +0200)]
Replacement for Minimal Development Test (PR) (#9450)

4 years agoAdd chat_font_size setting (#9736)
SmallJoker [Sun, 24 May 2020 12:24:13 +0000 (14:24 +0200)]
Add chat_font_size setting (#9736)

Default font sizes are used when the setting value is 0 or below (clamped by Settings).

4 years agoFix two bugs in content_cao
sfan5 [Sun, 24 May 2020 09:48:51 +0000 (11:48 +0200)]
Fix two bugs in content_cao

fixes #9889 (backface_culling with visual = "cube")
fixes #9916 (crash with visual = "upright_sprite")

4 years agoFix constant re-queueing of emerges that will always be unsuccessful
sfan5 [Mon, 11 May 2020 18:22:32 +0000 (20:22 +0200)]
Fix constant re-queueing of emerges that will always be unsuccessful

4 years agoFix documentation of emergequeue_limit settings
sfan5 [Mon, 11 May 2020 18:19:02 +0000 (20:19 +0200)]
Fix documentation of emergequeue_limit settings

4 years agolua_api.txt: Fix minor typo (#9917)
ANAND [Sun, 24 May 2020 09:48:19 +0000 (15:18 +0530)]
lua_api.txt: Fix minor typo (#9917)

4 years agoOptimize particlespawner sending by not sending to distant players
sfan5 [Fri, 22 May 2020 13:25:47 +0000 (15:25 +0200)]
Optimize particlespawner sending by not sending to distant players

4 years agoImplement spawning particles with node texture appearance
sfan5 [Fri, 22 May 2020 12:17:03 +0000 (14:17 +0200)]
Implement spawning particles with node texture appearance

4 years agoAdd on_authplayer callback and 'last_login' to on_joinplayer (#9574)
sorcerykid [Sat, 23 May 2020 11:24:06 +0000 (06:24 -0500)]
Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)

    Replace on_auth_fail callback with more versatile on_authplayer
    Better clarify account login process in Lua API documentation
    Change initial timestamp for newly registered accounts to -1

4 years agoModernize include guards and add missing ones (#9898)
Awkor [Sat, 23 May 2020 11:23:05 +0000 (13:23 +0200)]
Modernize include guards and add missing ones (#9898)

4 years agoCheck for valid base64 before decoding (#9904)
Lejo1 [Wed, 20 May 2020 19:54:52 +0000 (21:54 +0200)]
Check for valid base64 before decoding (#9904)

4 years agoMacOS: Fix environ not being found
SmallJoker [Fri, 22 May 2020 12:19:07 +0000 (14:19 +0200)]
MacOS: Fix environ not being found

4 years agoCleanup of particle & particlespawner structures and code (#9893)
sfan5 [Fri, 22 May 2020 11:23:25 +0000 (13:23 +0200)]
Cleanup of particle & particlespawner structures and code (#9893)

4 years agoVarious documentation fixes in settingtypes.txt (#9910)
Paramat [Fri, 22 May 2020 00:32:20 +0000 (01:32 +0100)]
Various documentation fixes in settingtypes.txt (#9910)

Fix incorrect value of 'mgv7_floatland_density'.
Use correct spelling of 'persistence'.
Move '3d_paralax_strength' into correct section (3D mode).
Refer to 'active_object_send_range_blocks' instead of non-existent 'active_object_range'.

4 years agoCache liquid alternative IDs (#8053)
Vitaliy [Wed, 20 May 2020 21:52:10 +0000 (00:52 +0300)]
Cache liquid alternative IDs (#8053)

4 years agoAllow more than 255 biomes, document new maximum (#9855)
Paramat [Wed, 20 May 2020 21:16:14 +0000 (22:16 +0100)]
Allow more than 255 biomes, document new maximum (#9855)

Change biomemap data type from u8 to u16.
New technical (not practical) maximum is 65535 biomes.

4 years agoStop wasting memory on identical textures when texture filtering is disabled
sfan5 [Tue, 19 May 2020 18:45:02 +0000 (20:45 +0200)]
Stop wasting memory on identical textures when texture filtering is disabled

4 years agoCSM: Fix crashing minetest.get_item_def()
sfan5 [Wed, 20 May 2020 18:13:16 +0000 (20:13 +0200)]
CSM: Fix crashing minetest.get_item_def()

fixes #9884

4 years agoRework functionality of leveled nodes (#9852)
Wuzzy [Tue, 19 May 2020 19:08:37 +0000 (21:08 +0200)]
Rework functionality of leveled nodes (#9852)

Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
4 years agoAdd ability to scale HUD text (#9814)
LoneWolfHT [Tue, 19 May 2020 17:10:39 +0000 (10:10 -0700)]
Add ability to scale HUD text (#9814)

Add 'size' property to HUD text elements that is used for relative font size calculations.

4 years agoAdd missing sao->isGone() checks
sfan5 [Mon, 18 May 2020 21:23:25 +0000 (23:23 +0200)]
Add missing sao->isGone() checks

fixes #9883

4 years agobuiltin: Move common/async_event.lua to mainmenu/async_event.lua
sfan5 [Fri, 15 May 2020 14:38:19 +0000 (16:38 +0200)]
builtin: Move common/async_event.lua to mainmenu/async_event.lua

It only works in the context of the mainmenu.

4 years agocontent_mapblock: Move static initialization out of functions
sfan5 [Fri, 15 May 2020 13:42:33 +0000 (15:42 +0200)]
content_mapblock: Move static initialization out of functions

4 years agoClient: Add sum and average to packetcounter
sfan5 [Fri, 15 May 2020 13:12:37 +0000 (15:12 +0200)]
Client: Add sum and average to packetcounter

4 years agoAdd core.open_url() to main menu API (#8592)
rubenwardy [Sun, 17 May 2020 18:09:10 +0000 (19:09 +0100)]
Add core.open_url() to main menu API (#8592)

4 years agoMake automatic_rotate relative, allow setting rotation (#8468)
ANAND [Sat, 16 May 2020 19:42:31 +0000 (01:12 +0530)]
Make automatic_rotate relative, allow setting rotation (#8468)

automatic_rotate does not make sense if it is absolute. Make it relative.

To avoid bouncing, set_rotation did not update the client when automatic_rotate was set. That's no longer necessary because the new spinning method applies the rotation on top of the current one, and the updates are necessary for set_rotation to actually transform the object.

Co-authored-by: ANAND <ClobberXD@gmail.com>
Co-authored-by: Pedro Gimeno <pgimeno@users.noreply.notabug.org>
4 years agoError msg if trying to teleport attached player (#9824)
Wuzzy [Sat, 16 May 2020 19:41:41 +0000 (21:41 +0200)]
Error msg if trying to teleport attached player (#9824)

4 years agoLog protocol ver on mismatched client connect too
sfan5 [Sat, 16 May 2020 10:03:36 +0000 (12:03 +0200)]
Log protocol ver on mismatched client connect too