]>
git.lizzy.rs Git - dragonfireclient.git/log
sfan5 [Sun, 17 Jan 2021 01:25:33 +0000 (02:25 +0100)]
devtest: Fix deprecated alpha usage
sfan5 [Sun, 17 Jan 2021 00:56:50 +0000 (01:56 +0100)]
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.
sfan5 [Sat, 16 Jan 2021 21:16:04 +0000 (22:16 +0100)]
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.
Graham Northup [Fri, 29 Jan 2021 16:34:00 +0000 (11:34 -0500)]
Clarify key_value_swap's edge case (#10799)
In compiler design especially, leaving behavior as "undefined" is a _strong_ condition that basically states that all possible integrity is violated; it's the kind of thing that happens when, say, dereferencing a pointer with unknown provenance, and most typically leads to a crash, but can result in all sorts of spectacular errors--thus, "it is undefined" how your program will melt down.
The pure-Lua implementation of `key_value_swap` does not permit UB _per se_ (assuming the implementation of Lua itself is sound), but does deterministically choose the value to which a key is mapped (the last in visitation order wins--since visitation order is arbitrary, _some_ value _will_ be chosen). Most importantly, the program won't do something wildly unexpected.
SmallJoker [Sun, 29 Nov 2020 16:56:25 +0000 (17:56 +0100)]
Settings: Purge getDefault, clean FontEngine
SmallJoker [Sun, 22 Nov 2020 16:49:30 +0000 (17:49 +0100)]
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
SmallJoker [Wed, 25 Nov 2020 19:16:08 +0000 (20:16 +0100)]
RemotePlayer: Remove Settings writer to Files database
rubenwardy [Thu, 28 Jan 2021 16:32:37 +0000 (16:32 +0000)]
Sanitize ItemStack meta text
Vitaliy [Thu, 28 Jan 2021 20:25:13 +0000 (23:25 +0300)]
Include irrlichttypes.h first to work around Irrlicht#433 (#10872)
Fixes the PcgRandom::PcgRandom linker issue, caused by inconsistent data type definition.
rubenwardy [Thu, 28 Jan 2021 11:24:36 +0000 (11:24 +0000)]
ContentDB: Order installed content first (#10864)
Zughy [Wed, 27 Jan 2021 18:42:02 +0000 (19:42 +0100)]
Consistently use "health points" (#10868)
Vitaliy [Sun, 24 Jan 2021 14:40:34 +0000 (17:40 +0300)]
Improve irr_ptr (#10808)
Vincent Robinson [Sat, 23 Jan 2021 22:49:13 +0000 (14:49 -0800)]
Fix formspec list spacing (#10861)
Vincent Robinson [Sat, 23 Jan 2021 22:48:57 +0000 (14:48 -0800)]
Make hypertext and textarea have proper scroll event propagation. (#10860)
Yaman Qalieh [Sat, 23 Jan 2021 21:40:48 +0000 (16:40 -0500)]
Fix ESC in error dialog from closing Minetest (#10838)
Vincent Robinson [Sat, 23 Jan 2021 20:46:19 +0000 (12:46 -0800)]
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>
rubenwardy [Fri, 22 Jan 2021 15:09:26 +0000 (15:09 +0000)]
Remove dead code (#10845)
rubenwardy [Fri, 22 Jan 2021 15:08:57 +0000 (15:08 +0000)]
Use JSON for favorites, move server list code to Lua (#10085)
Co-authored-by: sfan5 <sfan5@live.de>
rubenwardy [Thu, 21 Jan 2021 19:08:06 +0000 (19:08 +0000)]
MgOre: Fix invalid field polymorphism (#10846)
Zughy [Thu, 21 Jan 2021 19:01:37 +0000 (19:01 +0000)]
Load system-wide texture packs too (#10791)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Zughy [Thu, 21 Jan 2021 18:17:09 +0000 (18:17 +0000)]
Removed some obsolete code (#10562)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Zughy [Thu, 21 Jan 2021 17:37:38 +0000 (17:37 +0000)]
ObjectRef: fix some v3f checks (#10602)
sfan5 [Wed, 20 Jan 2021 14:01:48 +0000 (15:01 +0100)]
Improve --version output to include Lua(JIT) version
Wuzzy [Wed, 20 Jan 2021 23:51:24 +0000 (00:51 +0100)]
Allow "liquid" and "flowingliquid" drawtypes even if liquidtype=none (#10737)
Zughy [Wed, 20 Jan 2021 22:32:18 +0000 (22:32 +0000)]
Local tab: rename 'Configure' to 'Select Mods' (#10779)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Muhammad Rifqi Priyo Susanto [Wed, 20 Jan 2021 22:31:59 +0000 (05:31 +0700)]
Android: Update Gradle, NDK, Build Tools, and SQLite version (#10833)
rubenwardy [Wed, 20 Jan 2021 20:37:24 +0000 (20:37 +0000)]
Fix Android support in bump_version.sh (#10836)
M.K [Mon, 18 Jan 2021 00:45:32 +0000 (01:45 +0100)]
Fix double word "true" in minetest.is_nan explanation (#10820)
rubenwardy [Sat, 16 Jan 2021 17:51:40 +0000 (17:51 +0000)]
ContentDB: Ignore content not installed from ContentDB
Loïc Blot [Wed, 13 Jan 2021 08:05:09 +0000 (09:05 +0100)]
Factorize more guiEditBoxes code (#10789)
* Factorize more guiEditBoxes code
Zughy [Mon, 11 Jan 2021 17:03:46 +0000 (17:03 +0000)]
Document how to make nametags background disappear on players' head (#10783)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
JDiaz [Mon, 11 Jan 2021 17:03:31 +0000 (18:03 +0100)]
Implement on_rightclickplayer callback (#10775)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Zughy [Sun, 10 Jan 2021 19:10:12 +0000 (19:10 +0000)]
Sanitize server IP field in mainmenu (#10793)
Loïc Blot [Thu, 7 Jan 2021 12:21:12 +0000 (13:21 +0100)]
Refactor/gui editbox (#10787)
Loïc Blot [Mon, 4 Jan 2021 19:19:20 +0000 (20:19 +0100)]
refacto: factorize multiple code parts from guiEditbox childs (#10782)
sfan5 [Sat, 2 Jan 2021 14:43:35 +0000 (15:43 +0100)]
Update Gitlab-CI pipeline
rubenwardy [Mon, 4 Jan 2021 15:18:31 +0000 (15:18 +0000)]
ContentDB: Add overwrite dialog when content is already installed (#10768)
hecks [Sat, 2 Jan 2021 14:14:29 +0000 (15:14 +0100)]
Add on_deactivate callback for luaentities (#10723)
OgelGames [Sat, 2 Jan 2021 14:13:53 +0000 (01:13 +1100)]
Clarify documentation of minetest.get_modpath and minetest.get_modnames (#10771)
Zughy [Sat, 2 Jan 2021 14:13:02 +0000 (15:13 +0100)]
"Browse online content" formspec improvement (#10756)
Jean-Patrick Guerrero [Fri, 1 Jan 2021 16:03:34 +0000 (17:03 +0100)]
Formspecs: Fix broken texture escaping with model[]
Elias Fleckenstein [Tue, 29 Dec 2020 15:50:09 +0000 (16:50 +0100)]
Add minetest.get_objects_in_area (#10668)
Lars Mueller [Thu, 24 Dec 2020 13:26:42 +0000 (14:26 +0100)]
Fix item tooltip background color not working
Zughy [Mon, 28 Dec 2020 12:56:58 +0000 (12:56 +0000)]
Display Minetest header when menu_last_game value isn't available anymore (#10751)
Lars Mueller [Thu, 24 Dec 2020 13:48:05 +0000 (14:48 +0100)]
Fix minetest.is_nan
sfan5 [Wed, 23 Dec 2020 21:03:49 +0000 (22:03 +0100)]
Fix some minor code issues all over the place
Lars [Mon, 21 Dec 2020 03:22:04 +0000 (19:22 -0800)]
Minor profiler fixes.
rubenwardy [Wed, 23 Dec 2020 16:39:29 +0000 (16:39 +0000)]
Fix unsafe cast in l_object
sfan5 [Wed, 23 Dec 2020 20:24:27 +0000 (21:24 +0100)]
CI: fix build
rubenwardy [Wed, 23 Dec 2020 14:42:18 +0000 (14:42 +0000)]
Add dependency resolution to ContentDB (#9997)
Wuzzy [Tue, 22 Dec 2020 13:54:27 +0000 (14:54 +0100)]
Fix fallnode rotation of wallmounted nodebox/mesh (#10643)
Vitaliy [Tue, 22 Dec 2020 13:53:52 +0000 (16:53 +0300)]
Fix GLES shader support after #9247 (#10727)
Markus [Sat, 19 Dec 2020 21:01:05 +0000 (22:01 +0100)]
Fix some more joystick issues (#10624)
Andrey [Sat, 19 Dec 2020 21:00:20 +0000 (00:00 +0300)]
MainMenu: Add clear button and icon for search input (#10363)
Vitaliy [Sat, 19 Dec 2020 19:57:10 +0000 (22:57 +0300)]
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.
rubenwardy [Sat, 19 Dec 2020 13:27:15 +0000 (13:27 +0000)]
Add open user data button to main menu (#10579)
Wuzzy [Fri, 18 Dec 2020 18:38:39 +0000 (19:38 +0100)]
DevTest: Add food item to test food replacement (#10642)
LoneWolfHT [Fri, 18 Dec 2020 18:38:27 +0000 (10:38 -0800)]
Make installer create its own Minetest folder (#10445)
This changes the installer to create its own Minetest folder instead of having the user create it themselves. This prevents spewing the contents of Minetest everywhere when users change the install directory and expect the installer to create a folder to put it in
DS [Fri, 18 Dec 2020 18:38:07 +0000 (19:38 +0100)]
Documentation for highest formspec_version[] and changelog (#10592)
Lars [Wed, 9 Dec 2020 22:30:37 +0000 (14:30 -0800)]
Allow configuring block disk and net compression. Change default disk level.
Thomas--S [Tue, 15 Dec 2020 18:06:36 +0000 (19:06 +0100)]
Formspec: Allow to specify frame loop for model[] (#10679)
Add the ability to specify an animation frame loop range for the model[] formspec element.
wsor4035 [Tue, 15 Dec 2020 18:05:55 +0000 (13:05 -0500)]
lua_api.txt: Add mod_orgin to node def (#10697)
Zughy [Mon, 14 Dec 2020 22:49:30 +0000 (23:49 +0100)]
Semi-transparent background for nametags (#10152)
SmallJoker [Sun, 13 Dec 2020 17:25:13 +0000 (18:25 +0100)]
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/
SmallJoker [Wed, 22 Jan 2020 19:23:40 +0000 (20:23 +0100)]
GUIFormSpecMenu: Shift+Click listring workaround for MacOS
event.MouseInput.Shift is not implemented for MacOS
SmallJoker [Thu, 10 Dec 2020 19:59:24 +0000 (20:59 +0100)]
Various documentation fixes (#10692)
set_sky: New feature, keep note about the old syntax
get_us_time: Document overflow
localplayer: Document "nil" behaviour before initialization
collision_box: Safe limit of "1.45"
hecks [Sat, 5 Dec 2020 23:03:40 +0000 (00:03 +0100)]
Implement mapblock camera offset correctly (#10702)
Implement mapblock camera offset correctly - reduce client jitter
Co-authored-by: hecktest <>
sfan5 [Fri, 4 Dec 2020 23:09:12 +0000 (00:09 +0100)]
Revert "Increase limit for simultaneous blocks sent per client and the meshgen cache."
This reverts commit
2f6393f49d5ebf21abfaa7bff876b8c0cf4ca191 .
Oblomov [Fri, 4 Dec 2020 19:16:53 +0000 (20:16 +0100)]
Cross-reference the node level manipulation functions (#10633)
This can help developers find the correct functions to access and manipulate the fluid level.
HybridDog [Fri, 4 Dec 2020 19:16:12 +0000 (20:16 +0100)]
Fix MSAA stripes (#9247)
This only works when shaders are enabled.
The centroid varying avoids that the textures (which repeat themselves out of bounds) are sampled out of bounds in MSAA.
If MSAA (called FSAA in minetest) is disabled, the centroid keyword does nothing.
sfan5 [Fri, 4 Dec 2020 10:27:15 +0000 (11:27 +0100)]
Fix certain connected nodeboxes crashing when falling
fixes #10695
SmallJoker [Sun, 29 Nov 2020 18:20:45 +0000 (19:20 +0100)]
Input: Fix on_rightclick called when placing into air
Lars [Mon, 16 Nov 2020 06:58:57 +0000 (22:58 -0800)]
Avoid generating the same chunk more than once with multiple emerge threads.
sfan5 [Thu, 26 Nov 2020 21:19:46 +0000 (22:19 +0100)]
Change typedef to normal definitions in GUI code
sfan5 [Thu, 26 Nov 2020 21:17:11 +0000 (22:17 +0100)]
Return star color calculation to what it previously was
numzero [Sun, 22 Nov 2020 22:04:31 +0000 (01:04 +0300)]
Fix style
numzero [Sun, 22 Nov 2020 16:49:38 +0000 (19:49 +0300)]
Provide fallback star color for GLES 2 with MT shaders disabled
numzero [Sun, 22 Nov 2020 15:25:41 +0000 (18:25 +0300)]
Sky: support GLES2
IrrLicht built-in shader is broken, have to write my own
numzero [Sun, 22 Nov 2020 14:36:59 +0000 (17:36 +0300)]
Allow missing shaders
numzero [Sun, 22 Nov 2020 13:44:00 +0000 (16:44 +0300)]
Replace TriangleFan as poorly supported
numzero [Sun, 22 Nov 2020 13:41:36 +0000 (16:41 +0300)]
Reuse seed when updating stars
The only currently relevant parameter is scale which can now be changed
without resetting stars position
numzero [Sun, 22 Nov 2020 13:29:31 +0000 (16:29 +0300)]
Store stars in a single static mesh buffer
numzero [Sun, 22 Nov 2020 13:43:38 +0000 (16:43 +0300)]
Don't evaluate things many times
numzero [Sun, 22 Nov 2020 06:13:16 +0000 (09:13 +0300)]
Batch cloud drawing
Lars [Thu, 26 Nov 2020 01:16:41 +0000 (17:16 -0800)]
Avoid marking map blocks dirty upon deserialization.
Lars [Tue, 24 Nov 2020 17:23:18 +0000 (09:23 -0800)]
Fix camera panning glitches (partially revert 10489.)
Pierre-Yves Rollo [Wed, 16 Sep 2020 15:10:17 +0000 (17:10 +0200)]
Add sound to press event of some formspecs elements (#10402)
MoNTE48 [Sun, 22 Nov 2020 13:21:08 +0000 (14:21 +0100)]
Fix Visual Studio build in Actions
Paramat [Fri, 20 Nov 2020 16:11:19 +0000 (16:11 +0000)]
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.
Lars [Thu, 12 Nov 2020 18:37:34 +0000 (10:37 -0800)]
Increase limit for simultaneous blocks sent per client and the meshgen cache.
Lejo [Sun, 15 Nov 2020 16:38:04 +0000 (17:38 +0100)]
Auto build client appimage (#10561)
* Replace ubuntu:14.04 with ubuntu 18:04
* Auto build client appimage
Co-authored-by: sfan5 <sfan5@live.de>
Wuzzy [Sun, 15 Nov 2020 16:37:09 +0000 (17:37 +0100)]
Fix falling image of torchlike if paramtype2="none" (#10612)
sfan5 [Tue, 10 Nov 2020 20:46:30 +0000 (21:46 +0100)]
serverpackethandler: Minor log message fixes
closes #10434
sfan5 [Tue, 10 Nov 2020 20:43:06 +0000 (21:43 +0100)]
Copy position for can_dig
fixes #10514
sfan5 [Tue, 10 Nov 2020 20:36:58 +0000 (21:36 +0100)]
Fix player sprite visibility in first person
closes #10525
sfan5 [Tue, 10 Nov 2020 20:22:02 +0000 (21:22 +0100)]
Fix overloaded virtual warnings with get/setAttachment()
red-001 [Thu, 12 Nov 2020 20:05:47 +0000 (20:05 +0000)]
Fix warnings about an unused variables and implicit conversion (#10586)
SmallJoker [Thu, 12 Nov 2020 18:16:02 +0000 (19:16 +0100)]
Revert "Replace MyEventReceiver KeyList with std::unordered_set" (#10622)
This reverts commit
787561b29afdbc78769f68c2f5c4f2cff1b32340 .
SmallJoker [Thu, 12 Nov 2020 18:15:41 +0000 (19:15 +0100)]
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
Lars [Sun, 8 Nov 2020 20:30:38 +0000 (12:30 -0800)]
Increase default emerge queue limits and limit enqueue requests for active blocks.