Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rework use_texture_alpha to provide three opaque/clip/blend modes | sfan5 | 2021-01-29 | 2 | -0/+9 |
| | | | | | The change that turns nodeboxes and meshes opaque when possible is kept, as is the compatibility code that warns modders to adjust their nodedefs. | ||||
* | Remove dead code (#10845) | rubenwardy | 2021-01-22 | 2 | -35/+0 |
| | |||||
* | Implement on_rightclickplayer callback (#10775) | JDiaz | 2021-01-11 | 2 | -0/+14 |
| | | | Co-authored-by: rubenwardy <rw@rubenwardy.com> | ||||
* | Add on_deactivate callback for luaentities (#10723) | hecks | 2021-01-02 | 2 | -0/+27 |
| | |||||
* | Fix some minor code issues all over the place | sfan5 | 2020-12-24 | 1 | -4/+3 |
| | |||||
* | Fix CSMs on arm64 (#10553) | luk3yx | 2020-10-25 | 1 | -0/+4 |
| | |||||
* | Fix Lua panic when error() message is not a string | Paul Ouellette | 2020-06-07 | 1 | -2/+6 |
| | |||||
* | Value copy / allocation optimizations mostly in server, SAO and serialize code | sfan5 | 2020-05-27 | 2 | -2/+2 |
| | |||||
* | Add on_authplayer callback and 'last_login' to on_joinplayer (#9574) | sorcerykid | 2020-05-23 | 4 | -13/+27 |
| | | | | | | Replace on_auth_fail callback with more versatile on_authplayer Better clarify account login process in Lua API documentation Change initial timestamp for newly registered accounts to -1 | ||||
* | Expose collision information to LuaEntity on_step | sfan5 | 2020-04-27 | 2 | -5/+11 |
| | |||||
* | script: Put getGuiEngine() inside a client-only #ifdef | sfan5 | 2020-04-27 | 1 | -0/+4 |
| | |||||
* | Drop content_sao.{cpp,h} | Loic Blot | 2020-04-11 | 1 | -1/+0 |
| | | | | | | | Move LuaEntitySAO to a new dedicated file Drop TestSAO (useless object) Drop the old static startup initialized SAO factory, which was pretty useless. This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation | ||||
* | Move PlayerSAO to dedicated files | Loic Blot | 2020-04-11 | 2 | -1/+2 |
| | |||||
* | Move serveractiveobject & unitsao | Loic Blot | 2020-04-11 | 1 | -1/+1 |
| | | | | | Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h} Move UnitSAO class to dedicated files | ||||
* | Work around LuaJIT issues on aarch64 (#9614) | sfan5 | 2020-04-08 | 2 | -1/+10 |
| | | | | - Move the text segment below the 47-bit limit, needed for script_exception_wrapper which must be lightuserdata - Replace CUSTOM_RIDX_SCRIPTAPI with full userdata | ||||
* | Overall improvements to log messages (#9598) | sfan5 | 2020-04-08 | 1 | -1/+1 |
| | | | | Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places. | ||||
* | Script API: Document ObjectRef handling in a comment | sfan5 | 2020-02-23 | 1 | -0/+14 |
| | |||||
* | [CSM] Expose more env functions | sfan5 | 2019-11-11 | 1 | -1/+0 |
| | |||||
* | Call on_secondary_use when object is right-clicked | sfan5 | 2019-11-10 | 2 | -4/+3 |
| | |||||
* | Load client mods into memory before execution. | sfan5 | 2019-11-09 | 2 | -11/+20 |
| | | | | Preperation for server-sent CSM which will eventually need this. | ||||
* | Refactor loading of Lua code with mod security | sfan5 | 2019-11-09 | 2 | -52/+28 |
| | |||||
* | CSM: Fix itemstack:get_meta() 'metadata' indexing error | SmallJoker | 2019-09-14 | 1 | -0/+1 |
| | |||||
* | Load CSM environment after the restrictions are known | SmallJoker | 2019-09-14 | 2 | -0/+8 |
| | | | | | | | Safety-guards for CSM callbacks to abort on a bad implementation Only run callbacks when the mods are loaded (and with it: builtin) Duplication checks inside constructors | ||||
* | Merge pull request #8776 from osjc/FixGetNode | Jozef Behran | 2019-08-10 | 2 | -7/+7 |
| | | | Finish getNode cleanup | ||||
* | Allow customizing chat message format (#8529) | ANAND | 2019-08-08 | 2 | -4/+30 |
| | |||||
* | Move the clamping of hp/breath when their maximums change to ↵ | Beha | 2019-07-30 | 2 | -4/+4 |
| | | | | | read_object_properties(). (#8689) This prevents set_properties() calls that have nothing to do with hp_max or breath_max overriding the saved hp before another mod has the chance to set a player's intended hp_max (such as in on_joinplayer). | ||||
* | Check for 'action' field in ABMs & LBMs | SmallJoker | 2019-07-27 | 1 | -0/+8 |
| | |||||
* | Removed debug.upvaluejoin to prevent leak of insecure environment | y | 2019-07-24 | 1 | -1/+0 |
| | |||||
* | Add node field to PlayerHPChangeReason table (#8368) | Paul Ouellette | 2019-04-11 | 1 | -0/+4 |
| | |||||
* | HPChange Reason: Fix push after free, and type being overwritten (#8359) | rubenwardy | 2019-03-12 | 1 | -5/+9 |
| | | | | | | * HPChange Reason: Fix push after free, and type being overwritten Fixes #8227 and #8344 | ||||
* | Consistent HP and damage types (#8167) | SmallJoker | 2019-02-10 | 3 | -21/+3 |
| | | | | | Remove deprecated HUDs and chat message handling. Remove unused m_damage variable (compat break). HP: s32 for setter/calculations, u16 for getter. | ||||
* | Fix wrong code comment (#8061) | DS | 2019-01-06 | 1 | -1/+1 |
| | | | "Get core.registered_on_chat_messages" to "Get core.registered_on_player_receive_fields" where `core.registered_on_player_receive_fields` is gotten | ||||
* | Move client-specific files to 'src/client' (#7902) | Quentin Bazin | 2018-11-28 | 3 | -3/+3 |
| | | | | | Update Android.mk Remove 'src/client' from include_directories | ||||
* | Raycast: export exact pointing location (#6304) | Dániel Juhász | 2018-08-16 | 2 | -3/+7 |
| | | | | | * Return intersection point in node coordinates. * Clarify 'intersection_point' documentation | ||||
* | Add a MSVC / Windows compatible snprintf function (#7353) | nOOb3167 | 2018-07-22 | 1 | -1/+1 |
| | | | Use sizeof where applicable for mt_snprintf | ||||
* | Modernize lua read (part 2 & 3): C++ templating assurance (#7410) | Loïc Blot | 2018-06-30 | 9 | -33/+29 |
| | | | | | | | | | * Modernize lua read (part 2 & 3): C++ templating assurance Implement the boolean reader Implement the string reader Also remove unused & unimplemented script_error_handler Add a reader with default value | ||||
* | CSM/SSM: Add on_mods_loaded callback (#7411) | Loïc Blot | 2018-06-06 | 4 | -0/+28 |
| | | | | | * CSM/SSM: Add on_mods_loaded callback | ||||
* | Fix builtin inventory list crash when size = 0 (#7297) | SmallJoker | 2018-05-05 | 1 | -1/+1 |
| | |||||
* | Allow damage for attached objects, add attach/detach callbacks (#6786) | SmallJoker | 2018-04-30 | 2 | -30/+32 |
| | | | * Allow right-clicking on attached LuaEntities | ||||
* | Add online content repository | rubenwardy | 2018-04-19 | 1 | -1/+1 |
| | | | | Replaces mods and texture pack tabs with a single content tab | ||||
* | Run callback in IDropAction, refactor function arguments | SmallJoker | 2018-04-02 | 6 | -211/+162 |
| | |||||
* | Add player inventory callbacks | SmallJoker | 2018-04-02 | 2 | -0/+191 |
| | |||||
* | LINT: add clang-tidy step (#6295) | Loïc Blot | 2018-04-01 | 1 | -4/+4 |
| | | | | | | | | | * Implement new travis clang-tidy build step * This step enable some rules and enforce one rule as error * This permits to have some C++ quality rules based on clang & clang contributor guidelines * Fix clang-tidy reported problems on push_back -> emplace_back | ||||
* | Fix a warning reported by clang | Loic Blot | 2018-03-29 | 1 | -2/+2 |
| | | | | | minetest/src/script/cpp_api/s_player.h:27:1: warning: struct 'PlayerHPChangeReason' was previously declared as a class [-Wmismatched-tags] struct PlayerHPChangeReason; | ||||
* | Add reasons to on_dieplayer and on_hpchange | Andrew Ward | 2018-03-28 | 4 | -9/+43 |
| | |||||
* | Add `on_auth_fail` callback (#7039) | red-001 | 2018-02-15 | 2 | -0/+12 |
| | | | Called when a client fails to supply the correct password for the account it's attempting to login as. | ||||
* | Node definition manager refactor (#7016) | Dániel Juhász | 2018-02-10 | 3 | -16/+16 |
| | | | | | | | | | * Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager | ||||
* | Move `setlocale` from Lua to C++. | red-001 | 2018-02-08 | 2 | -2/+4 |
| | |||||
* | [CSM] Don't Load the package library (#6944) | red-001 | 2018-01-22 | 1 | -1/+0 |
| | | | Already removed by a latter step in CSM init so this just saves on pointless work. | ||||
* | Change include from "cmake_config.h" to "config.h" | Wayward One | 2018-01-21 | 1 | -1/+1 |
| | | | Fixes #6894 |