Commit Graph

19 Commits

Author SHA1 Message Date
luk3yx
ec24aed60a Lazy load safety.lua and fix some issues 2022-07-18 17:45:27 +12:00
luk3yx
a42f688274 Add support for 9-slice images and animated images 2022-07-04 19:46:11 +12:00
luk3yx
eef2860b4b Handle image_button{,_exit} parameters like the MT engine 2022-04-29 16:49:42 +12:00
luk3yx
f9b29ba6e3 Use plurals for item, listelem, and caption 2022-02-13 16:34:01 +13:00
luk3yx
0ba38e041e Make new raw_parse more robust 2022-02-08 21:22:26 +13:00
luk3yx
8fca50e407 Drastically improve parsing and unparsing speed and fix bug
The parsing code still isn't easy to read but at least it's faster and 
not horribly bugged (I hope).
2022-02-08 20:36:14 +13:00
luk3yx
b540045734 Update list[] based on new documentation
Now that "list[inventory_location;list_name;x,y;w,h]" is documented it 
can be used instead of "list[inventory_location;list_name;x,y;w,h;]".
2022-02-05 20:41:52 +13:00
luk3yx
0679c46b2c Add padding[] 2022-01-23 08:58:33 +13:00
luk3yx
ccba5eca04 Convert invsize[] to size[] and fix tablecolumns 2021-11-24 15:41:26 +13:00
luk3yx
8b18059cdf Make formspec_ast.flatten ignore scroll containers 2021-04-06 08:29:18 +12:00
luk3yx
17503d543b Update elements and fix background9 unparsing 2021-03-21 17:42:52 +13:00
luk3yx
d1ba059652 Improve performance and fix index_event parsing 2021-03-11 22:30:27 +13:00
luk3yx
df9e9e93a5 Parse positioned tooltips correctly 2021-03-09 10:27:26 +13:00
luk3yx
e9302239fb Fix bgcolor fullscreen value 2021-03-09 10:18:14 +13:00
luk3yx
98906e1dde Add support for model[] 2021-02-05 18:28:50 +13:00
luk3yx
9f28d8cae3 Improve make_elements.py and fix some issues. 2021-02-04 22:29:50 +13:00
luk3yx
5545c25ea7 Fix tests.lua 2020-11-22 18:09:18 +13:00
luk3yx
64f33a51fa Fix dropdown[] 2020-09-07 19:45:01 +12:00
luk3yx
9a958355ca Add scroll_container[] (minor compatibility break) 2020-09-07 17:48:51 +12:00