aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix pathfinder bugs: returning nil frequently, broken A*, jump through solid ↵Wuzzy2020-03-05
| | | | | | | | | | | | | | 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 ObjectRefsfan52020-03-03
| | | | Followup to the previous commit.
* Fix core.get_connected_players() returning unusable ObjectRefssfan52020-03-03
| | | | | | | | | 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).
* Add multiple element selection to `style` and `style_type` (#9380)v-rob2020-03-01
|
* GUIInventoryList: fix dropping items when clicking outside of formspec ↵DS2020-02-26
| | | | | | window (#9422)
* Allow texture modifiers in hotbar textures. (#9271)Warr10242020-02-26
|
* Fix potential problem with core.get_connected_players()sfan52020-02-25
|
* Move core.get_connected_players() implementation to C++sfan52020-02-23
| | | | | 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_deprecatedsfan52020-02-23
|
* Script API: Document ObjectRef handling in a commentsfan52020-02-23
|
* Settings: Fix game minetest.conf flags overriding defaults (#9404)SmallJoker2020-02-17
| | | | | | The game minetest.conf flags directly overwrote the global minetest.conf default values, resulting in unwanted erased mapgen flags. * Fix set_mapgen_setting
* Basic model shading (#9374)Danila Shutov2020-02-16
|
* Add animated_image[] formspec element (#9258)Hugues Ross2020-02-15
|
* Key settings: Clear with escape (#8282)SmallJoker2020-02-14
| | | | Key ESCAPE -> Cancel change Key DELETE -> Remove entry
* Fix param2 set to 240 if liquid source was renewedWuzzy2020-02-13
|
* Collision detection tweak #2 (#9365)TheTermos2020-02-13
|
* Display an error when a noise parameter has too many octaves (#9394)Paramat2020-02-12
| | | | Display an error and throw exception when one or more octaves of a noise has spread < 1, causing random looking broken noise.
* Script API: Check that SAOs are still usable before attempting to use themsfan52020-02-11
|
* StaticText: Reset background on EnrichedString change (#9340)SmallJoker2020-02-01
| | | This also fixes the F6 profiler background color -> now controlled by EnrichedString
* Improve core.sound_play with ephemeral sounds and player exclusionsfan52020-02-01
|
* Add limit parameter to decompressZlibBen Deutsch2020-02-01
| | | | | This can prevent untrusted data, such as sent over the network, from consuming all memory with a specially crafted payload.
* Formspec: Create a new class for inventorylists (#9287)DS2020-02-01
|
* Collision temporary fix for issue #6886TheTermos2020-01-27
|
* Add 9-slice background support to button formspec elements (#9290)Hugues Ross2020-01-26
|
* Settings: Add get_flags API for mapgen flags (mg_flags, mgv6_spflags, ...) ↵SmallJoker2020-01-25
| | | | | | | | | | | (#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>
* EnrichedString: Fix substr segfault caused by non-formatted textSmallJoker2020-01-24
|
* Update translation sourcesrubenwardy2020-01-24
|
* CMakeLists: Remove some redundant declarations and flagssfan52020-01-23
|
* Organize and sort out some library dependency issuessfan52020-01-23
|
* EnrichedString: Fix uninitialized variable m_default_lengthSmallJoker2020-01-23
|
* StaticText/EnrichedString: Styling support (#9187)SmallJoker2020-01-22
| | | | | | | | * StaticText/EnrichedString: Styling support * Fix tooltip fg/bgcolor * Fix default color for substr(), add unittests
* Remove zh_* from GETTEXT_BLACKLISTED_LOCALES (#9229)Zaoqi2020-01-22
|
* Remove unused weight property from objects (#9320)Wuzzy2020-01-22
|
* Formspec: Don't start a button click when the pointer isn't on top (#9332)Hugues Ross2020-01-22
|
* Resized torchlike sprite now attaches to surface (#9303)Wuzzy2020-01-20
|
* Replace stray tab with whitespace in guiFormSpecMenu.cpp (#9317)ANAND2020-01-18
|
* Make clipping of formspec elements more consistent (#9262)Hugues Ross2020-01-16
|
* Increase star count to 1000 and decrease radius slightly (#9307)lhofhansl2020-01-16
| | | | | * Increase star count to 1000 and decrease radius slightly. * Adjust star width.
* Android: fix cyrillic characters, update iconv lib (#9117)Maksim2020-01-13
|
* Map download: Escape ':' to '_' (#9235)Montandalar2020-01-11
| | | | | | | | | | | | | | This is necessary under Windows systems, and direct IPv6 connections. Windows universally disallows ':' from occuring in filenames. Other disallowed characters on Windows: \ / * ? " < > | are not relevant to hostnames, IPv4 or IPv6 addresses. Anyone who has got an existing server map saved on Linux with ':' in the world save will want to keep that save.
* Formspec: change the appeareance of the cursor on fields and co. (#8665)DS2020-01-11
|
* Formspec: Fix clicking on tooltip-obstructed elements (#9266)DS2020-01-04
|
* Remove Mapgen V7 floatlands in preparation for new implementation (#9238)Paramat2020-01-04
| | | | Preserve the floatland flag of existing worlds, to be used again when the new implementation is added.
* Use appropriate LC_ locale macro for Windows (#9230)Montandalar2019-12-24
| | | | | * Wrap LC_ macro in ifdef Windows does not have LC_MESSAGES in locale.h, so use LC_ALL on that platform
* Fix the player information version_string return value (#8616)Lejo2019-12-20
| | | | | | | | | | | | | | | | * Give more player information * Correct lua_api.txt * Correct keys in lua_api.txt * Improve Code * Only Bugfix+ser_vers * Correct doc * Fix double
* Don't override the FGIMG style property if the image parameter is nullHugues Ross2019-12-16
|
* Remove the dependency on FGIMG/BGIMG from the hovered/pressed variantsHugues Ross2019-12-16
| | | | - Make guiButtonImage support null images properly
* StyleSpec: 0-initialize the property_set arrayHugues Ross2019-12-16
|
* GUIFormSpecMenu: Fix legacy sorting using std::stable_sortSmallJoker2019-12-14
|
* Fix spaces breaking formspec_version[] tagrubenwardy2019-12-09
|