aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SAO work: ActiveObject types & SAO cleanup * Replace u8 types with ↵Loic Blot2015-02-172-14/+0
| | | | ActiveObjectType. * Merge content_object.h into activeobject.h * Remove DummyLoadSAO, it's now unused. * Remove ItemSAO, it's also unused
* Performance Improvement: Use a cache which caches result for getFacePositions.Loic Blot2015-02-161-3/+2
| | | | | | | | | | | 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
* Fix .zip extraction (mod store)ngosang2015-02-121-6/+6
|
* Reduce gettext wide/narrow and string/char* conversionsShadowNinja2015-02-051-0/+1
|
* Fix all warnings and remove -Wno-unused-but-set cflagkwolekr2015-01-182-5/+1
|
* Reorganize supported video driver query mechanismskwolekr2015-01-181-18/+15
|
* Add ability to delete MapBlocks from mapkwolekr2015-01-152-6/+42
| | | | Also add a Lua API and chatcommand for this
* Fix direction property of HUDrubenwardy2015-01-071-3/+11
|
* Shorten ManualMapVoxelManipulator to MMVManipkwolekr2015-01-053-19/+19
|
* Optionally specify propagateSunlight area in calcLightingkwolekr2015-01-051-17/+16
| | | | This fixes the Mapgen V5 calcLighting segfault
* Exclude vertical mapblock borders when setting lightkwolekr2015-01-041-1/+4
|
* Add minetest.generate_ores() and minetest.generate_decorations()kwolekr2015-01-043-1/+47
|
* Add warning about using deprecated fields in Mapgen API and update docskwolekr2015-01-041-6/+8
|
* LuaVoxelManip: Error when given out-of-bounds areakwolekr2015-01-041-0/+4
|
* Lighting: Fix nearly all issueskwolekr2015-01-041-9/+9
| | | | | | | | | | | 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.
* Replace instances of height_min/height_max with y_min/y_max to remove ambiguitykwolekr2014-12-301-6/+16
|
* Decoration: Fix default parameter valueskwolekr2014-12-301-2/+2
|
* Add core.get_mapgen_names() to Main Menu API (and use it)kwolekr2014-12-292-1/+25
| | | | Also rewrite mapgen registration for static initialization
* Expose mapgen parameters on scripting initkwolekr2014-12-292-13/+39
| | | | | Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
* LuaVoxelManip: Remove blank allocatorkwolekr2014-12-293-18/+19
|
* LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, ↵kwolekr2014-12-281-12/+28
| | | | set_metadata
* Decoration: Add height_min and height_max parameterskwolekr2014-12-281-10/+12
| | | | | Also set default height_min/height_max to -31000 and 31000, respectively, for ore and biomes
* Biome API: Add shore top and shore filler nodes, underwater node, water top ↵paramat2014-12-281-14/+19
| | | | node. Add water top depth and shore height parameters. Remove water dust node
* Ore: Add Vein ore typekwolekr2014-12-281-3/+10
|
* Ore: Add Blob ore typekwolekr2014-12-281-4/+4
|
* LuaVoxelManip: Add option to allocate blank datakwolekr2014-12-273-1/+28
|
* Set fallback content if resolving content vector requires everythingkwolekr2014-12-271-4/+4
|
* Redefine NodeResolver interface and replace with callback mechanismkwolekr2014-12-272-32/+40
|
* LuaPerlinNoiseMap: Fix 3d noise safety checkkwolekr2014-12-121-1/+1
|
* Add minetest.clear_registered_decorations() and clear_registered_ores()kwolekr2014-12-122-0/+23
|
* LuaPerlinNoiseMap: Prevent invalid memory access when attempting to generate ↵kwolekr2014-12-122-16/+12
| | | | 3d noise with a buffer created for 2d
* Add support for NoiseParams in minetest.get_perlin() and add docs on ↵kwolekr2014-12-123-27/+47
| | | | NoiseParams to lua_api.txt
* Settings: Fail on invalid sequence and throw exception for LuaSettingskwolekr2014-12-121-2/+3
|
* Noise: Automatically transform noise maps if neededkwolekr2014-12-101-14/+10
|
* Move get_schematic and read_schematic to l_mapgen.cppkwolekr2014-12-102-3/+108
|
* Remove get_noiseparams function. read_noiseparams should be used from now onkwolekr2014-12-101-4/+4
|
* Noise: Create a deep copy of NoiseParamskwolekr2014-12-102-5/+12
|
* Settings: Sanitize setting name everywhere, not just LuaSettingskwolekr2014-12-091-1/+1
|
* Rename and repurpose minetest.set_noiseparam_defaults to set_noiseparamskwolekr2014-12-092-25/+12
|
* Add flags and lacunarity as new noise parameterskwolekr2014-12-074-20/+52
| | | | | | | 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
* Add minetest.clear_registered_biomes() apikwolekr2014-12-062-0/+11
|
* Rewrite generate notification mechanismkwolekr2014-12-061-15/+23
| | | | | | | Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files
* Add definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth ↵paramat2014-12-031-0/+3
| | | | of mgv7 biomes. l_mapgen.cpp: add '#include mapgen_v5.h' because '#include mapgen_v7' is there. Improve underwater grass hack
* LuaSettings: Sanitize setting name stringskwolekr2014-11-301-1/+1
|
* noise: Throw exception on noise allocation failurekwolekr2014-11-291-3/+7
|
* Clean up rollbackShadowNinja2014-11-191-1/+1
|
* Fix warnings and other misc. minor changeskwolekr2014-11-141-8/+8
|
* Remove most exceptions from getNode() (and variants)Craig Robbins2014-11-141-12/+11
|
* Add option 'eased' to NoiseParamsSmallJoker2014-11-131-2/+2
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Add Generator Element Management frameworkkwolekr2014-11-122-63/+69
| | | | Add BiomeManager, OreManager, DecorationManager, and SchematicManager