aboutsummaryrefslogtreecommitdiff
path: root/src/script/common
Commit message (Expand)AuthorAge
* Fix relief mapping issuesRealBadAngel2015-07-16
* Fix code style from recent commits and add misc. optimizationskwolekr2015-07-02
* Add some missing getter functions to the lua APITeTpaAka2015-05-28
* SAPI/Noise: Add PerlinNoiseMap:getMapSlice() functionkwolekr2015-05-17
* SAPI: Accept either ARGB8 table or ColorString to specify colorskwolekr2015-05-16
* Add mod securityShadowNinja2015-05-16
* Add push_ARGB8 to script/common/c_converterTeTpaAka2015-05-15
* Schematics: Add per-node force placement optionkwolekr2015-05-09
* Fix missing Y component assignment in check_v3fkwolekr2015-05-08
* Remove duplicate lua_getfield() in c_converter.cppKevin Ott2015-05-07
* Fix error messages for type-checking Lua reading functionsShadowNinja2015-05-06
* Add 'persistence' alias for Lua noiseparams and validate more vector parameterskwolekr2015-04-19
* Schematics: Refactor NodeResolver and add NodeResolveMethodkwolekr2015-04-16
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-01
* Clean up and tweak build systemShadowNinja2015-03-27
* Don't use luaL_checkstring to read node names, it's only for argumentsShadowNinja2015-03-07
* For usages of assert() that are meant to persist in Release builds (when NDEB...Craig Robbins2015-03-07
* Remove freezemelt (the remainder of proller nonsense)kwolekr2015-01-04
* Redefine NodeResolver interface and replace with callback mechanismkwolekr2014-12-27
* Move get_schematic and read_schematic to l_mapgen.cppkwolekr2014-12-10
* Remove get_noiseparams function. read_noiseparams should be used from now onkwolekr2014-12-10
* Add flags and lacunarity as new noise parameterskwolekr2014-12-07
* Schematics: Fix minetest.place_schematic() when defined by a Lua tablekwolekr2014-12-06
* Don't corrupt stepheight when setting other propertiesCiaran Gultnieks2014-11-26
* Add option 'eased' to NoiseParamsSmallJoker2014-11-13
* Add Generator Element Management frameworkkwolekr2014-11-12
* Split up mapgen.cppkwolekr2014-11-01
* Add NodeResolver and clean up node name -> content ID resolution systemkwolekr2014-10-26
* Custom collision boxes node property.RealBadAngel2014-10-19
* Add meshnode drawtype.RealBadAngel2014-10-18
* Fix LuaJIT exception wrapperKahrl2014-08-23
* Use "core" namespace internallyShadowNinja2014-05-08
* Add proper lua api deprecated handlingsapier2014-04-29
* Use integers instead of float valuesBlockMen2014-04-12
* Remove lua_State parameter from LuaError::LuaErrorShadowNinja2014-03-15
* Revert "Make sure we get a stacktrace for as many lua errors as possible"ShadowNinja2014-03-15
* Make sure we get a stacktrace for as many lua errors as possibleSfan52014-03-15
* Update set_mapgen_params and set_gen_notify Lua API to use new flag formatkwolekr2014-03-08
* Add minetest.set_noiseparam_defaults() Lua APIkwolekr2014-02-15
* Define strlcpy on platforms that do not have itkwolekr2014-02-09
* Add capability to read table flag fields from Lua APIkwolekr2014-02-09
* Make flag strings clear specified flag with 'no' prefixkwolekr2014-02-08
* Schematic: Read slice probability table from schematic descriptorskwolekr2014-01-19
* Add maximum recursion depth to read_json_valueShadowNinja2014-01-11
* Rename get_json_value to read_json_valueShadowNinja2014-01-11
* Fix InventoryList reading orderShadowNinja2013-12-30
* Don't throw a error when writing JSON failsShadowNinja2013-12-18
* Add 'minetest.write_json'ShadowNinja2013-12-18
* Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja2013-12-18
* Move script_run_callbacks to LuaShadowNinja2013-12-07
an>(L); IRollbackManager *rollback = server->getRollbackManager(); // If rollback is disabled, tell it's not a success. if (rollback == NULL) { lua_pushboolean(L, false); lua_newtable(L); return 2; } std::list<RollbackAction> actions = rollback->getRevertActions(actor, seconds); std::list<std::string> log; bool success = server->rollbackRevertActions(actions, &log); // Push boolean result lua_pushboolean(L, success); lua_createtable(L, log.size(), 0); unsigned long i = 0; for(std::list<std::string>::const_iterator iter = log.begin(); iter != log.end(); ++i, ++iter) { lua_pushnumber(L, i); lua_pushstring(L, iter->c_str()); lua_settable(L, -3); } return 2; } void ModApiRollback::Initialize(lua_State *L, int top) { API_FCT(rollback_get_node_actions); API_FCT(rollback_revert_actions_by); }