9199 Commits

Author SHA1 Message Date
Paramat
872dce5020
Move Mapgen V7 river generation into the main generation loop (#10639)
All terrain generation now occurs in one loop, instead of rivers being
carved afterwards in a separate loop.
Fixes the removal of nodes added by mods in 'register on generated'.
Avoids other problems and reduces the chance of future bugs.
Mapchunk generation time is reduced.

Also fixes a code mistake which resulted in river channel generation
being disabled at floatland altitudes even when floatlands were disabled.
2020-11-20 16:11:19 +00:00
Elias Fleckenstein
b65db98bd5 Added OnlyTracePlayers 2020-11-20 12:04:41 +01:00
Lars
2f6393f49d Increase limit for simultaneous blocks sent per client and the meshgen cache. 2020-11-16 10:30:52 -08:00
Lejo
a16e412c9d
Auto build client appimage (#10561)
* Replace ubuntu:14.04 with ubuntu 18:04
* Auto build client appimage

Co-authored-by: sfan5 <sfan5@live.de>
2020-11-15 17:38:04 +01:00
Wuzzy
ee1853e9bc
Fix falling image of torchlike if paramtype2="none" (#10612) 2020-11-15 17:37:09 +01:00
Elias Fleckenstein
e16bbc1fb2
Merge pull request #14 from corarona/master
lua-api: fix get/set_pitch
2020-11-15 13:38:49 +01:00
corarona
1780adeea6 lua-api: fix get/set_pitch 2020-11-15 01:09:31 +01:00
sfan5
ad58ece180 serverpackethandler: Minor log message fixes
closes #10434
2020-11-12 21:08:26 +01:00
sfan5
61bbdd6807 Copy position for can_dig
fixes #10514
2020-11-12 21:08:26 +01:00
sfan5
b504a1aa4b Fix player sprite visibility in first person
closes #10525
2020-11-12 21:08:26 +01:00
sfan5
c441baa91b Fix overloaded virtual warnings with get/setAttachment() 2020-11-12 21:08:26 +01:00
red-001
8eb2cbac61
Fix warnings about an unused variables and implicit conversion (#10586) 2020-11-12 21:05:47 +01:00
SmallJoker
68139a28eb
Revert "Replace MyEventReceiver KeyList with std::unordered_set" (#10622)
This reverts commit 787561b29afdbc78769f68c2f5c4f2cff1b32340.
2020-11-12 19:16:02 +01:00
SmallJoker
adffef2b94
PlayerSAO: Run on_player_hpchange raw change values (#10478)
The callback is only run when a change in HP is to be expected.
Following cases will not trigger the callback:
 * Dead player damaged further
 * Healing full-health player
 * Change of 0 HP
2020-11-12 19:15:41 +01:00
Lars
be8d1d2d99 Increase default emerge queue limits and limit enqueue requests for active blocks. 2020-11-12 09:04:10 -08:00
DS
be3fe161fc
Do not set a default for description in itemdef table (#10559)
* Do not set a default for description in itemdef table

* improve documentation
2020-11-10 21:03:10 +01:00
SmallJoker
fca4db4184
ObjectRef: Re-add legacy code for set_physics_override (#10585)
These arguments are used at least by MTG beds and homedecor_common. A deprecation warning is shown to safely remove it in a future release.
2020-11-10 21:02:53 +01:00
sfan5
97aefe9b81 Mark additional locales as broken 2020-11-10 10:30:42 +01:00
sfan5
b6e47a30bb Update fallback font to newer version 2020-11-10 10:30:42 +01:00
Markus Koch
e1142ee57f Joystick: Remap joystick-specific KeyTypes to generic ones
According to the following table:
	* MOUSE_L     -> DIG
	* MOUSE_R     -> PLACE
	* SCROLL_UP   -> HOTBAR_NEXT
	* SCROLL_DOWN -> HOTBAR_PREV

This commit entirely removes the special KeyTypes used for joysticks.

Support for the MOUSE KeyTypes had already been removed in the main
game code without adapting the joystick code, breaking joystick
input. This commit restores joystick functionality.
2020-11-09 11:58:50 +01:00
rubenwardy
7589cbe086
Fix object interaction distance not being checked (#10547) 2020-11-09 11:55:15 +01:00
Elias Fleckenstein
3e7c5d7203 Possibility to use cheat menu while pressing other keys 2020-11-08 14:08:55 +01:00
SmallJoker
c940a57a38 ContentCAO: Fix segfault when minimap is disabled 2020-11-08 11:30:16 +01:00
Lars
8c1871fa2c Revert #10495 and simplify. 2020-11-07 08:51:10 -08:00
Elias Fleckenstein
0aa63aafce Fixed warning 2020-11-06 13:44:54 +01:00
sfan5
627c22c36e Fix integer-string conversion for shaders
closes #10605
2020-11-05 19:34:40 +01:00
Elias Fleckenstein
9db80fc6f0 Run Lint Script 2020-11-05 14:16:19 +01:00
Elias Fleckenstein
91ad0d0497
Merge pull request #10 from corarona/master
lua api: set_pitch and make_screenshot
2020-11-05 14:08:25 +01:00
Elias Fleckenstein
6bda686c04 MapBlockMesh Performance Improvement 2020-11-05 14:08:19 +01:00
corarona
1bab49049b add LUA_FCT 2020-11-05 12:31:03 +01:00
corarona
6efa8a7582 add g/s pitch and make_screenshot in lua api 2020-11-05 12:28:22 +01:00
Elias Fleckenstein
46237330d2 Several Enhancements 2020-11-05 11:59:26 +01:00
corarona
60a9ff6fff api-screenshot: change function name to make_screenshot 2020-11-05 11:54:23 +01:00
Elias Fleckenstein
1f56317d5f Added NodeESP 2020-11-05 10:57:31 +01:00
SmallJoker
3356da0151
Add model[] formspec element (#10320)
Formspec element to display models, written by @kilbith, rebased and tweaked.

Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Co-authored-by: sfan5 <sfan5@live.de>
2020-11-04 21:46:18 +01:00
Lars Müller
e3bd6704a0
Revert "Fix short 180 degree rotation when using set_bone_position (#10405)" (#10534)
This reverts commit 0f98b54aa4b2361575002d92b29fe222703ba557.
2020-11-04 21:43:32 +01:00
Zughy
72b93ec0d7
Fix ObjectRef errors due to lua_isnil() (#10564)
Treat 'none' values as 'nil'
2020-11-04 21:43:18 +01:00
Elias Fleckenstein
75ecaa2173 Fix and run the Lint autocorrect script 2020-11-04 17:25:42 +01:00
Elias Fleckenstein
3e16c3a78f
Merge branch 'master' into master 2020-11-04 16:57:47 +01:00
Elias Fleckenstein
6ccb5835ff Revert "Make Lint Happy"
This reverts commit ad148587dcf5244c2d2011dba339786c765c54c4.
2020-11-04 16:57:41 +01:00
Elias Fleckenstein
244713971a Added script that automaticall corrects lint style 2020-11-04 16:57:24 +01:00
Elias Fleckenstein
07e61e1155 Fix github build problems #3 2020-11-04 16:48:20 +01:00
Elias Fleckenstein
5d9ae5a91c
Merge branch 'master' into master 2020-11-04 16:44:42 +01:00
Elias Fleckenstein
3af10766fd Fix github build problems #2 2020-11-04 16:41:49 +01:00
Elias Fleckenstein
16d302c9a1 Fix github build problems 2020-11-04 16:27:14 +01:00
Elias Fleckenstein
ad148587dc Make Lint Happy 2020-11-04 16:19:54 +01:00
Elias Fleckenstein
1145b05ea0 Updated Credits 2020-11-04 15:52:37 +01:00
Elias Fleckenstein
c9221730dd Updated Cheat Menu Color Design 2020-11-04 15:48:00 +01:00
Elias Fleckenstein
1799d5aa9a Cheat Menu Improvements Change 2020-11-04 15:33:48 +01:00
Elias Fleckenstein
fba7dc2168
Merge pull request #8 from realOneplustwo/master
Improved Cheat Menu
2020-11-04 14:40:09 +01:00