summaryrefslogtreecommitdiff
path: root/builtin/common/misc_helpers.lua
Commit message (Collapse)AuthorAge
* Fix undeclared globals in functions and shorten lines in misc_helpers.lua.paramat2014-12-11
|
* Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker2014-12-06
|
* Add minetest.copy_table(table) To get rid off the "table references"SmallJoker2014-11-27
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Adjust the values of dirs1 and dirs2 so that rotate_and_place orients ↵dvere2014-11-25
| | | | | | textures correctly According to doc/lua_api.txt if paramtype2 == "facedir" the two least significant bits of parm2 orient the texture around the axis. For dirs1 (looking at a wall) these would be 0, 1, 2, 3 and for dirs2 (looking at the ceiling) 2, 1, 0, 3
* Fix dump() indentation with non-tab indentsShadowNinja2014-11-08
|
* Add last_login field to auth.txtRyan Newell2014-11-08
| | | | Also shortens some related code and adds more parameters to string.split.
* Make dump's output prettierShadowNinja2014-09-21
| | | | | | | | Changes: * Indentation with tabs by default. * Array keys dumped without "[i] = " prefix. * String keys that are valid identifiers aren't enclosed in '[""]'. * Basic support for multiple references (as specified in the comment).
* Add srollbar formspec elementsapier2014-07-16
|
* Rework dumping functionsShadowNinja2014-05-24
| | | | | | | | | Changes: * Add comments to explain the dumping code * Add support for dumping values of any type (as '<' <type> '>') * Add support for tables as keys in dump2() * Make dump2() return it's result (like dump()) rather than printing it * Simplify and optimize function serialization via serialize()
* Use "core" namespace internallyShadowNinja2014-05-08
|
* Organize builtin into subdirectoriesShadowNinja2014-05-07