aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
AgeCommit message (Collapse)Author
2015-03-04We always know playerSAO when calling SendInventory. Using it instead of ↵Loic Blot
searching it via peer_id
2015-03-04Send Inventory packet on event, don't check it at each AsyncRunStep.Loic Blot
* Call UpdateCrafting into SendInventory because this functions is only called before SendInventory * Use Player* instead of peer_id for UpdateCrafting because SendInventory already has the Player* pointer, then don't loop for searching Player* per peer_id * m_env_mutex don't need to be used with this modification because it's already locked before the calls
2015-03-03Send Breath packet on event, don't check it at each AsyncRunStepLoic Blot
2015-03-03Send Player HP when setHP (or a setHP caller) is called instead of looping ↵Loic Blot
and testing the state change.
2015-02-27Change find_surface_nodes_in_area to find_nodes_in_area_under_airCraig Robbins
2015-02-27Add find_surface_nodes_in_area LUA call which permit to only get the nodes ↵Loic Blot
which touch air. This permit to massively improve performance for mods like plantlife
2015-02-26Biome API: Re-calculate biome at every surface in a mapchunk columnparamat
2015-02-23Disallow object:remove() if the object is a playerKahrl
Rebased by Zeno- (conflict in lua_api.txt)
2015-02-18Server: announce MIN/MAX protocol version supported to serverlist. Client: ↵est31
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
2015-02-18Fix unused (and so, broken) enable_rollback_recording. This option must be ↵Loic Blot
reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable) ok @ShadowNinja
2015-02-17SAO work: ActiveObject types & SAO cleanup * Replace u8 types with ↵Loic Blot
ActiveObjectType. * Merge content_object.h into activeobject.h * Remove DummyLoadSAO, it's now unused. * Remove ItemSAO, it's also unused
2015-02-16Performance Improvement: Use a cache which caches result for getFacePositions.Loic Blot
This greatly reduce the number of std::list generated by caching the result, which is always constant for each radius selected. In the callgrind map, you will see original: * 3.3M calls to std::list for 9700 calls to getFacePositions In the modified version, you will see: * 3.3K calls to std::list for 6900 call to getFacePositions Callgrind map is here: #2321 it's a huge performance improvement to l_find_node_near
2015-02-12Fix .zip extraction (mod store)ngosang
2015-02-05Reduce gettext wide/narrow and string/char* conversionsShadowNinja
2015-01-18Fix all warnings and remove -Wno-unused-but-set cflagkwolekr
2015-01-18Reorganize supported video driver query mechanismskwolekr
2015-01-15Add ability to delete MapBlocks from mapkwolekr
Also add a Lua API and chatcommand for this
2015-01-07Fix direction property of HUDrubenwardy
2015-01-05Shorten ManualMapVoxelManipulator to MMVManipkwolekr
2015-01-05Optionally specify propagateSunlight area in calcLightingkwolekr
This fixes the Mapgen V5 calcLighting segfault
2015-01-04Exclude vertical mapblock borders when setting lightkwolekr
2015-01-04Add minetest.generate_ores() and minetest.generate_decorations()kwolekr
2015-01-04Add warning about using deprecated fields in Mapgen API and update docskwolekr
2015-01-04LuaVoxelManip: Error when given out-of-bounds areakwolekr
2015-01-04Lighting: Fix nearly all issueskwolekr
The cause of a single light source seemingly being lit without spread was due to its creation in the +Y mapblock boundary layer during map generation, which was ignored as the overtop. This overtop explicitly needs to be omitted during sunlight propagation, however. To accomplish this, Mapgen::calcLighting() was split into separate functions taking separate parameters. Additionally, do not diminish light too early during spread. This fixes the output inconsistency between Map::updateLighting and Mapgen::calcLighting.
2014-12-30Replace instances of height_min/height_max with y_min/y_max to remove ambiguitykwolekr
2014-12-30Decoration: Fix default parameter valueskwolekr
2014-12-29Add core.get_mapgen_names() to Main Menu API (and use it)kwolekr
Also rewrite mapgen registration for static initialization
2014-12-29Expose mapgen parameters on scripting initkwolekr
Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
2014-12-29LuaVoxelManip: Remove blank allocatorkwolekr
2014-12-28LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, ↵kwolekr
set_metadata
2014-12-28Decoration: Add height_min and height_max parameterskwolekr
Also set default height_min/height_max to -31000 and 31000, respectively, for ore and biomes
2014-12-28Biome API: Add shore top and shore filler nodes, underwater node, water top ↵paramat
node. Add water top depth and shore height parameters. Remove water dust node
2014-12-28Ore: Add Vein ore typekwolekr
2014-12-28Ore: Add Blob ore typekwolekr
2014-12-27LuaVoxelManip: Add option to allocate blank datakwolekr
2014-12-27Set fallback content if resolving content vector requires everythingkwolekr
2014-12-27Redefine NodeResolver interface and replace with callback mechanismkwolekr
2014-12-12LuaPerlinNoiseMap: Fix 3d noise safety checkkwolekr
2014-12-12Add minetest.clear_registered_decorations() and clear_registered_ores()kwolekr
2014-12-12LuaPerlinNoiseMap: Prevent invalid memory access when attempting to generate ↵kwolekr
3d noise with a buffer created for 2d
2014-12-12Add support for NoiseParams in minetest.get_perlin() and add docs on ↵kwolekr
NoiseParams to lua_api.txt
2014-12-12Settings: Fail on invalid sequence and throw exception for LuaSettingskwolekr
2014-12-10Noise: Automatically transform noise maps if neededkwolekr
2014-12-10Move get_schematic and read_schematic to l_mapgen.cppkwolekr
2014-12-10Remove get_noiseparams function. read_noiseparams should be used from now onkwolekr
2014-12-10Noise: Create a deep copy of NoiseParamskwolekr
2014-12-09Settings: Sanitize setting name everywhere, not just LuaSettingskwolekr
2014-12-09Rename and repurpose minetest.set_noiseparam_defaults to set_noiseparamskwolekr
2014-12-07Add flags and lacunarity as new noise parameterskwolekr
Add 'absolute value' option to noise map functions Extend persistence modulation to 3D noise Extend 'eased' option to noise2d_perlin* functions Some noise.cpp formatting fixups