Commit Graph

101 Commits

Author SHA1 Message Date
Lars Mueller
b169077a40 Refactor texmod:calc_dims to use a dispatch table 2023-05-24 21:09:24 +02:00
Lars Mueller
9fc4aaf3b8 Add experimental texture modifier DSL 2023-05-24 19:39:20 +02:00
Lars Mueller
785dcb80f4 Fix lack of defaults for wallmounted boxes 2023-04-01 11:29:23 +02:00
Lars Mueller
a6aaf9938c Add minetest.media.overridden_mods 2023-03-04 15:00:33 +01:00
Lars Mueller
cc49af0ae6 Fix collecting media from subfolders 2023-03-04 15:00:09 +01:00
Lars Mueller
72ca08ed3a Add basic minetest.mod.require 2022-11-05 11:42:01 +01:00
Lars Mueller
26d9b131a5 Minetest: Boxes: pairs -> ipairs
Proposed by Gregor Parzefall in 1d2b103abe
2022-10-29 17:25:16 +02:00
Lars Mueller
2eaaca5de4 Minetest: Boxes: Fix connect_sides handling
Bug reported & similar fix proposed by Gregor Parzefall in 1d2b103abe
2022-10-29 17:25:03 +02:00
Lars Mueller
e6c5860cb9 Minetest: Boxes: Fix walkable/pointable check
Bug reported by Gregor Parzefall in https://github.com/appgurueu/modlib/pull/8#issuecomment-1295793962
2022-10-29 16:45:04 +02:00
Lars Mueller
2d056e72ae PNG: Fix call vs. assignment ambiguity 2022-10-07 17:54:01 +02:00
Lars Mueller
b688f49632 Remove modlib.conf module 2022-10-03 18:27:34 +02:00
Lars Mueller
cc0c11edb4 Add Minetest .obj model reader 2022-10-03 13:46:40 +02:00
Lars Mueller
cefa8e64b9 Add TODO for mod.require 2022-09-30 12:45:15 +02:00
Lars Mueller
a5c49754d9 text.split[_unlimited]: Use pattern by default 2022-09-28 20:50:25 +02:00
Lars Mueller
1244f1eba0 Move setting tree building from conf to mod module 2022-09-28 20:45:00 +02:00
Lars Mueller
644c00aae1 Remove deprecated modlib.log module 2022-09-17 20:07:00 +02:00
Lars Mueller
8a8f30f2aa Remove deprecated modlib.player module 2022-09-17 19:34:57 +02:00
Lars Mueller
e0a6406566 Remove deprecated minetest.player.get_color_int 2022-09-17 18:47:03 +02:00
Lars Mueller
b2bbabe3e0 Experimental modules have matured 2022-09-09 14:45:54 +02:00
Lars Mueller
baecb79eda Add TODO for proper after job cancellation 2022-09-06 12:09:17 +02:00
Lars Mueller
7297852127 Cache mod info & load order 2022-09-06 12:08:38 +02:00
Lars Mueller
7eb5f09752 Remove deprecated minetest.mod.extend_string 2022-07-10 16:27:15 +02:00
Lars Mueller
6d87228f4f Generalize node box getting 2022-07-10 14:20:45 +02:00
Lars Mueller
c50410a81e Fix raycast crash 2022-06-16 16:11:07 +02:00
Lars Mueller
9d221a890d mod.configuration: Return schema 2022-06-08 09:40:08 +02:00
Lars Mueller
b974113fa9 Turn conf.build_tree error into warning 2022-06-01 11:31:15 +02:00
Lars Mueller
0a6d3b9848 Media: Expose more information (mods, overrides) 2022-05-13 11:35:32 +02:00
Lars Mueller
3877e339c6 Support CSS Color Module Level 4 (see minetest/minetest#12204) 2022-04-28 10:31:09 +02:00
Lars Mueller
da0fc453cd Colorspec: Support name#%x 2022-04-21 11:16:57 +02:00
Lars Mueller
5dd5e50704 Colorspec: Use hex numbers to improve readability 2022-04-21 11:10:32 +02:00
Lars Mueller
7cf3bd2944 Turn remaining MT-only modules into MT-submodules
Affects mod, log, conf & player. Preserves compat through aliases.
2022-01-25 19:51:46 +01:00
Lars Mueller
5d3c011f79 after: add nil support 2022-01-19 16:15:43 +01:00
Lars Mueller
dc648aa598 Improve code quality 2022-01-04 15:27:27 +01:00
Lars Mueller
e048fb3b03 colorspec.from_string(): return nothing if invalid 2021-11-13 23:57:32 +01:00
Lars Mueller
aac9eea46e Colorspec: From & to ARGB / RGBA number renamings 2021-11-13 23:44:29 +01:00
Lars Mueller
9a70d4cc98 Fix colorspec:to_string() 2021-11-13 23:38:58 +01:00
Lars Mueller
2d47f5fd9f colorspec: expose metatable 2021-11-13 23:35:02 +01:00
Lars Mueller
c0ea0dba47 Add colorspec.from_hsv 2021-11-03 23:00:58 +01:00
Lars Mueller
f5526205cb PNG: Remove unnecessary flooring 2021-10-30 17:39:44 +02:00
Lars Mueller
8e42d027a0 PNG decoder: Fix transparency handling 2021-10-30 16:49:06 +02:00
Lars Mueller
7e57c55caf Fix crash 2021-10-29 22:20:47 +02:00
Lars Mueller
44896f1d51 convert_png_to_argb8: Set color type & bit depth 2021-10-25 17:46:58 +02:00
Lars Mueller
8801a3d159 PNG: Always use bit XOR polyfill for now 2021-10-24 11:42:32 +02:00
Lars Mueller
281db12a5f PNG: Fix bit.bxor not being used 2021-10-24 11:31:21 +02:00
Lars Mueller
5285619407 Fix crash when bit library is unavailable 2021-10-24 11:20:21 +02:00
Lars Mueller
6d40609f38 decode_png: Implement Adam7 interlacing support 2021-10-23 22:37:05 +02:00
Lars Mueller
7d4aa0fec1 Add experimental decode_png & convert_png_to_argb8 2021-10-23 17:14:56 +02:00
Lars Mueller
25aa5c6e82 Fix defaulting to minetest.encode_png 2021-10-21 17:51:18 +02:00
Lars Mueller
ca146ff265 encode_png: Support different data formats 2021-10-21 16:16:22 +02:00
Lars Mueller
084d5e90c0 Colorspec: Fix from_any(), add to/from ARGB number 2021-10-21 16:13:27 +02:00