aboutsummaryrefslogtreecommitdiff
path: root/src/script/common/c_converter.cpp
AgeCommit message (Collapse)Author
2016-02-22Add Lua interface to HTTPFetchRequestJeija
This allows mods to perform both asynchronous and synchronous HTTP requests. Mods are only granted access to HTTP APIs if either mod security is disabled or if they are whitelisted in any of the the secure.http_mods and secure.trusted_mods settings. Adds httpfetch_caller_alloc_secure to generate random, non-predictable caller IDs so that lua mods cannot spy on each others HTTP queries.
2015-05-28Add some missing getter functions to the lua APITeTpaAka
ObjectRef: get_properties get_armor_groups get_animation get_attach get_bone_position Players: get_physics_override hud_get_hotbar_itemcount hud_get_hotbar_image hud_get_hotbar_selected_image get_sky get_day_night_ratio get_local_animation get_eye_offset Global: minetest.get_gen_notify minetest.get_noiseparams
2015-05-17SAPI/Noise: Add PerlinNoiseMap:getMapSlice() functionkwolekr
This adds the ability to grab 'slices' of noise calculated by PerlinNoiseMap. Retrieving smaller slices of noise from the computation result as needed optimizes memory usage while maintaining a reasonable amount of CPU overhead.
2015-05-16SAPI: Accept either ARGB8 table or ColorString to specify colorskwolekr
2015-05-15Add push_ARGB8 to script/common/c_converterTeTpaAka
2015-05-09Schematics: Add per-node force placement optionkwolekr
2015-05-08Fix missing Y component assignment in check_v3fkwolekr
2015-05-07Remove duplicate lua_getfield() in c_converter.cppKevin Ott
Fixes #2678
2015-05-06Fix error messages for type-checking Lua reading functionsShadowNinja
2015-04-19Add 'persistence' alias for Lua noiseparams and validate more vector parameterskwolekr
2015-04-16Schematics: Refactor NodeResolver and add NodeResolveMethodkwolekr
NodeResolver name lists now belong to the NodeResolver object instead of the associated NodeDefManager. In addition to minimizing unnecessary abstraction and overhead, this move permits NodeResolvers to look up nodes that they had previously set pending for resolution. So far, this functionality has been used in the case of schematics for serialization/deserialization.
2014-12-27Redefine NodeResolver interface and replace with callback mechanismkwolekr
2014-10-26Add NodeResolver and clean up node name -> content ID resolution systemkwolekr
2014-04-12Use integers instead of float valuesBlockMen
2013-07-02Fix possible 0 pointer accesssapier
2013-05-25Move scriptapi to separate folder (by sapier)sapier
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)