Commit Graph

121 Commits

Author SHA1 Message Date
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
Lars Mueller
f1aa7f5a98 Remove modlib.minetest.get_color_int 2021-08-16 11:43:26 +02:00
Lars Mueller
8b0176341b Improve globalstep timing 2021-08-16 09:15:50 +02:00
Lars Mueller
aafba83c26 Remove buggy hacks from get_gametime 2021-08-15 22:07:31 +02:00
Lars Mueller
a0efa59030 Merge branch 'master' of https://github.com/appgurueu/modlib 2021-08-15 12:27:08 +02:00
luk3yx
9af8ff7519 Stop LuaControllers from overheating (fixes #1) 2021-08-15 19:16:12 +12:00
Lars Mueller
0f6f325aa8 Raycast: Improve code quality 2021-08-14 17:40:44 +02:00
Lars Mueller
daa0251632 Use tabs not spaces 2021-07-14 11:53:42 +02:00
Lars Mueller
2ba0b0555f Bluon files: Use "wb" / "rb" instead of "w" / "r" 2021-07-13 20:28:44 +02:00
Lars Mueller
f2ecbac112 Schematics: Improve serialization, fix item handling 2021-07-13 20:26:51 +02:00
Lars Mueller
9d50e504fd Fix colorspec:to_string 2021-07-12 16:15:37 +02:00
Lars Mueller
e29183f574 Add Minetest Luon: ItemStack and AreaStore support 2021-07-11 16:08:57 +02:00
Lars Mueller
e49d75a822 Fix patterns 2021-07-06 09:24:13 +02:00
Lars Mueller
4175974def Redo environments 2021-06-17 19:45:08 +02:00
Lars Mueller
0315a77696 Localize globals per file for all modules 2021-06-11 20:47:29 +02:00
Lars Mueller
b433b30dbe Schematic: Fix light baking 2021-05-09 13:06:06 +02:00
Lars Mueller
edb9e98223 Rewrite schematic format 2021-05-09 13:04:17 +02:00
Lars Mueller
cb5e291285 Schematic: DIsallow unknown/ignore nodes 2021-05-08 21:31:15 +02:00
Lars Mueller
53fdfddd30 Remove dtime == 0 assertion 2021-05-08 21:18:35 +02:00
Lars Mueller
db08d8bbde Experimental schematic format 2021-05-08 21:17:44 +02:00
Lars Mueller
adb4b4fdaf Indentation: Use only tabs 2021-03-27 20:10:49 +01:00
Lars Mueller
3acf09eed6 Add colorspec.from_number_rgb 2021-03-27 12:20:57 +01:00
Lars Mueller
6f0dbaaeb3 Fix colorspec.from_string, add tests 2021-03-27 12:18:27 +01:00
Lars Mueller
e212ba7f3b Add minetest.colorspec:to_number_rgb 2021-03-25 17:50:20 +01:00
Lars Mueller
d1baf23814 Split up "minetest" module in multiple files 2021-03-25 17:46:04 +01:00