Jude Melton-Houghton
310b12b5ed
Content ID caching in Lua ( #12444 )
...
* Cache content IDs in Lua
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-18 17:46:48 +02:00
Wuzzy
1d04903c19
Add paramtype2s for 4 horizontal rotations and 64 colors ( #11431 )
...
4dir is like facedir, but only for 4 horizontal directions: NESW. It is identical in behavior to facedir otherwise. The reason why game makers would want to use this over facedir is 1) simplicity and 2) you get 6 free bits.
It can be used for things like chests and furnaces and you don't need or want them to "flip them on the side" (like you could with facedir).
color4dir is like colorfacedir, but you get 64 colors instead of only 8.
2022-09-16 13:18:55 +02:00
Gregor Parzefall
70b71c5013
Fix rotation of falling facedir nodes ( #12587 )
...
in some cases
2022-07-31 15:18:29 +02:00
Lars Müller
b204655081
Fix regression & replace more occurrences of vector.new with vector.copy ( #12539 )
2022-07-14 20:51:42 +02:00
sfan5
fc3460470a
Add missing item alias metatables to async environment ( #12458 )
2022-07-04 01:06:42 +02:00
Vincent Robinson
f7bcf7fa46
FormSpec: 9-slice images, animated_images, and fgimg_middle ( #12453 )
...
* FormSpec: 9-slice images and animated_images
* Add fgimg_middle; clean up code
* Address issues, add tests
* Fix stupid error; bump formspec version
* Re-add image[] elements without a size
2022-07-03 08:52:26 -04:00
Wuzzy
9ac3b52fdc
DevTest: Add item meta editor ( #12307 )
2022-07-02 19:58:00 +01:00
sfan5
46e7b51352
Add unittests for entity lifecycle and callbacks
2022-06-15 17:20:07 +02:00
Lars Müller
e7d4ec6834
on_deactivate: distinguish removal and unloading ( #11931 )
...
Sometimes you need to be able to do removal-related cleanup, such as removing files from disk, or entries from a database. staticdata obviously isn't suitable for large data. The data shouldn't be removed if the entity is unloaded, only if it is removed.
2022-06-11 20:01:14 +02:00
sfan5
8908a91016
Get rid of node metadata when it becomes empty
...
fixes #8943
2022-05-29 14:00:19 +02:00
Wuzzy
fe299e24d6
DevTest: Add nodes and items for testing overlays ( #12304 )
2022-05-27 21:39:36 +02:00
rubenwardy
4e9e230e34
Deprecate game.conf name, use title instead ( #12030 )
2022-05-21 16:23:30 +01:00
Wuzzy
eabf05758e
DevTest: Fix broken PNG textures
2022-05-17 20:06:15 +02:00
Jude Melton-Houghton
7f58887ae3
Support packing arbitrary graphs ( #12289 )
2022-05-10 22:37:33 +02:00
Jude Melton-Houghton
d17d7eba14
Fix cooking and fuel crafts with aliases
2022-05-10 22:37:05 +02:00
sfan5
e7659883cc
Async environment for mods to do concurrent tasks ( #11131 )
2022-05-02 20:56:06 +02:00
x2048
828461c193
Run automated tests when lua files change ( #12184 )
...
* Run automated tests when lua files change
* skip busted on devtest
* use newer build env
* Add .luacheckrc for games/devetest
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-30 15:54:07 +02:00
Wuzzy
a2f13e479b
DevTest: Fix armorball sprite ( #12228 )
2022-04-28 18:51:16 +02:00
Wuzzy
77325b92fb
DevTest: Add more test weapons and armorball modes ( #11870 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-24 22:48:50 +01:00
Dmitry Kostenko
3a87fab6c8
Remove reference to a removed file in devtest (followup to #12157 )
2022-04-07 23:13:09 +02:00
x2048
1348d9aaf8
Enable shadows by default in devtest ( #12157 )
...
* Move all shadow control to util_commands
* Shadows are now controlled with /set_shadow
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-07 21:55:19 +02:00
Jude Melton-Houghton
06d197cdd0
Store vector metatable in registry
2022-03-29 18:07:00 +02:00
x2048
0f25fa7af6
Add API to control shadow intensity from the game/mod ( #11944 )
...
* Also Disable shadows when sun/moon is hidden. Fixes #11972 .
2022-03-26 16:58:26 +01:00
DS
633e23bd65
FormspecMenu: make drawing of backgrounds less hacky ( #9517 )
2022-02-22 19:17:53 +01:00
Nils Dagsson Moskopp
7c227d2a00
Add TGA test nodes to devtest ( #11978 )
2022-02-22 19:17:40 +01:00
pecksin
5d0b18a0d0
Use absolute value for bouncy in collision ( #11969 )
...
* use abs(bouncy) in collision
* test case for negative bouncy
* send abs(bouncy) to old clients
2022-02-16 17:06:00 -05:00
DS
a8707158a5
Allow to set the displayed item count and its alignment via meta ( #8448 )
...
* Allow to set the displayed item count and its offset via meta
* fix rect constr call
* devtest: add dump_item chatcommand
* fix rect2 constr call (sdim is a position (typedef for v2s32), not a dimension) and remove background because it would work now
* add missing utf8 to wide conversion
* rename to count_meta
2022-02-10 06:17:52 -05:00
Vincent Robinson
544b9d5c72
Add padding[] element to formspecs ( #11821 )
2021-12-30 12:54:47 -08:00
sfan5
8472141b79
Restructure devtest's unittests and run them in CI ( #11859 )
2021-12-18 20:36:43 +01:00
Wuzzy
6910c8d920
Fix number of tool uses being off by 1..32767 ( #11110 )
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 ( #11498 )
2021-10-13 17:51:37 +02:00
Wuzzy
21113ad410
Split liquid_viscosity to liquid_viscosity and move_resistance ( #10810 )
2021-10-01 16:21:24 +02:00
Lars Müller
719a12ecac
Chop game background in mainmenu ( #10796 )
2021-09-14 20:46:02 +02:00
hecks
80d12dbedb
Add a simple PNG image encoder with Lua API ( #11485 )
...
* 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 ( #11478 )
...
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 ( #11379 )
2021-07-15 21:19:59 +02:00
Wuzzy
228f1c6770
Fix rotation for falling mesh degrotate nodes ( #11159 )
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 ( #11074 )
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 ( #7840 )
2021-03-30 00:25:11 +02:00
Wuzzy
9113538142
DevTest: Formspec tests, children getter, better lighttool ( #10918 )
2021-03-16 18:37:24 +01:00
Wuzzy
88f514ad7a
Devtest: Fix missing log level in minetest.log ( #11068 )
2021-03-15 10:13:15 +01:00
DS
4abe4b87b5
Allow overwriting media files of dependencies ( #10752 )
2021-02-23 19:39:15 +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
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
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 ( #10902 )
2021-02-04 21:43:29 +01:00