Commit Graph

20 Commits

Author SHA1 Message Date
luk3yx 1eed7cf336 Support new "type" field in HUD definitions 2023-12-30 11:21:05 +13:00
luk3yx 5ac492eefe Add style[] support 2023-08-27 08:56:14 +12:00
luk3yx b1af1d16a7 Fix log2 on Lua 5.1 (closes !1)
Found by appgurueu

Co-authored-by: Lars Müller <appgurulars@gmx.de>
2023-04-11 08:35:50 +12:00
luk3yx e317ac111d Oops 2023-03-15 20:11:21 +13:00
luk3yx 412a4676a7 Add support for padding[] (MT 5.7.0+) 2023-03-15 18:08:13 +13:00
luk3yx 68dd6d4137 Clean up code 2022-05-22 18:12:06 +12:00
luk3yx 28bbd80b51 Better workaround for weird image scaling on mobile clients 2022-05-22 16:02:49 +12:00
luk3yx b49c28cc0a Log instead of drawing an error formspec and fix node.name check 2022-05-22 15:39:52 +12:00
luk3yx bf4003b988 Fix error with the latest version of modlib 2021-11-14 12:05:13 +13:00
luk3yx 7bcceb2270 Try and disable race condition workaround in 5.4.1 singleplayer 2021-08-29 20:24:49 +12:00
luk3yx 441b99bc2a Revert "Decrease time before reshowing HUD"
This reverts commit d4a3acba33.
2021-08-29 19:52:56 +12:00
luk3yx d4a3acba33 Decrease time before reshowing HUD
This shouldn't make any difference on normal MT servers but if the 
server step is low enough it should prevent stuttering.
2021-08-29 19:42:32 +12:00
luk3yx 40101f3a68 Allow other mods to use colorstring_to_number 2021-07-06 19:53:05 +12:00
luk3yx f095267be0 Allow using regular (non-formspec) HUD elements 2021-05-31 11:21:50 +12:00
luk3yx 2235213e02 Don't crash when showing HUD to offline player
This makes the API more consistent with the formspec one
2021-04-23 09:30:28 +12:00
luk3yx 057d6ab4e3 Add workaround for HUD race conditions 2021-04-06 11:34:58 +12:00
luk3yx 5cd1c74020 Use modlib.version 2021-03-28 08:57:40 +13:00
luk3yx 122eca40eb Use modlib's colorspec helpers if installed 2021-03-28 08:27:06 +13:00
luk3yx 936f665017 Bugfix 2021-03-24 20:26:56 +13:00
luk3yx c9fffbf642 Initial commit 2021-03-24 08:30:33 +13:00