aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
Commit message (Collapse)AuthorAge
* Fix minetest.get_(all)_craft_recipe(s) regressionest312015-07-25
| | | | | Since 03e0dd33a847a83d975282c6caf6b926306e7b57 the calls didn't return an output count for the recipes.
* Cleanup server addparticle(spawner) by merge two identical functions.Loic Blot2015-07-25
|
* Optional reconnect functionalityest312015-07-23
| | | | | | Enable the server to request the client to reconnect. This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
* Added get_player_velocity() method. Fixes #1176Elia Argentieri2015-07-20
|
* Refactor particle code to remove the while loopsTeTpaAka2015-07-18
| | | | Replaces while loops with proper getfield calls
* Make acc and vel deprecated in add_particle and search for acceleration and ↵TeTpaAka2015-07-18
| | | | | | velocity instead The doc and the actual behaviour differed.
* Fix invisible player when the attached entity is removedTeTpaAka2015-07-18
|
* Fix damage flash when damage disabledkwolekr2015-07-10
|
* Use UTF-8 instead of narrowest312015-07-08
| | | | | Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places. Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit.
* Fix bug when craft input isn't replacedTeTpaAka2015-06-22
|
* Fix some issues with animations, and allow non-looped animations to be definedMirceaKitsune2015-06-22
|
* Mapgen objects: Enable heatmap and humidmap for all biome api mapgensparamat2015-06-20
|
* Use utf-8 in formspecsIlya Zhuravlev2015-06-13
|
* Add return list of individual counts to find_node_in_areaTeTpaAka2015-06-13
|
* Make get_biome_list() error message more helpfulkwolekr2015-05-28
|
* Add some missing getter functions to the lua APITeTpaAka2015-05-28
| | | | | | | | | | | | | | | | | | | | | | | 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
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-19
| | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
* Fix null dereference when loading schematic from definition without a ↵kwolekr2015-05-17
| | | | NodeDefManager
* Record MapBlock modification reasons as flags instead of stringskwolekr2015-05-17
| | | | | This improves performance of MapBlock::raiseModified by a factor of 6. Also, clean up mapblock.h a bit and inline small functions.
* SAPI/Noise: Add PerlinNoiseMap:getMapSlice() functionkwolekr2015-05-17
| | | | | | 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.
* Add optional buffer param for bulk data array writes in Luakwolekr2015-05-17
|
* Fix current mod name change missed during rebaseShadowNinja2015-05-16
|
* SAPI: Accept either ARGB8 table or ColorString to specify colorskwolekr2015-05-16
|
* Add core.get_dir_listShadowNinja2015-05-16
|
* Add core.request_insecure_environment()ShadowNinja2015-05-16
|
* Add core.mkdirShadowNinja2015-05-16
|
* Add mod securityShadowNinja2015-05-16
| | | | Due to compatibility concerns, this is temporarily disabled.
* Add push_ARGB8 to script/common/c_converterTeTpaAka2015-05-15
|
* Generalize core.get/set_nametag_color into core.get/set_nametag_attributesTeTpaAka2015-05-15
|
* Add get and set functions for the nametag colorTeTpaAka2015-05-15
|
* Fix compiler warning about sign comparisonest312015-05-13
|
* is_player() is no player-only functionest312015-05-12
|
* Make early protocol auth mechanism generic, and add SRPest312015-05-11
| | | | | | | Adds everything needed for SRP (and everything works too), but still deactivated, as protocol v25 init packets aren't final yet. Can be activated by changing the LATEST_PROTOCOL_VERSION header to 25 inside networkprotocol.h.
* Schematics: Add per-node force placement optionkwolekr2015-05-09
|
* Tests: Add schematic unittestskwolekr2015-05-08
| | | | | Improve schematic file-saving interface Add ability to create temporary test files
* Schematics: Add indent-with-space option for schematic Lua table serializationkwolekr2015-05-07
|
* NodeResolver: Remove NodeResolveMethodkwolekr2015-05-07
| | | | This simplifies NodeResolver logic and makes some interfaces cleaner.
* Add core.find_nodes_with_meta() script APIkwolekr2015-05-05
|
* Ore: Add biomes parameterkwolekr2015-04-20
|
* Add 'persistence' alias for Lua noiseparams and validate more vector parameterskwolekr2015-04-19
|
* Biome API: Add biome-specific river waterparamat2015-04-19
|
* Schematics: Fix core.schematic_create()kwolekr2015-04-17
|
* Switch to check_v3s16 in l_mapgen.cpp and l_vmanip.cpp for type safetykwolekr2015-04-17
|
* Refactor around translatePasswordest312015-04-17
| | | | | | | Change types for passed password from wstring to string, which removes converting back and forth in most cases. Move the narrow_to_wide conversion, where its neccessary, closer to irrlicht. Remove trailing spaces in guiPasswordChange.cpp. Make parameters for translatePassword passed as const reference.
* Biomes: Remove referenced biomes from Decorations on clearkwolekr2015-04-16
|
* Schematics: Refactor NodeResolver and add NodeResolveMethodkwolekr2015-04-16
| | | | | | | | | 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.
* Use std::vector instead of std::set for Environment::getObjectsInsideRadiusLoic Blot2015-04-16
| | | | | We are only iterating sequentially, we don't need a set here Also use a vector reference instead of a copy
* Schematics: Reorganize (de)serialization and add Lua serialization APIkwolekr2015-04-13
|
* Document for api functions that rely on current_modname, that it doesn't ↵est312015-04-08
| | | | work when not loading mods
* Schematics: Prepend mod path to relative schematic filepathskwolekr2015-04-08
|