Commit Graph

74 Commits

Author SHA1 Message Date
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
Lars Mueller
578d504575 Add modlib.minetest.encode_png 2021-10-21 15:40:04 +02:00
Lars Mueller
e5a3f0c9d8 Fix register_on_wielditem_change 2021-10-20 19:21:27 +02:00
Lars Mueller
740be81f98 Fix handling of media subfolders 2021-09-21 10:03:24 +02:00
Lars Mueller
259f28c886 Fix get_mod_load_order crash if mods with unfulfilled optional dependencies are enabled 2021-09-20 20:34:36 +02:00
Lars Mueller
651593639c minetest.colorspec: simpler error message 2021-09-16 20:28:13 +02:00
Lars Mueller
2a6846c9a2 Fix modlib.minetest.set_privs 2021-09-16 15:18:53 +02:00
Lars Mueller
490e50c181 Add modlib.minetest.set_privs 2021-09-15 19:01:04 +02:00
Lars Mueller
20a6bb37d0 Remove dead code 2021-09-15 18:48:25 +02:00
Lars Mueller
edbf61a6e4 Fix localizations 2021-09-15 00:12:34 +02:00
Lars Mueller
bef434d374 Commit missed deletion of "improve globalstep timing" 2021-09-15 00:11:04 +02:00
Lars Mueller
0f83e6f470 Lower-case error messages 2021-09-10 12:20:50 +02:00
Lars Mueller
9484b78eef Rename split_extension to get_extension 2021-09-01 17:09:14 +02:00
Lars Mueller
1d7e893f13 Fix modlib.minetest.media 2021-09-01 17:07:54 +02:00
Lars Mueller
002d1e187b Add experimental minetest.media module 2021-08-29 11:41:10 +02:00
Lars Mueller
a9b6964c74 Add experimental modlib.minetest.get_mod_load_order 2021-08-29 11:32:18 +02:00
Lars Mueller
c0ec9a2925 Fix modlib.minetest.register_form_listener 2021-08-27 21:28:49 +02:00
Lars Mueller
2d35d5da3d modlib.minetest.get_mod_info(): Set info.name 2021-08-26 20:24:21 +02:00
Lars Mueller
01309a5b79 Add experimental modlib.minetest.get_mod_info() 2021-08-23 21:20:03 +02:00
Lars Mueller
a792aa2e31 Add modlib.minetest.register_on_leaveplayer 2021-08-23 18:44:07 +02:00
Lars Mueller
5ae7cc254f Remove unnecessary index check 2021-08-19 15:06:42 +02:00
Lars Mueller
f140f4cbf9 Fix register_on_wielditem_change 2021-08-19 15:05:57 +02:00
Lars Mueller
a86aeb33b4 Fix liquid.lua 2021-08-17 12:52:23 +02:00
Lars Mueller
9ced0f6d5c Add modlib.minetest.connected_players 2021-08-16 20:04:45 +02:00
Lars Mueller
cb155021b1 Add modlib.minetest.playerdata 2021-08-16 18:21:49 +02:00
Lars Mueller
4707928f72 Use modlib's split instead of Minetest's 2021-08-16 18:16:17 +02:00
Lars Mueller
1547809fae Add modlib.minetest.after 2021-08-16 18:10:27 +02:00
Lars Mueller
f2c79ca258 Code cleanup 2021-08-16 16:33:29 +02:00