Commit Graph

56 Commits

Author SHA1 Message Date
sfan5
8472141b79
Restructure devtest's unittests and run them in CI () 2021-12-18 20:36:43 +01:00
Wuzzy
6910c8d920
Fix number of tool uses being off by 1..32767 () 2021-10-31 22:33:33 +00:00
Wuzzy
86b44ecd82
Add no_texture.png as fallback for unspecified textures 2021-10-20 21:50:16 +02:00
hecks
02292e03e4
Add embedded PNG texture modifier () 2021-10-13 17:51:37 +02:00
Wuzzy
21113ad410
Split liquid_viscosity to liquid_viscosity and move_resistance () 2021-10-01 16:21:24 +02:00
Lars Müller
719a12ecac
Chop game background in mainmenu () 2021-09-14 20:46:02 +02:00
hecks
80d12dbedb
Add a simple PNG image encoder with Lua API ()
* Add a simple PNG image encoder with Lua API
Add ColorSpec to RGBA converter
Make a safety wrapper for the encoder
Create devtest examples

Co-authored-by: hecktest <>
Co-authored-by: sfan5 <sfan5@live.de>
2021-07-29 05:10:10 +02:00
sfan5
6e8aebf432
Add bold, italic and monospace font styling for HUD text elements ()
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
2021-07-27 19:11:46 +02:00
Wuzzy
f4d8cc0f0b
Add wallmounted support for plantlike and plantlike_rooted nodes () 2021-07-15 21:19:59 +02:00
Wuzzy
228f1c6770
Fix rotation for falling mesh degrotate nodes () 2021-04-28 08:38:47 +02:00
sfan5
daf862a38a Fix devtest Lua error
fallback_image() was removed in 3e1904fa8c4aae3448d58b7e60545a4fdd8234f3,
which was written after this PR but merged before it.
2021-04-21 16:42:34 +02:00
Wuzzy
90a7bd6a0a
Put torch/signlike node on floor if no paramtype2 () 2021-04-20 19:50:03 +02:00
Wuzzy
3e1904fa8c
Devtest: Remove testnodes_show_fallback_image 2021-04-05 13:37:58 +02:00
Vitaliy
3b78a22371
Degrotate support for mesh nodes () 2021-03-30 00:25:11 +02:00
Wuzzy
9113538142
DevTest: Formspec tests, children getter, better lighttool () 2021-03-16 18:37:24 +01:00
Wuzzy
88f514ad7a
Devtest: Fix missing log level in minetest.log () 2021-03-15 10:13:15 +01:00
DS
4abe4b87b5
Allow overwriting media files of dependencies () 2021-02-23 19:39:15 +01:00
Lars Müller
051e4c2b00
Fix wrong reported item counts for inventory actions using Shift-Move () 2021-02-21 20:02:23 +01:00
rubenwardy
f85e9ab925
Add nametag background setting and object property () 2021-02-17 19:51:28 +00:00
rubenwardy
a8f6befd39
Fix short_description fallback order () 2021-02-17 18:53:44 +00:00
Jean-Patrick Guerrero
6591597430 Fix animation_image support in scroll containers 2021-02-08 00:04:38 +00:00
Wuzzy
9b64834c6a
Devtest: Remove bumpmap/parallax occl. test nodes () 2021-02-04 21:43:29 +01:00
Vincent Robinson
f227e40180
Fix list spacing and size (again) () 2021-02-02 20:55:13 +01:00
sfan5
5c005ad081 devtest: Fix deprecated alpha usage 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
Vincent Robinson
6a55c03dab
Make hypertext and textarea have proper scroll event propagation. () 2021-01-23 14:48:57 -08:00
Vincent Robinson
009e39e73b
FormSpec: Add list spacing, slot size, and noclip ()
* 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
Wuzzy
7f25823bd4
Allow "liquid" and "flowingliquid" drawtypes even if liquidtype=none () 2021-01-21 00:51:24 +01:00
hecks
dd5a732fa9
Add on_deactivate callback for luaentities () 2021-01-02 15:14:29 +01:00
Wuzzy
025035db5c
DevTest: Add food item to test food replacement () 2020-12-18 19:38:39 +01:00
Zughy
4d41ed0975
Semi-transparent background for nametags () 2020-12-14 23:49:30 +01:00
SmallJoker
af073438fd
Various documentation fixes ()
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"
2020-12-10 20:59:24 +01:00
Wuzzy
ee1853e9bc
Fix falling image of torchlike if paramtype2="none" () 2020-11-15 17:37:09 +01:00
SmallJoker
3356da0151
Add model[] formspec element ()
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
Vitaliy
707c8c1e95
Shaders for Android (GLES 2) ()
Shader support for OpenGL ES 2 devices (Android)

Co-authored-by: sfan5 <sfan5@live.de>
2020-10-25 18:01:03 +01:00
Paramat
4d9c9186ce
Devtest: Automatically enable zoom capability ()
Make minor improvements to the zoom testing chat command.
Delete incorrect line about creative mode from README.md.
2020-10-20 22:13:27 +01:00
Paramat
2f871e3b49
Devtest hand tool: Update capabilities, add creative mode capabilities () 2020-10-13 23:59:47 +01:00
HybridDog
c61c175e9c
Add bumpmapping and parallax occlusion testing nodes to devtest () 2020-10-09 19:13:42 +01:00
DS
f3ae45b2b2
Add a short_description to be used by mods () 2020-10-09 19:11:21 +01:00
HybridDog
2f4037752b
Add minetest.get_artificial_light and minetest.get_natural_light ()
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>
2020-10-06 20:49:46 +02:00
Elijah Duffy
7d3641021b
Lua API: Add register_on_chatcommand to SSM and CSM ()
Allows catching a chatcommand call just after the command and the
parameters are parsed but before its existence is checked and before the
corresponding function is run. Returning `true` from a callback function
will prevent default handling of the command leaving mods to handle the
command manually.
2020-10-03 17:38:08 +01:00
Wuzzy
9faeca3290
Devtest: Extend tooltips of many items and tools ()
Also show error message when using tools wrong
2020-09-04 20:50:03 +02:00
Wuzzy
b3ace8f197
Scale inventory image for scaled allfaces nodes ()
The inventory image size of the inventory image of nodes with drawtype allfaces (and related) is scaled as well if visual_scale is set (previously, the inventory image size was always the same)
2020-09-04 20:49:50 +02:00
Hugues Ross
9976f36b18
Make bgcolor tint button background images () 2020-08-29 16:41:19 +01:00
DS
98faeac5a7
Load media from subfolders () 2020-08-20 22:25:29 +02:00
Lars Müller
1c38027c3a
Fix precision not working in hud_change () 2020-08-12 11:51:50 +02:00
sfan5
9bba52c400
content_cao: Support texture animation for upright_sprite () 2020-07-30 17:39:57 +02:00
Wuzzy
3f702fa1a9
Fix undeclared global in devtest () 2020-07-02 19:05:06 +02:00
Danila Shutov
3a6dfda358
Make shading of CAOs optional () 2020-06-16 20:48:31 +01:00
sfan5
a21f9bb7e6 devtest: Improve tool and formspec usability
also fix the yawsprite test entity
2020-06-08 21:17:40 +02:00