aboutsummaryrefslogtreecommitdiff
path: root/src/script/common
AgeCommit message (Collapse)Author
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.
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2015-03-27Clean up and tweak build systemShadowNinja
* Combine client and server man pages. * Update unit test options and available databases in man page. * Add `--worldname` to man page. * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`. * Disable server build by default on all operating systems. * Make `ENABLE_FREETYPE` not fail if FreeType isn't found. * Enable LevelDB, Redis, and FreeType detection by default. * Remove the `VERSION_PATCH_ORIG` hack. * Add option to search for and use system JSONCPP. * Remove broken LuaJIT version detection. * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`. * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`. * Clean up style of CMake files.
2015-03-07Don't use luaL_checkstring to read node names, it's only for argumentsShadowNinja
This caused confusing error messages like "argument #4 to set_node is not a string."
2015-03-07For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins
NDEBUG is defined), replace those usages with persistent alternatives
2015-01-04Remove freezemelt (the remainder of proller nonsense)kwolekr
2014-12-27Redefine NodeResolver interface and replace with callback mechanismkwolekr
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-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
2014-12-06Schematics: Fix minetest.place_schematic() when defined by a Lua tablekwolekr
2014-11-26Don't corrupt stepheight when setting other propertiesCiaran Gultnieks
2014-11-13Add option 'eased' to NoiseParamsSmallJoker
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-12Add Generator Element Management frameworkkwolekr
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
2014-11-01Split up mapgen.cppkwolekr
2014-10-26Add NodeResolver and clean up node name -> content ID resolution systemkwolekr
2014-10-19Custom collision boxes node property.RealBadAngel
2014-10-18Add meshnode drawtype.RealBadAngel
2014-08-23Fix LuaJIT exception wrapperKahrl
2014-05-08Use "core" namespace internallyShadowNinja
2014-04-29Add proper lua api deprecated handlingsapier
2014-04-12Use integers instead of float valuesBlockMen
2014-03-15Remove lua_State parameter from LuaError::LuaErrorShadowNinja
2014-03-15Revert "Make sure we get a stacktrace for as many lua errors as possible"ShadowNinja
This reverts commit 362ef5f6ced862daa4733034810d0b07e2ad5d89. Stack tracebacks couldn't be generated in LuaError::LuaError anyway and this caused a second, empty traceback in most cases. In cases where there wasn't annother traceback the stack had already unwound and the traceback was empty.
2014-03-15Make sure we get a stacktrace for as many lua errors as possibleSfan5
2014-03-08Update set_mapgen_params and set_gen_notify Lua API to use new flag formatkwolekr
2014-02-15Add minetest.set_noiseparam_defaults() Lua APIkwolekr
2014-02-09Define strlcpy on platforms that do not have itkwolekr
2014-02-09Add capability to read table flag fields from Lua APIkwolekr
2014-02-08Make flag strings clear specified flag with 'no' prefixkwolekr
Remove flagmask field from set_mapgen_params table Add small bits of needed documentation
2014-01-19Schematic: Read slice probability table from schematic descriptorskwolekr
2014-01-11Add maximum recursion depth to read_json_valueShadowNinja
2014-01-11Rename get_json_value to read_json_valueShadowNinja
2013-12-30Fix InventoryList reading orderShadowNinja
Lua does not guarantee that the indexes of a table will be in numerical order.
2013-12-18Don't throw a error when writing JSON failsShadowNinja
2013-12-18Add 'minetest.write_json'ShadowNinja
2013-12-18Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja
2013-12-07Move script_run_callbacks to LuaShadowNinja
2013-12-03Shaders rework.RealBadAngel
2013-11-30Optimize table creationShadowNinja
2013-11-21Fix possible implicit conversion of NULL to std::stringkwolekr
2013-11-16fixed array limit check when reading Lua specialtiles tableMetaDucky
2013-11-15Pass a errfunc to lua_pcall to get a tracebackShadowNinja
2013-09-10Add offset to automatic_face_movement_dirPilzAdam