aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
Commit message (Collapse)AuthorAge
* Add a simple PNG image encoder with Lua API (#11485)hecks2021-07-29
| | | | | | | | | * Add a simple PNG image encoder with Lua API Add ColorSpec to RGBA converter Make a safety wrapper for the encoder Create devtest examples Co-authored-by: hecktest <> Co-authored-by: sfan5 <sfan5@live.de>
* Refactor video driver name retrieval (#11413)hecks2021-07-11
| | | Co-authored-by: hecktest <>
* Auth API: Error when accessed prior to ServerEnv init (#11398)SmallJoker2021-06-30
|
* Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)sfence2021-06-20
| | | This check can be used by ABM to reduce CPU usage.
* Drop --videomodes, fullscreen_bpp and high_precision_fpu settingssfan52021-06-16
| | | | These have been pointless for a while.
* Add core.compare_block_status function (#11247)SmallJoker2021-05-30
| | | Makes it possible to check the status of the mapblock in a future-extensible way.
* script: Replace calls to depreated luaL_openlibsfan52021-05-30
|
* Fix curl_timeout being ignored for Lua HTTP fetchessfan52021-05-17
|
* fix: extractZipFile is not part of Client but more generic.Loic Blot2021-05-06
| | | | This solve a crash from mainmenu while extracting the zip
* refacto: remove get_gui_env & draw_load_screen from RenderingEngine singletonLoic Blot2021-05-03
|
* refacto: RenderingEngine is now better hiddenLoic Blot2021-05-03
| | | | | | | | | | * No more access to the singleton instance from everywhere (RenderingEngine::get_instance dropped) * RenderingEngine::get_timer_time is now non static * RenderingEngine::draw_menu_scene is now non static * RenderingEngine::draw_scene is now non static * RenderingEngine::{initialize,finalize} are now non static * RenderingEngine::run is now non static * RenderingEngine::getWindowSize now have a static helper. It was mandatory to hide the global get_instance access
* refacto: rendering engine singleton removal step 1 (filesystem)Loic Blot2021-05-03
| | | | | | | | Make the RenderingEngine filesystem member non accessible from everywhere This permits also to determine that some lua code has directly a logic to extract zip file. Move this logic inside client, it's not the lua stack role to perform a such complex operation Found also another irrlicht <1.8 compat code to remove
* Add `minetest.colorspec_to_colorstring` (#10425)Vincent Robinson2021-04-23
|
* Fix server favorites not saving when client/serverlist/ doesn't exist ↵sfan52021-04-09
| | | | already (#11152)
* Consistent title bar + render information in mainmenu (#10764)SmallJoker2021-03-30
|
* Fix broken `BiomeGen` abstraction (#11107)sfan52021-03-23
|
* Schematic: Properly deal with before/after node resolving and document (#11011)SmallJoker2021-03-20
| | | | This fixes an out-of-bounds index access when the node resolver was already applied to the schematic (i.e. biome decoration). Also improves the handling of the two cases: prior node resolving (m_nodenames), and after node resolving (manual lookup)
* Protect mg_name and mg_flags from being set by Lua (#11010)sfan52021-03-04
|
* Settings: Push groups in to_table as wellSmallJoker2021-03-01
|
* Add nametag background setting and object property (#10937)rubenwardy2021-02-17
|
* Use consistent temp folder path (#10892)rubenwardy2021-02-07
|
* Reduce ore noise_parms error to deprecation warning (#10921)rubenwardy2021-02-06
| | | | Fixes #10914
* Drop wide/narrow conversion functionssfan52021-02-02
| | | | | | | | | The only valid usecase for these is interfacing with OS APIs that want a locale/OS-specific multibyte encoding. But they weren't used for that anywhere, instead UTF-8 is pretty much assumed when it comes to that. Since these are only a potential source of bugs and do not fulfil their purpose at all, drop them entirely.
* Revise dynamic_add_media API to better accomodate future changessfan52021-02-01
|
* Preserve immortal group for players when damage is disabledsfan52021-01-31
|
* Cache client IP in RemoteClient so it can always be retrieved (#10887)sfan52021-01-31
| | | specifically: after the peer has already disappeared
* Settings: Proper priority hierarchySmallJoker2021-01-29
| | | | | | | | | | | Remove old defaults system Introduce priority-based fallback list Use new functions for map_meta special functions Change groups to use end tags Unittest changes: * Adapt unittest to the new code * Compare Settings objects
* Use JSON for favorites, move server list code to Lua (#10085)rubenwardy2021-01-22
| | | Co-authored-by: sfan5 <sfan5@live.de>
* MgOre: Fix invalid field polymorphism (#10846)rubenwardy2021-01-21
|
* Removed some obsolete code (#10562)Zughy2021-01-21
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* ObjectRef: fix some v3f checks (#10602)Zughy2021-01-21
|
* ContentDB: Add overwrite dialog when content is already installed (#10768)rubenwardy2021-01-04
|
* Add on_deactivate callback for luaentities (#10723)hecks2021-01-02
|
* Add minetest.get_objects_in_area (#10668)Elias Fleckenstein2020-12-29
|
* Fix minetest.is_nanLars Mueller2020-12-24
|
* Fix unsafe cast in l_objectrubenwardy2020-12-23
|
* Add open user data button to main menu (#10579)rubenwardy2020-12-19
|
* ObjectRef: Re-add legacy code for set_physics_override (#10585)SmallJoker2020-11-10
| | | These arguments are used at least by MTG beds and homedecor_common. A deprecation warning is shown to safely remove it in a future release.
* Fix ObjectRef errors due to lua_isnil() (#10564)Zughy2020-11-04
| | | Treat 'none' values as 'nil'
* Fix incorrect deprecation hintsSmallJoker2020-11-01
| | | | "good" and "bad" were swapped in the process, resulting in wrong deprecation messages
* Fix segfault in deprecation logging due to tail call, log by default (#10174)rubenwardy2020-10-31
|
* Clean up l_object.cpp (#10512)Zughy2020-10-22
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Fix float argument check in minetest.set_timeofday() (#10483)Zughy2020-10-13
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Add ObjectRef:get_children() (#10480)Zughy2020-10-13
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Pass ContentFeatures as reference to read_content_features (#10464)JosiahWI2020-10-13
|
* Add missing type check to InvRef:set_lists() (#10476)Zughy2020-10-11
|
* Add a short_description to be used by mods (#8980)DS2020-10-09
|
* Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog2020-10-06
| | | | | Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday). Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Remove unused functions reported by cppcheck (#10463)SmallJoker2020-10-05
| | | | | | | Run unused functions reported by cppcheck This change removes a few (but not all) unused functions. Some unused helper functions were not removed due to their complexity and potential of future use.
* Minimap as HUD element with API controlPierre-Yves Rollo2020-10-04
| | | | | | | Features: * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes() * New HUD elements for displaying minimap with custom size and placing * New minimap mode for displaying a texture instead of the map