Commit Graph

115 Commits

Author SHA1 Message Date
Lars Mueller
a9b5d80ca8 Fix [multiply missing from texmod:calc_dims 2023-05-31 18:59:35 +02:00
Lars Mueller
9911442977 texmod: Fix :mask(...) and .mask name collision 2023-05-29 21:22:59 +02:00
Lars Mueller
5fbb159a41 texmod: Fix broken [sheet assertions 2023-05-28 12:30:13 +02:00
Lars Mueller
50bd3d8a07 Make colorspec.from_string case-insensitive 2023-05-28 10:59:51 +02:00
Lars Mueller
520ecc641b texmod.read: Fix [transform followed by a lowercase letter 2023-05-27 19:12:49 +02:00
Lars Mueller
5dc6307661 Fix texmod.colorize crash if ratio is nil 2023-05-27 17:21:41 +02:00
Lars Mueller
73640f11d1 texmod: Stricter file name validation 2023-05-27 14:33:46 +02:00
Lars Mueller
8e5bdc817c Fix handling of multiple texmod transforms 2023-05-27 14:24:54 +02:00
Lars Mueller
e07d646203 texmod.read: Make transforms case-insensitive 2023-05-26 19:27:47 +02:00
Lars Mueller
741746613b Move local var to appropriate scope 2023-05-24 22:42:38 +02:00
Lars Mueller
0b521bbb61 Fix texmod:write emitting unnecessary parens 2023-05-24 22:37:55 +02:00
Lars Mueller
95159c48e8 Refactor texmod:read to pass reader around 2023-05-24 22:27:25 +02:00
Lars Mueller
fe7fb6aeec Remove unused variable in texmod:calc_dims 2023-05-24 22:25:46 +02:00
Lars Mueller
d4ca847b0e Add support for [png to texmod:calc_dims 2023-05-24 21:28:46 +02:00
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