Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Expose collided objects in moveresult | sfan5 | 2020-05-06 | 1 | -0/+3 |
| | | | | closes #9787 | ||||
* | Fix remaining issues with mapgen scriptapi | sfan5 | 2020-05-05 | 1 | -16/+8 |
| | |||||
* | Give the Mapgen on each EmergeThread its own Biome/Ore/Deco/SchemManager copy | sfan5 | 2020-05-05 | 1 | -25/+38 |
| | |||||
* | Sky API: Rename *_tint to fog_*_tint for consistency | SmallJoker | 2020-05-05 | 1 | -11/+11 |
| | |||||
* | Rename moveresult speed to velocity | SmallJoker | 2020-05-05 | 1 | -2/+2 |
| | |||||
* | Auto delete MetaData when = 0 (#8770) | Lejo | 2020-05-02 | 1 | -2/+6 |
| | | | | * Auto delete MetaData when = 0 | ||||
* | set_fov: Add support for time-based transitions (#9705) | ANAND | 2020-05-02 | 1 | -3/+8 |
| | |||||
* | Allow connection info to be missing from minetest.get_player_information() ↵ | sfan5 | 2020-05-01 | 1 | -50/+52 |
| | | | | | | (#9739) fixes #9352 This reverts commit 23c907befea02005e2c0c87fca0131b60aace18a. | ||||
* | Give the online lua mainmenu also the client_list and mods (#8691) | Lejo | 2020-05-01 | 1 | -25/+56 |
| | |||||
* | Expose collision information to LuaEntity on_step | sfan5 | 2020-04-27 | 4 | -6/+68 |
| | |||||
* | Forbid object:attach(obj, ...) (#9762) | Loïc Blot | 2020-04-27 | 1 | -0/+5 |
| | | | Fixes #9761 | ||||
* | Script: Enforce type checks if not nil (#9748) | SmallJoker | 2020-04-27 | 4 | -56/+72 |
| | | | | * Script: Enforce type checks if not nil | ||||
* | script: Put getGuiEngine() inside a client-only #ifdef | sfan5 | 2020-04-27 | 3 | -2/+9 |
| | |||||
* | script: Fix add_entity returning unusable ref if object deleted in on_activate | sfan5 | 2020-04-27 | 1 | -5/+5 |
| | |||||
* | Add server side translations capability (#9733) | EvidenceB Kidscode | 2020-04-25 | 3 | -1/+25 |
| | | | | * Add server side translations capability | ||||
* | Fix configuration caching in log_deprecated (#9697) | HybridDog | 2020-04-22 | 3 | -6/+7 |
| | | | | | | * Fix configuration caching in log_deprecated The configured variable was never set to true. I've set the variables to thread_local because the configuration should be reloaded after reentering the world from mainmenu. | ||||
* | Fix alias handling of get_content_id (#9712) | sfan5 | 2020-04-19 | 1 | -1/+12 |
| | | | fixes #9632 | ||||
* | script: Move SAO usability check so that it covers all functions (#9698) | sfan5 | 2020-04-18 | 1 | -12/+4 |
| | | | see also 91eef646a59575bd9ae792e257bb6ad12fafc0b1 | ||||
* | Optimize get_objects_inside_radius calls (#9671) | Loïc Blot | 2020-04-16 | 1 | -12/+12 |
| | | | | | | | | | * Optimize getObjectsInsideRadius calls our previous implementation calls the ActiveObjectMgr to return ids and then lookup those ids in the same map and test each object Instead now we call the global map to return the pointers directly and we ask filtering when building the list using lamba. This drop double looping over ranges of active objects (and then filtered one) and drop x lookups on the map regarding the first call results | ||||
* | Fix parsing JSON with large integers (#9674) | sfan5 | 2020-04-15 | 1 | -3/+3 |
| | |||||
* | scriptapi: Some small optimizations to value pushing (#9669) | sfan5 | 2020-04-14 | 7 | -67/+59 |
| | |||||
* | Improve waypoints and add image variant (#9480) | Lars Müller | 2020-04-11 | 1 | -1/+5 |
| | |||||
* | Formspecs: Add state-selection to style elements (#9378) | Hugues Ross | 2020-04-11 | 1 | -9/+10 |
| | |||||
* | Fix broken config check in 659245a | sfan5 | 2020-04-11 | 1 | -0/+1 |
| | |||||
* | Reduce ServerEnvironment propagation (#9642) | Loïc Blot | 2020-04-11 | 3 | -45/+16 |
| | | | | | | | | | | ServerEnvironment is a huge class with many accessors. In various places it's not needed Remove it to reduce the ServerEnvironment view. Idea here is to reduce size of some of our objects to transport lightweight managers and permit easier testing Pathfinder is now tied to a generic map, not a ServerMap, it can be ported to client | ||||
* | Drop content_sao.{cpp,h} | Loic Blot | 2020-04-11 | 4 | -4/+2 |
| | | | | | | | 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 | 5 | -5/+6 |
| | |||||
* | Move serveractiveobject & unitsao | Loic Blot | 2020-04-11 | 3 | -3/+3 |
| | | | | | Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h} Move UnitSAO class to dedicated files | ||||
* | Various features and fixes | sfan5 | 2020-04-11 | 3 | -29/+92 |
| | |||||
* | Implement minetest.sound_fade() | sfan5 | 2020-04-11 | 3 | -3/+27 |
| | |||||
* | scriptapi: Sort out ServerEnvironment / Environment distinction properly | sfan5 | 2020-04-11 | 3 | -37/+44 |
| | | | | | | The API implementation is shared between CSM and SSM. Functions should retrieve a plain env when they do not need any server-specific functions. | ||||
* | A few initialization cleanups | sfan5 | 2020-04-11 | 2 | -3/+8 |
| | |||||
* | Work around LuaJIT issues on aarch64 (#9614) | sfan5 | 2020-04-08 | 4 | -2/+25 |
| | | | | - 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 | 2 | -2/+1 |
| | | | | Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places. | ||||
* | Fix 'the the' typos in comments (#9554) | LNJ | 2020-04-04 | 1 | -1/+1 |
| | |||||
* | minetest.get_content_id: error if the node does not exist (#9458) | HybridDog | 2020-03-11 | 1 | -2/+4 |
| | | | If a mod creator makes a typing mistake, this function now causes an error instead of returning the id of "ignore". | ||||
* | minetest,get_connected_players: Return empty table at load time (#9493) | sfan5 | 2020-03-10 | 1 | -1/+7 |
| | |||||
* | Fix star visilibity and documentation (since 946c03c6) | Jordan Snelling | 2020-03-08 | 1 | -1/+1 |
| | | | | | | | Fix memory leak (unused allocation) Fix star rendering Rename sky color struct Fix stars on android Remove extraneous .data() from android star draw | ||||
* | set_sky improvements, set_sun, set_moon and set_stars | Jordach | 2020-03-05 | 4 | -35/+399 |
| | |||||
* | Fix pathfinder bugs: returning nil frequently, broken A*, jump through solid ↵ | Wuzzy | 2020-03-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | nodes (#9339) * Fix pathfinder fail when startpos is over air * Note down pathfinder restrictions * Implement real A* search * Pathfinder: Implement buildPath non-recursively * Update find_path documentation * Pathfinder: Check if jump path is unobstructed * Pathfinder: Fix drop check first checking upwards * Pathfinder: Return nil if source or dest are solid * Pathfinder: Use priority queue for open list | ||||
* | Fix core.get_player_by_name() returning unusable ObjectRef | sfan5 | 2020-03-03 | 1 | -8/+4 |
| | | | | Followup to the previous commit. | ||||
* | Fix core.get_connected_players() returning unusable ObjectRefs | sfan5 | 2020-03-03 | 1 | -1/+1 |
| | | | | | | | | | This bug is only exposed by 91eef646a59575bd9ae792e257bb6ad12fafc0b1 independent of the move of get_connected_players from Lua to C++. Previously, there would be a small time window where the SAO had its peer ID set to PEER_ID_INEXISTENT but the RemotePlayer was still linked to the SAO, resulting in an ObjectRef that crashed on certain function calls (#9387). | ||||
* | Fix potential problem with core.get_connected_players() | sfan5 | 2020-02-25 | 1 | -0/+2 |
| | |||||
* | Move core.get_connected_players() implementation to C++ | sfan5 | 2020-02-23 | 4 | -1/+26 |
| | | | | | Keeping the ObjectRefs around in a table isn't ideal and this allows removing the somewhat nonsensical is_player_connected() added in 86ef7147. | ||||
* | Refactor Script API's log_deprecated | sfan5 | 2020-02-23 | 5 | -30/+26 |
| | |||||
* | Script API: Document ObjectRef handling in a comment | sfan5 | 2020-02-23 | 1 | -0/+14 |
| | |||||
* | Script API: Check that SAOs are still usable before attempting to use them | sfan5 | 2020-02-11 | 1 | -0/+4 |
| | |||||
* | Improve core.sound_play with ephemeral sounds and player exclusion | sfan5 | 2020-02-01 | 2 | -4/+11 |
| | |||||
* | Settings: Add get_flags API for mapgen flags (mg_flags, mgv6_spflags, ...) ↵ | SmallJoker | 2020-01-25 | 2 | -0/+28 |
| | | | | | | | | | | | (#9284) Unified flags handling in C++ and Lua Settings API -> Reading only, for now. Writing can be implemented later, if needed. API function to read the currently active flags -> was impossible from Lua Co-authored-by: Wuzzy <wuzzy2@mail.ru> | ||||
* | Remove unused weight property from objects (#9320) | Wuzzy | 2020-01-22 | 1 | -4/+0 |
| |