868749b4f8
Return star color calculation to what it previously was
2020-11-26 22:17:11 +01:00
8689e00fca
Fix style
2020-11-26 12:49:10 -08:00
c158e20e5b
Provide fallback star color for GLES 2 with MT shaders disabled
2020-11-26 12:49:10 -08:00
cdcf7dca7c
Sky: support GLES2
...
IrrLicht built-in shader is broken, have to write my own
2020-11-26 12:49:10 -08:00
be59668f47
Allow missing shaders
2020-11-26 12:49:10 -08:00
d7cf40a0ce
Replace TriangleFan as poorly supported
2020-11-26 12:49:10 -08:00
560627eef8
Reuse seed when updating stars
...
The only currently relevant parameter is scale which can now be changed
without resetting stars position
2020-11-26 12:49:10 -08:00
3077afc0a2
Store stars in a single static mesh buffer
2020-11-26 12:49:10 -08:00
89cc5bf537
Don't evaluate things many times
2020-11-26 12:49:10 -08:00
095f82692d
Batch cloud drawing
2020-11-26 12:49:10 -08:00
f1349be542
Avoid marking map blocks dirty upon deserialization.
2020-11-26 11:41:55 -08:00
8dc70ebb93
Fix camera panning glitches (partially revert 10489.)
2020-11-25 14:22:36 -08:00
78273027bf
Add sound to press event of some formspecs elements ( #10402 )
2020-11-23 21:28:25 +01:00
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
2f6393f49d
Increase limit for simultaneous blocks sent per client and the meshgen cache.
2020-11-16 10:30:52 -08:00
ad58ece180
serverpackethandler: Minor log message fixes
...
closes #10434
2020-11-12 21:08:26 +01:00
b504a1aa4b
Fix player sprite visibility in first person
...
closes #10525
2020-11-12 21:08:26 +01:00
c441baa91b
Fix overloaded virtual warnings with get/setAttachment()
2020-11-12 21:08:26 +01:00
8eb2cbac61
Fix warnings about an unused variables and implicit conversion ( #10586 )
2020-11-12 21:05:47 +01:00
68139a28eb
Revert "Replace MyEventReceiver KeyList with std::unordered_set" ( #10622 )
...
This reverts commit 787561b29a
.
2020-11-12 19:16:02 +01:00
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
be8d1d2d99
Increase default emerge queue limits and limit enqueue requests for active blocks.
2020-11-12 09:04:10 -08:00
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
97aefe9b81
Mark additional locales as broken
2020-11-10 10:30:42 +01:00
b6e47a30bb
Update fallback font to newer version
2020-11-10 10:30:42 +01:00
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
7589cbe086
Fix object interaction distance not being checked ( #10547 )
2020-11-09 11:55:15 +01:00
c940a57a38
ContentCAO: Fix segfault when minimap is disabled
2020-11-08 11:30:16 +01:00
8c1871fa2c
Revert #10495 and simplify.
2020-11-07 08:51:10 -08:00
627c22c36e
Fix integer-string conversion for shaders
...
closes #10605
2020-11-05 19:34:40 +01:00
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
e3bd6704a0
Revert "Fix short 180 degree rotation when using set_bone_position ( #10405 )" ( #10534 )
...
This reverts commit 0f98b54aa4
.
2020-11-04 21:43:32 +01:00
72b93ec0d7
Fix ObjectRef errors due to lua_isnil() ( #10564 )
...
Treat 'none' values as 'nil'
2020-11-04 21:43:18 +01:00
39213bd00a
Slight simplification and optimization of RemoteClient.
2020-11-03 16:23:47 -08:00
aa4d3cb148
Increase defaults for viewing_range, active_object_range and related settings #10597
2020-11-03 15:55:53 -08:00
0abb3e89fa
Block attempts to connect to the client ( #10589 )
...
A Minetest peer initiates a connection by sending a packet with an invalid peer_id, for whatever reason the code for doing this ran on both the client and the server meaning you could connect to a client if you knew what the address:port tuple it was listening on.
2020-11-02 22:21:03 +01:00
9c9344ceb3
Fix incorrect deprecation hints
...
"good" and "bad" were swapped in the process, resulting in wrong deprecation messages
2020-11-01 12:52:14 +01:00
89dd05fdf3
Fix segfault in deprecation logging due to tail call, log by default ( #10174 )
2020-10-31 18:19:23 +00:00
2dff3dd03f
Player physics: Ensure larger dtime simulation steps ( #10563 )
2020-10-29 20:15:46 +01:00
a701d24a00
Show RTT in ms with 2 digits of precision ( #10573 )
...
If your ping is in seconds, you probably have other problems.
2020-10-29 20:09:59 +01:00
68cd93b865
Avoid resending near blocks unnecessarily.
2020-10-27 12:08:44 -07:00
61a196378f
Fix CSMs on arm64 ( #10553 )
2020-10-25 18:01:39 +01:00
707c8c1e95
Shaders for Android (GLES 2) ( #10506 )
...
Shader support for OpenGL ES 2 devices (Android)
Co-authored-by: sfan5 <sfan5@live.de >
2020-10-25 18:01:03 +01:00
33b2c5f5b1
Clean up l_object.cpp ( #10512 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com >
2020-10-22 16:18:01 +01:00
5c0a57f606
Fix Media... 0% on loading screen ( #9478 )
2020-10-21 20:42:40 +01:00
c7aa92aaed
Fix show_on_minimap default value for local player
...
fixes #10526
2020-10-20 16:36:05 +02:00
4f2303849e
Implement unloading of static_save=false objects according to existing docs ( #10485 )
2020-10-19 20:38:33 +02:00
660115c1ab
Decouple entity minimap markers from nametags replacing with show_on_minimap property ( #10443 )
2020-10-19 20:38:15 +02:00
b826e39730
Minor clientmap improvements.
...
- Avoid calculating isBlockInSight for blocks without meshes.
- Add metric for how many blocks the client has currently loaded.
- Make some variables constant.
2020-10-19 09:31:09 -07:00
738f624218
Periodically release all mesh HW buffers to avoid an Irrlicht bottleneck.
2020-10-17 13:22:30 -07:00