aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-12-06Add z-index management to HUDPierre-Yves Rollo
2019-12-05Fix LocalPlayer-bound sound playback broken by 81c2370SmallJoker
2019-11-25Improve client-side packet receivingsfan5
2019-11-23Caves: Fix shadowing of 'large_cave_depth' to avoid confusionparamat
2019-11-23Dungeons: Move duplicated y limit checks to generation functionparamat
2019-11-20Formspec: Fix priorities for version < 3 (#9121)SmallJoker
* Formspec: Fix priorities for version < 3 1) Introduce 'priority' to 'FieldSpec' 2) Sort elements based on 'priority' 3) Assign 'name' to the Item Image Button's image to show tooltips again
2019-11-19Waves generated with Perlin-type noise #8994Lars Hofhansl
2019-11-19Move duplicated mapgen parameters to class MapgenBasic (#9134)Paramat
'large_cave_depth', 'dungeon_ymin' and 'dungeon_ymax' are duplicated across many mapgens so should have been in class MapgenBasic from the start.
2019-11-19Rework packet receiving in ServerThreadsfan5
Notably it tries to receive all queued packets between server steps, not just one.
2019-11-18Randomwalk cave liquids: Remove deprecated 'lava depth' parameter (#9105)Paramat
Low-disruption first step towards removing the hardcoded cave liquid code. Since MT 5.0.0 cave liquids can be defined and located by biome definitions instead. In games that do not yet use biome definitions to define and locate cave liquids (MTGame does), lava will now appear below y = water_level - 256 instead of below 'lava depth' (usually y = -256). Therefore no change in most mapgens if using the default 'lava depth'.
2019-11-14Optimize semaphore wait with zero timeout on POSIXsfan5
2019-11-11Fix clang-tidy and lint travis checkssfan5
2019-11-11[CSM] Fix and improve minetest.get_language()sfan5
Previously this method would accidentally reset the locale and break everything.
2019-11-11[CSM] Implement minetest.get_csm_restrictions()sfan5
fixes #8068
2019-11-11Run on_item_use CSM callback even if item is not marked usablesfan5
Mods may want to to handle item interaction even if the item is not marked usable (= server-side callback exists).
2019-11-11Fix camera:get_offset() in CSMsfan5
2019-11-11[CSM] Expose more env functionssfan5
2019-11-11Refactor CSM restriction code a bitsfan5
This also fixes find_node_near restrictions being ineffective.
2019-11-10Call on_secondary_use when object is right-clickedsfan5
2019-11-10Randomwalk caves: Extend beyond mapchunk vertically also (#9094)Paramat
Previously, randomwalk caves only extended beyond the mapchunk borders horizontally, preventing vertical overlap and interconnection.
2019-11-09Be lenient with extra slashes for CSM pathssfan5
2019-11-09[CSM] Remove non-functional minetest.get_day_count()sfan5
2019-11-09Corrections to client_lua_api.txtsfan5
2019-11-09Introduce get_modpath() for CSMsfan5
2019-11-09Load client mods into memory before execution.sfan5
Preperation for server-sent CSM which will eventually need this.
2019-11-09Refactor loading of Lua code with mod securitysfan5
2019-11-09Tunnels: Completely disable generation when 'cave width' >= 10.0 (#9093)Paramat
Previously, the only way to disable the 3D noise tunnels was to set 'cave width' > 1.0, however doing so did not disable the very intensive noise calculations or the generation loop. All the other types of cave generation (randomwalk caves, caverns) can already be independently and completely disabled. This feature is now needed more because the small randomwalk caves are now available for use as an alternative to the 3D noise tunnels.
2019-11-08Make core.get_favorites("local") ignore duplicates (#7926)Paul Ouellette
2019-11-08Randomwalk caves: Add parameters for number, proportion flooded. Allow small ↵Paramat
caves (#8928) Add mapgen parameters to set the range of the random number of randomwalk caves per mapchunk, and to set the proportion that are flooded with liquids. Default values are, for now, unchanged from the previous hardcoded values. Add parameters to allow small randomwalk caves Disabled by default for now as they have never been present in the non-mgv6 mapgens.
2019-11-07Formspec: draw order and clipping for all elements (#8740)DS
2019-11-03Android: Fix broken double-tap after 49 days uptimeSmallJoker
2019-11-03Clean up font caching, fix bitmap fontsSmallJoker
2019-11-03Formspec: add hypertext elementPierre-Yves Rollo
2019-10-29Change some usages of "deprecated" to "obsolete" (#9062)random-geek
"Deprecated" means that something is still in use, but is unsupported and needs to be removed. "Obsolete" means it is already out of use.
2019-10-24Change some rough/inappropriate language in comments (#9061)random-geek
2019-10-24Improve light curve parameter limits and documentation (#9054)Paramat
Revert gamma upper limit to 3.0 because that was raised based on a misunderstanding and had no benefit. A sane upper limit is needed as players on a competitive server tend to use the maximum. Set gamma lower limit to 0.33 for consistency with 3.0. Set sane limits on alpha, beta, boost and enforce these in code to limit values entered in minetest.conf and to avoid easy cheating by editing settingtypes.txt. Improve documentation and 'readable' setting names. Clarify that gamma does not significantly affect natural night light. light.cpp: Various codestyle and comment improvements.
2019-10-23Remove legacy flat-file map coderandom-geek
2019-10-23Fix build issue due to conflicting s64 type definitions (#9064)Dmitry Marakasov
See comment in irrlichttypes.h and https://sourceforge.net/p/irrlicht/bugs/433/
2019-10-23Allow calling ItemStack with no arguments (#8783)Paul Ouellette
2019-10-20Formspecs: Reset version number on rebuildSmallJoker
2019-10-18Make natural night light as bright as MT 0.4.16 (#9053)Paramat
2019-10-18Correction for alpha blending issues in texture mod compositing (#9029)Warr1024
2019-10-13Randomwalk caves: Reduce 'insure' value from 10 to 2 (#9035)Paramat
This value reduces how far randomwalk caves can extend into the mapchunk padding, to avoid 'out of voxelmanip' cave nodes which cause flattened cave walls. Testing shows that a value of 2 (instead of 10) is enough to make 'out of area' nodes extremely rare. Reducing this value results in a higher chance of overlap and connection with caves of neighbour mapchunks.
2019-10-12Add more visual feedback for button states (#8916)Hugues Ross
- Add style properties for overriding the the hovered/pressed state - By default, hovered buttons are a lighter version of the base color - By default, pressed buttons are a darker version of the base color - Add hovered bg image support for image buttons (style property)
2019-10-12Update translation stringsupdatepo.sh
2019-10-09Fix isDead()/autoforward crash (#9031)Paramat
Crash occurred in singleplayer when leaving a world with autoforward enabled then re-entering a world.
2019-10-09ContentCAO: Fix segfault on quit (attached)SmallJoker
2019-10-08Revert Client::sendPlayerPos optimization (part of 81c7f0a) (#9025)ANAND
Comment out the if statement that prevents sending TOSERVER_PLAYERPOS if the player is dead.
2019-10-06Fix upright_sprite lighting when colors are setsfan5
fixes #9020
2019-10-06Revert "Fix the bgcolor formspec element (#8716)" (#9018)SmallJoker
This reverts commit 1db3d252cff9e8d61fecf1052d7497813851da51. Temporary solution until a compatible solution is found to define both - formspec and fullscreen backgrounds.