0e698e63b3
Fix autoscale_mode segfault if tile doesn't have texture
...
closes #9965
2020-06-01 21:19:35 +02:00
42a9b45c21
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.
2020-06-01 19:02:15 +02:00
a08d18acad
ContentCAO: Update light of all attached entities ( #9975 )
2020-06-01 19:01:47 +02:00
f849917bbe
imageScaleNNAA: Fix image clipping on rect- instead of image dimensions ( #9896 )
...
Fixes GUI scaling filters applied on animated images and 9slice backgrounds.
2020-06-01 15:22:04 +02:00
51de4ae297
Devtest: Fix missing/incorrect liquid properties ( #9955 )
2020-05-30 00:46:57 +01:00
4c8e1c3200
Clean up CAO nametag handling and remove deprecated AO_CMD
...
AO_CMD_UPDATE_NAMETAG_ATTRIBUTES was deprecated in
9eee3c3f46
(0.4.14)
2020-05-29 22:54:50 +02:00
db7c262ee8
content_cao: Do not expire visuals when not necessary
...
fixes #6572
2020-05-29 22:54:50 +02:00
34862a6442
Add disable_jump check for the player's feet
2020-05-29 22:53:58 +02:00
65a6a316d0
Add minetest.is_creative_enabled
2020-05-29 22:45:40 +02:00
9a64a9fd94
Update ContentDB dialog ( #9949 )
2020-05-29 00:52:48 +01:00
471e567657
Value copy / allocation optimizations mostly in server, SAO and serialize code
2020-05-27 21:58:40 +02:00
2fd5f38c45
Change item entity collisionbox so that they don't sink into the ground
2020-05-27 21:58:20 +02:00
03dae5fba6
Fix falling entity not falling through players
2020-05-27 21:58:20 +02:00
f90ca96c73
Make ContentDB downloads not block the UI ( #9948 )
2020-05-27 17:02:09 +01:00
58f523e363
Fix liquids refusing to flow in X+ or Z+ in some cases ( #9874 )
...
Applies when a different:
- falling liquid is neighboring
- liquid is below
2020-05-26 23:17:23 +01:00
ba553e22e4
Devtest game: Update biome registrations ( #9936 )
2020-05-26 23:11:33 +01:00
8713924811
Fix devtest being ignored by .gitignore
2020-05-26 22:33:16 +01:00
1afd6d682a
Devtest: Fix crash in player unittest ( #9937 )
...
Happened if player unittests run when player has exactly 3 HP
2020-05-26 19:49:02 +02:00
083b285f43
Rename “Minimal development test” to “Development Test” ( #9928 )
2020-05-26 00:17:52 +02:00
b546e8938d
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.
2020-05-25 21:11:57 +01:00
5311a27523
Silence GCC warning in mapblock_mesh
...
Fixes following warning:
warning: ‘waving’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2020-05-25 19:10:23 +02:00
212a1123e0
Fix build on FreeBSD, broken since open_url
2020-05-24 15:31:06 +01:00
b3c79906d4
Add engine version string to ContentDB API request ( #9890 )
2020-05-24 14:46:50 +01:00
6456aba73f
Replacement for Minimal Development Test (PR) ( #9450 )
2020-05-24 14:46:26 +01:00
a9b74f4c39
Add chat_font_size setting ( #9736 )
...
Default font sizes are used when the setting value is 0 or below (clamped by Settings).
2020-05-24 14:24:13 +02:00
f51cf7c68a
Fix two bugs in content_cao
...
fixes #9889 (backface_culling with visual = "cube")
fixes #9916 (crash with visual = "upright_sprite")
2020-05-24 11:48:51 +02:00
5430770b68
Fix constant re-queueing of emerges that will always be unsuccessful
2020-05-24 11:48:33 +02:00
a9d6be8b6f
Fix documentation of emergequeue_limit settings
2020-05-24 11:48:33 +02:00
8ee2ece3c9
lua_api.txt: Fix minor typo ( #9917 )
2020-05-24 11:48:19 +02:00
10c3002aea
Optimize particlespawner sending by not sending to distant players
2020-05-23 22:52:21 +02:00
9d6e7e48d6
Implement spawning particles with node texture appearance
2020-05-23 22:52:21 +02:00
15ba75e4cf
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
2020-05-23 13:25:29 +02:00
037422fdba
Modernize include guards and add missing ones ( #9898 )
2020-05-23 13:23:05 +02:00
e79bc40c0a
Check for valid base64 before decoding ( #9904 )
2020-05-22 14:26:22 +02:00
7ab0c0662a
MacOS: Fix environ not being found
2020-05-22 14:24:55 +02:00
1357ea1da2
Cleanup of particle & particlespawner structures and code ( #9893 )
2020-05-22 13:23:25 +02:00
1bcdc2d7e9
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'.
2020-05-22 01:32:20 +01:00
82e4137893
Cache liquid alternative IDs ( #8053 )
2020-05-20 22:52:10 +01:00
42fcfb75e8
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.
2020-05-20 22:16:14 +01:00
c47a680db7
Stop wasting memory on identical textures when texture filtering is disabled
2020-05-20 22:55:51 +02:00
732c8008f4
CSM: Fix crashing minetest.get_item_def()
...
fixes #9884
2020-05-20 20:15:09 +02:00
c94d37827d
Rework functionality of leveled nodes ( #9852 )
...
Co-authored-by: sfan5 <sfan5@live.de >
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com >
2020-05-19 21:08:37 +02:00
7d3972a504
Add ability to scale HUD text ( #9814 )
...
Add 'size' property to HUD text elements that is used for relative font size calculations.
2020-05-19 19:10:39 +02:00
0fc51db772
Add missing sao->isGone() checks
...
fixes #9883
2020-05-18 23:23:25 +02:00
11723cffe0
builtin: Move common/async_event.lua to mainmenu/async_event.lua
...
It only works in the context of the mainmenu.
2020-05-17 21:37:01 +02:00
52430d34d3
content_mapblock: Move static initialization out of functions
2020-05-17 21:37:01 +02:00
be38a44ffe
Client: Add sum and average to packetcounter
2020-05-17 21:37:01 +02:00
a9c3a42323
Add core.open_url() to main menu API ( #8592 )
2020-05-17 19:09:10 +01:00
c1ce4be756
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 >
2020-05-16 21:42:31 +02:00
ab745685c7
Error msg if trying to teleport attached player ( #9824 )
2020-05-16 21:41:41 +02:00