MoNTE48
8053b775e4
Remove broken `TMPFolder` setting
2021-12-28 19:35:32 +01:00
MoNTE48
4cfc5a506f
OSX: minor fixes
2021-12-26 02:24:23 +01:00
MoNTE48
168acbd050
Hide driver name from window title
2021-12-26 02:23:01 +01:00
MoNTE48
d3ef0c30bc
Mobile: fix checkbox scaling
2021-12-18 00:33:21 +01:00
MoNTE48
d07f0a660d
Fix the time format in `duration_to_string`
2021-12-18 00:31:56 +01:00
MoNTE48
b90fe6bbc6
Fix position of the infotext
2021-12-04 23:47:06 +01:00
MoNTE48
cca13417fe
iOS: forced saving settings when connecting to the game
2021-12-04 23:47:06 +01:00
sfan5
75d755a331
Reserve vectors before pushing and other code quality changes ( #11161 )
2021-12-04 23:47:06 +01:00
sfan5
991cceaf16
Remove broken timeout behaviour
...
Code that relies on `resend_count` was added in 7ea4a03
and 247a1eb
, but never worked.
This was fixed in #11607 which caused the problem to surface.
Hence undo the first commit entirely and change the logic of the second.
2021-12-04 23:47:06 +01:00
sfan5
b7f2ba0da2
Shave off buffer copies in networking code ( #11607 )
2021-12-04 23:47:06 +01:00
luk3yx
1a13324379
Add new functions
2021-12-04 23:47:06 +01:00
MoNTE48
9454597e32
Mobile: improve formspec scaling on large tablets
2021-12-02 10:12:03 +01:00
sfan5
667f1f2a2e
Fix "Could not create ITexture, texture needs to have a non-empty name" warning
2021-11-17 02:49:18 +02:00
MoNTE48
d6b01ab8ef
Revert "Prevent interacting with items out of the hotbar ( #10359 )"
2021-11-16 01:09:50 +02:00
MoNTE48
bd17b2f6d7
Fix compatibility with Irrlicht 1.9-dev
2021-11-04 00:30:52 +01:00
sfence
d40a598fe4
Add min_y and max_y checks for Active Block Modifiers (ABM) ( #11333 )
...
This check can be used by ABM to reduce CPU usage.
2021-11-03 23:49:48 +01:00
luk3yx
a3e3f12900
Log approximate RAM usage of mods during startup (with --info)
2021-09-13 12:58:34 +02:00
Vitaliy
40bdb9c609
Pause animations while game is paused ( #10658 )
...
Pauses all mesh animations while game is paused.
2021-09-03 21:36:02 +12:00
MoNTE48
95e1e263c6
macOS: minor fixes
2021-08-30 22:53:49 +02:00
luk3yx
22cf4452c6
Make clang-format happy
2021-08-26 12:03:41 +12:00
lhofhansl
1c5ec55215
Fix build for newer versions of GCC ( #11246 )
2021-08-26 11:12:43 +12:00
luk3yx
8c2db140ce
Wipe metadata when placing schematics
...
This probably isn't very optimised but it works and doesn't seem to hold
things up a lot (but schematic placing is already quite fast so maybe it
would with larger schematics).
2021-08-11 10:15:18 +02:00
luk3yx
8398d7be17
Add node name to deprecation warnings
2021-08-02 08:33:44 +12:00
MoNTE48
0534d696f7
Merge MultiCraft Legacy changes
2021-07-25 12:06:24 +02:00
luk3yx
b1fa8f8e2b
Fix nametags being shown in first person
2021-07-25 12:06:24 +02:00
luk3yx
8f0dd004f1
Add minetest.load_translation to the main menu API
2021-07-25 12:06:24 +02:00
luk3yx
c0f4228096
Add core.sleep_ms to async main menu API
2021-07-25 12:06:24 +02:00
luk3yx
9bd686216a
Make it compile
2021-07-25 12:06:24 +02:00
luk3yx
1aabc2ca14
Merge tag '5.4.1' into main
...
5.4.1
2021-06-08 10:37:38 +12:00
HybridDog
4fbfe9443b
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>
2021-05-10 13:40:25 +02:00
luk3yx
d90bcc66d8
Fix drowning
2021-04-25 08:18:31 +12:00
Jean-Patrick Guerrero
42d1394ea4
Add GUIScene files
2021-04-17 23:52:58 +02:00
Jean-Patrick Guerrero
37278ff7f9
Bunch of optimizations
2021-04-17 21:04:47 +02:00
savilli
ae1d82c325
Fix hud_change and hud_remove after hud_add ( #10997 )
2021-04-09 22:05:22 +02:00
Vitaliy
1c89a07226
Restore minimal normal texture support (for minimap shading)
2021-04-09 22:04:51 +02:00
sfan5
43e262f13e
Don't apply connection timeout limit to locally hosted servers
...
fixes #11085
2021-04-05 16:02:47 +02:00
sfan5
e5f802ab5c
Fix server favorites not saving when client/serverlist/ doesn't exist already ( #11152 )
2021-04-05 16:02:32 +02:00
Lars Müller
847860fc5c
Block & report player self-interaction ( #11137 )
2021-04-05 16:01:27 +02:00
SmallJoker
77e936445f
Protect dropping from far node inventories
...
Also changes if/if to switch/case
2021-04-05 16:01:21 +02:00
SmallJoker
41beb74ef7
Protect per-player detached inventory actions
2021-04-05 16:01:15 +02:00
Jean-Patrick Guerrero
27c0663894
Faster scroll_container
2021-03-15 10:45:24 +01:00
Jean-Patrick Guerrero
b5672f20f6
Customizable scrollbar
2021-03-15 10:45:24 +01:00
sfan5
a1e9311253
Fix integer-string conversion for shaders
...
closes #10605
2021-02-28 14:57:34 +01:00
Vitaliy
c123af8fc6
Shader support for OpenGL ES 2 devices
...
Co-authored-by: sfan5 <sfan5@live.de>
2021-02-28 14:57:34 +01:00
sfan5
9b59b2f75d
Fix keyWasDown in input handler
...
This was changed 291a6b70d6
but should have never been done.
2021-02-23 19:41:38 +01:00
DS
4abe4b87b5
Allow overwriting media files of dependencies ( #10752 )
2021-02-23 19:39:15 +01:00
savilli
29681085b9
Fix wrong number of items in allow_metadata_inventory_put/take callbacks ( #10990 )
2021-02-23 19:36:55 +01:00
updatepo.sh
e86fbf9c06
Update minetest.conf.example and dummy translation file
2021-02-23 19:03:34 +01:00
SmallJoker
bce875fada
Minimap: Fix default label translations
2021-02-22 20:25:16 +01:00
Lars Müller
051e4c2b00
Fix wrong reported item counts for inventory actions using Shift-Move ( #10930 )
2021-02-21 20:02:23 +01:00
Wuzzy
e441ab9675
Fix world-aligned node rendering at bottom ( #10742 )
2021-02-19 19:45:36 +01:00
rubenwardy
f85e9ab925
Add nametag background setting and object property ( #10937 )
2021-02-17 19:51:28 +00:00
rubenwardy
a8f6befd39
Fix short_description fallback order ( #10943 )
2021-02-17 18:53:44 +00:00
SmallJoker
7832b6843e
Server-side authority for attached players ( #10952 )
...
The server must have authority about attachments. This commit ignores any player movement packets as long they're attached.
2021-02-15 20:41:19 +01:00
sfan5
f018737b06
Fix segfault with invalid texture strings and minimap enabled
...
closes #10949
2021-02-14 11:28:02 +01:00
Lars
9f8c34c357
Remove all bump mapping and parallax occlusion related code.
2021-02-14 09:58:29 +01:00
hecks
924f7353cb
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
2021-02-14 09:58:29 +01:00
mntmn
9b300d4978
shaders: Fix transparency on GC7000L ( #10036 )
...
Workaround for the missing GL_ALPHA_TEST implementation in Mesa (etnaviv driver).
2021-02-14 09:58:28 +01:00
numberZero
6797852eec
Fast sky with stairs optimization
2021-02-14 09:58:28 +01:00
Vitaliy
ea2ddf2be7
Add Lua UTF-8 lib ( #4 )
...
Co-authored-by: MoNTE48 <MoNTE48@mail.ua>
2021-02-14 09:58:28 +01:00
MoNTE48
5d9ca99ad7
Backport MultiCraft TouchScreenGUI improvements
2021-02-14 09:58:28 +01:00
MoNTE48
2aa0400bd2
Backport MultiCraft Engine changes
2021-02-14 09:58:28 +01:00
luk3yx
c9c3087102
Add alternate /announce URL
2021-02-14 09:58:28 +01:00
MoNTE48
ceb81ad42f
Backport mapgen_v7p
2021-02-14 09:58:28 +01:00
luk3yx
46a453012d
Add client-side SSCSM support.
2021-02-14 09:58:28 +01:00
SmallJoker
375bcd65c1
Send attachments instantly before set_pos ( #10235 )
2021-02-12 20:54:06 +01:00
luk3yx
90211350a5
Add server-side SSCSM support.
2021-02-12 19:13:36 +01:00
Jean-Patrick Guerrero
1d64e6537c
Pause menu: Fix segfault on u/down key input
2021-02-08 18:56:51 +01:00
Jean-Patrick Guerrero
6591597430
Fix animation_image support in scroll containers
2021-02-08 00:04:38 +00:00
rubenwardy
857dbcd572
Reduce empty translation error to infostream
...
Fixes #10905
2021-02-07 16:03:48 +00:00
rubenwardy
3a8c37181a
Use consistent temp folder path ( #10892 )
2021-02-07 15:27:24 +00:00
Vitaliy
4caf156be5
Rewrite touch event conversion ( #10636 )
2021-02-07 11:48:30 +01:00
Muhammad Rifqi Priyo Susanto
3ac07ad34d
Fall back to default when rendering mode (3d_mode) is set invalid ( #10922 )
2021-02-06 13:47:12 +01:00
rubenwardy
fbb9ef3818
Reduce ore noise_parms error to deprecation warning ( #10921 )
...
Fixes #10914
2021-02-06 13:46:45 +01:00
sfan5
0f74c7a977
Fix double free caused by CGUITTFont code
...
This partially reverts commit 2072afb72b
.
fixes #10920
2021-02-06 13:34:56 +01:00
SmallJoker
d287da184c
Server: properly delete ServerMap on interrupted startups
...
A static mod error (e.g. typo) would abort the initialization but never free ServerMap
2021-02-05 18:38:34 +01:00
k.h.lai
2072afb72b
Fix memory leak detected by address sanitizer ( #10896 )
2021-02-02 20:56:24 +01:00
Vincent Robinson
f227e40180
Fix list spacing and size (again) ( #10869 )
2021-02-02 20:55:13 +01:00
sfan5
674d67f312
Encode high codepoints as surrogates to safely transport wchar_t over network
...
fixes #7643
2021-02-02 20:46:08 +01:00
sfan5
c834d2ab25
Drop wide/narrow conversion functions
...
The only valid usecase for these is interfacing with OS APIs
that want a locale/OS-specific multibyte encoding.
But they weren't used for that anywhere, instead UTF-8 is pretty
much assumed when it comes to that.
Since these are only a potential source of bugs and do not fulfil
their purpose at all, drop them entirely.
2021-02-02 20:46:08 +01:00
sfan5
5e392cf34f
Refactor utf8_to_wide/wide_to_utf8 functions
2021-02-02 20:46:08 +01:00
SmallJoker
7ebd5da9cd
Server GotBlocks(): Lock clients to avoid multithreading issues
2021-02-02 19:10:35 +01:00
sfan5
40ad976753
Revise dynamic_add_media API to better accomodate future changes
2021-02-01 23:00:13 +01:00
sfan5
a01a02f7a1
Preserve immortal group for players when damage is disabled
2021-01-31 20:38:12 +01:00
sfan5
fd1c1a755e
Readd Client::sendPlayerPos optimization (was part of 81c7f0a
)
...
This reverts commit b49dfa92ce
.
2021-01-31 20:38:12 +01:00
sfan5
112a6adb10
Cache client IP in RemoteClient so it can always be retrieved ( #10887 )
...
specifically: after the peer has already disappeared
2021-01-31 20:36:47 +01:00
rubenwardy
6e0e0324a4
Fix minetest.dig_node returning true when node isn't diggable ( #10890 )
2021-01-31 18:49:51 +00:00
updatepo.sh
cb807b26e2
Update minetest.conf.example and dummy translation file
2021-01-30 21:12:46 +01:00
SmallJoker
9a177f009b
PlayerDatabaseFiles: Fix segfault while saving a player
...
Corrects a typo introduced in 5e9dd166
2021-01-29 18:02:40 +01:00
sfan5
9c91cbf50c
Handle changes caused by CMake minimum version bump ( #10859 )
...
fixes #10806
2021-01-29 17:35:29 +01:00
sfan5
83229921e5
Rework use_texture_alpha to provide three opaque/clip/blend modes
...
The change that turns nodeboxes and meshes opaque when possible is kept,
as is the compatibility code that warns modders to adjust their nodedefs.
2021-01-29 17:34:41 +01:00
sfan5
edd8c3c664
Drop never documented 'alpha' property from nodedef
...
Includes minimal support code for practical reasons.
We'll need it for a slightly different purpose next commit.
2021-01-29 17:34:41 +01:00
SmallJoker
2760371d8e
Settings: Purge getDefault, clean FontEngine
2021-01-29 17:32:35 +01:00
SmallJoker
37a05ec8d6
Settings: Proper priority hierarchy
...
Remove old defaults system
Introduce priority-based fallback list
Use new functions for map_meta special functions
Change groups to use end tags
Unittest changes:
* Adapt unittest to the new code
* Compare Settings objects
2021-01-29 17:32:35 +01:00
SmallJoker
5e9dd1667b
RemotePlayer: Remove Settings writer to Files database
2021-01-29 17:32:35 +01:00
rubenwardy
b5956bde25
Sanitize ItemStack meta text
2021-01-28 21:33:10 +00:00
Vitaliy
ed0882fd58
Include irrlichttypes.h first to work around Irrlicht#433 ( #10872 )
...
Fixes the PcgRandom::PcgRandom linker issue, caused by inconsistent data type definition.
2021-01-28 21:25:13 +01:00
Zughy
44a9510c81
Consistently use "health points" ( #10868 )
2021-01-27 18:42:02 +00:00
Vitaliy
8dae7b47fc
Improve irr_ptr ( #10808 )
2021-01-24 14:40:34 +00:00
Vincent Robinson
ad9adcb884
Fix formspec list spacing ( #10861 )
2021-01-23 14:49:13 -08:00
Vincent Robinson
6a55c03dab
Make hypertext and textarea have proper scroll event propagation. ( #10860 )
2021-01-23 14:48:57 -08:00
Vincent Robinson
009e39e73b
FormSpec: Add list spacing, slot size, and noclip ( #10083 )
...
* Add list spacing, slot size, and noclip
* Simplify StyleSpec
* Add test cases
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-23 12:46:19 -08:00
rubenwardy
4c76239818
Remove dead code ( #10845 )
2021-01-22 15:09:26 +00:00
rubenwardy
67aa75d444
Use JSON for favorites, move server list code to Lua ( #10085 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2021-01-22 15:08:57 +00:00
rubenwardy
4fcd000e20
MgOre: Fix invalid field polymorphism ( #10846 )
2021-01-21 19:08:06 +00:00
Zughy
45ccfe26fb
Removed some obsolete code ( #10562 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2021-01-21 18:17:09 +00:00
Zughy
ea5d6312c1
ObjectRef: fix some v3f checks ( #10602 )
2021-01-21 18:37:38 +01:00
sfan5
d92da47697
Improve --version output to include Lua(JIT) version
2021-01-21 00:52:31 +01:00
Wuzzy
7f25823bd4
Allow "liquid" and "flowingliquid" drawtypes even if liquidtype=none ( #10737 )
2021-01-21 00:51:24 +01:00
luk3yx
7b37f2c1d8
Re-add protocol v25-33 support for servers.
2021-01-19 13:24:17 +01:00
Loïc Blot
4b01282821
Factorize more guiEditBoxes code ( #10789 )
...
* Factorize more guiEditBoxes code
2021-01-13 09:05:09 +01:00
JDiaz
08ee9794fb
Implement on_rightclickplayer callback ( #10775 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-11 18:03:31 +01:00
Loïc Blot
5fcc78a1fe
Refactor/gui editbox ( #10787 )
2021-01-07 13:21:12 +01:00
Loïc Blot
58a709096e
refacto: factorize multiple code parts from guiEditbox childs ( #10782 )
2021-01-04 20:19:20 +01:00
rubenwardy
edd0836011
ContentDB: Add overwrite dialog when content is already installed ( #10768 )
2021-01-04 15:18:31 +00:00
hecks
dd5a732fa9
Add on_deactivate callback for luaentities ( #10723 )
2021-01-02 15:14:29 +01:00
Jean-Patrick Guerrero
ff921f6989
Formspecs: Fix broken texture escaping with model[]
2021-01-01 17:03:34 +01:00
Elias Fleckenstein
9250b5205a
Add minetest.get_objects_in_area ( #10668 )
2020-12-29 16:50:09 +01:00
Lars Mueller
09d7fbd645
Fix item tooltip background color not working
2020-12-28 13:57:45 +01:00
Lars Mueller
8f72d4b294
Fix minetest.is_nan
2020-12-24 22:07:04 +01:00
sfan5
74762470b2
Fix some minor code issues all over the place
2020-12-24 13:44:54 +01:00
Lars
289425f6bd
Minor profiler fixes.
2020-12-23 14:48:08 -08:00
rubenwardy
2c3593b51e
Fix unsafe cast in l_object
2020-12-23 22:24:58 +00:00
Markus
af22dd86e3
Fix some more joystick issues ( #10624 )
2020-12-19 22:01:05 +01:00
Vitaliy
ccbf8029ea
Cleanup shader generation code ( #10663 )
...
Shader generation is a mess. This commit cleans some parts up, including dropping remains of HLSL support which was never actually implemented.
2020-12-19 20:57:10 +01:00
rubenwardy
664f5ce960
Add open user data button to main menu ( #10579 )
2020-12-19 13:27:15 +00:00
DS
6f8a1c99d5
Documentation for highest formspec_version[] and changelog ( #10592 )
2020-12-18 19:38:07 +01:00
Lars
e638056523
Allow configuring block disk and net compression. Change default disk level.
2020-12-15 10:15:25 -08:00
Thomas--S
d0a38f694d
Formspec: Allow to specify frame loop for model[] ( #10679 )
...
Add the ability to specify an animation frame loop range for the model[] formspec element.
2020-12-15 19:06:36 +01:00
Zughy
4d41ed0975
Semi-transparent background for nametags ( #10152 )
2020-12-14 23:49:30 +01:00
SmallJoker
f2c8c6bf51
Revert "GUIFormSpecMenu: Shift+Click listring workaround for MacOS"
...
The commit caused Shift-Clicking issues on Linux due to another Irrlicht bug where
KeyInput.Shift released keys do not trigger OnEvent()
MacOS users should build using a recent Irrlicht 1.8 development version.
See also: https://sourceforge.net/p/irrlicht/patches/321/
2020-12-14 11:05:24 -08:00
SmallJoker
e18b6c5a21
GUIFormSpecMenu: Shift+Click listring workaround for MacOS
...
event.MouseInput.Shift is not implemented for MacOS
2020-12-12 20:55:06 +01:00
hecks
6d7067fd37
Implement mapblock camera offset correctly ( #10702 )
...
Implement mapblock camera offset correctly - reduce client jitter
Co-authored-by: hecktest <>
2020-12-05 15:03:40 -08:00
sfan5
07e0b527cf
Revert "Increase limit for simultaneous blocks sent per client and the meshgen cache."
...
This reverts commit 2f6393f49d
.
2020-12-04 19:06:16 -08:00
SmallJoker
3176daee79
Input: Fix on_rightclick called when placing into air
2020-11-29 19:20:45 +01:00
Lars
f1d72d212a
Avoid generating the same chunk more than once with multiple emerge threads.
2020-11-26 20:31:20 -08:00
sfan5
9bb381ebd3
Change typedef to normal definitions in GUI code
2020-11-26 22:42:19 +01:00
sfan5
868749b4f8
Return star color calculation to what it previously was
2020-11-26 22:17:11 +01:00
numzero
8689e00fca
Fix style
2020-11-26 12:49:10 -08:00
numzero
c158e20e5b
Provide fallback star color for GLES 2 with MT shaders disabled
2020-11-26 12:49:10 -08:00
numzero
cdcf7dca7c
Sky: support GLES2
...
IrrLicht built-in shader is broken, have to write my own
2020-11-26 12:49:10 -08:00
numzero
be59668f47
Allow missing shaders
2020-11-26 12:49:10 -08:00
numzero
d7cf40a0ce
Replace TriangleFan as poorly supported
2020-11-26 12:49:10 -08:00
numzero
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
numzero
3077afc0a2
Store stars in a single static mesh buffer
2020-11-26 12:49:10 -08:00
numzero
89cc5bf537
Don't evaluate things many times
2020-11-26 12:49:10 -08:00
numzero
095f82692d
Batch cloud drawing
2020-11-26 12:49:10 -08:00
Lars
f1349be542
Avoid marking map blocks dirty upon deserialization.
2020-11-26 11:41:55 -08:00
Lars
8dc70ebb93
Fix camera panning glitches (partially revert 10489.)
2020-11-25 14:22:36 -08:00
Pierre-Yves Rollo
78273027bf
Add sound to press event of some formspecs elements ( #10402 )
2020-11-23 21:28:25 +01:00