aboutsummaryrefslogtreecommitdiff
path: root/builtin/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Builtin: Fix subgame mod selection (#5367)SmallJoker2017-05-171-0/+3
|
* CSM: Document forgotten functionsSmallJoker2017-05-161-1/+1
|
* minetest.deserialize: Throw error when argument not string (#5738)SmallJoker2017-05-091-0/+4
|
* Use a settings object for the main settingsShadowNinja2017-05-061-3/+3
| | | | | | | This unifies the settings APIs. This also unifies the sync and async registration APIs, since the async registration API did not support adding non-functions to the API table.
* Pointed thing to face pos: Fix crash if opening door with slab or stairMarkuBu2017-04-191-2/+2
| | | | | | Avoids crash caused when 'pointed thing -under' and '-above' are not face-neighbours, for example in the case of pointing to the top half of a door.
* [CSM] Use more gettext (#5553)red-0012017-04-101-7/+18
|
* minetest.after(): simplify further, pause in singleplayer (#5500)Auke Kok2017-04-021-11/+1
| | | | | | Using the `dtime` value entirely, this will stop the clock if the game is paused in singleplayer. Since most of the clocks were fixed a long time ago, this should again be safe to use.
* First commit for fine pointed (#5485)MarkuBu2017-04-011-0/+32
|
* Add functions to strip color information. (#5472)Diego Martínez2017-03-281-1/+14
|
* Fix a type bug in colorize functionLoïc Blot2017-03-281-1/+1
| | | | This bug was introduced by dd2f1d7551bfd70357ad4f3fb180704194272147 and reported by @kilbith
* Change command prefix to "." and add "help" command.red-0012017-03-261-1/+72
|
* Typo fixLoïc Blot2017-03-241-1/+1
|
* Add multiline support to colorize. (#5444)red-0012017-03-241-1/+8
|
* Block access to the `io` libraryred-0012017-03-191-8/+9
|
* Give CSM access to use `core.colorize()` (#5113)red-0012017-03-171-0/+32
|
* [CSM] Improve security for client-sided mods (#5100)red-0012017-03-131-2/+3
|
* [CSM] Add local formspecs. (#5094)red-0012017-03-131-1/+2
|
* [CSM] sound_play & sound_stop support + client_lua_api doc (#5096)Loïc Blot2017-03-131-0/+43
| | | | | | | | | | * squashed: CSM: Implement register_globalstep * Re-use fatal error mechanism from server to disconnect client on CSM error * Little client functions cleanups * squashed: CSM: add core.after function * core.after is shared code between client & server * ModApiUtil get_us_time feature enabled for client
* [CSM] Add client-sided chat commands (#5092)red-0012017-03-131-0/+30
|
* Vector: Add vector.sort(a, b): return box edgesAuke Kok2017-01-231-0/+5
| | | | | This function returns the box corners of the smallest box that includes the two given coordinates.
* Revert "Adding particle blend, glow and animation (#4705)"sfan52016-11-141-37/+0
| | | | This reverts commit 93e3555eae2deaeca69ee252cfa9cc9c3e0e49ef.
* Adding particle blend, glow and animation (#4705)Foghrye42016-11-151-0/+37
|
* Core.rotate_and_place: Remove unused call to get_look_pitch()Auke Kok2016-10-311-1/+0
|
* Builtin: Add vector.floor helper functionrubenwardy2016-10-171-1/+8
|
* Only allow strings to be passed to minetest.global_exists (#4253)HybridDog2016-06-281-0/+3
| | | | | Sometimes you accidentally forget the quotes when using global_exists, this makes minetest abort if you did so. M builtin/common/strict.lua
* Faster insertion into tableRui9142016-03-063-23/+21
|
* Refactor loggingShadowNinja2015-10-141-10/+4
| | | | | | | | | - Add warning log level - Change debug_log_level setting to enumeration string - Map Irrlicht log events to MT log events - Encapsulate log_* functions and global variables into a class, Logger - Unify dstream with standard logging mechanism - Unify core.debug() with standard core.log() script API
* Add /emergeblocks command and core.emerge_area() Lua APIkwolekr2015-09-231-0/+30
|
* Allow random menu images for subgamessfan52015-07-211-1/+15
|
* Fix wrong replace from previous commitest312015-06-021-2/+2
|
* Localize inside whole misc_helpers.luaest312015-06-011-21/+22
|
* Add minetest.global_exists()ShadowNinja2015-04-211-0/+5
|
* Fix serialization of floating point numbersShadowNinja2015-02-211-1/+10
|
* Server: announce MIN/MAX protocol version supported to serverlist. Client: ↵est312015-02-181-2/+6
| | | | | | | check serverlist Client now informs about incompatible servers from the list, this permits to prevent the protocol movements. Server announces its supported protocol versions to master server
* Fix crash on passing false as value in table to table.copy(t)est312015-02-141-3/+2
| | | | Fixes #2293.
* Change assignment to global in a function to warningrubenwardy2015-02-041-1/+1
|
* Fix imprecise serialization of large numbersShadowNinja2015-01-251-1/+1
|
* Simplify deleteblocks chat command argument parsingkwolekr2015-01-151-2/+39
| | | | | Add optional core.pos_to_string decimal place rounding Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
* Fix typo in `serialize.lua`.Diego Martínez2015-01-151-1/+1
|
* Fix off-by-one error in `string:split` implementation.Diego Martínez2015-01-041-1/+1
|
* Faster string.split implementation.Diego Martinez2014-12-281-22/+22
|
* Revert "Adjust the values of dirs1 and dirs2 so that rotate_and_place ↵Craig Robbins2014-12-121-2/+2
| | | | | | | | orients textures correctly" This reverts commit 9878e8de4fdf232ebb77b396766c339786c01218. See: https://github.com/minetest/minetest/issues/1939 and IRC log for discussion
* Fix undeclared globals in functions and shorten lines in misc_helpers.lua.paramat2014-12-111-6/+9
|
* Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker2014-12-062-0/+19
|
* Add minetest.copy_table(table) To get rid off the "table references"SmallJoker2014-11-271-0/+12
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Adjust the values of dirs1 and dirs2 so that rotate_and_place orients ↵dvere2014-11-251-2/+2
| | | | | | 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
* Make duplicate warning checks file and line specificShadowNinja2014-11-231-6/+12
|
* Fix console spaming by debug function on mod checking for global variable to ↵sapier2014-11-231-2/+3
| | | | exist.
* Add strict moduleShadowNinja2014-11-191-0/+47
| | | | Also fix leaking globals found by it.
* Tweak core.serializeShadowNinja2014-11-191-168/+154
| | | | This adds proper support for nested tables and improves performance a bit.