aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Randomwalk cave liquids: Remove deprecated 'lava depth' parameter (#9105)Paramat2019-11-18
| | | | | | | | | 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'.
* Optimize semaphore wait with zero timeout on POSIXsfan52019-11-14
|
* Fix clang-tidy and lint travis checkssfan52019-11-11
|
* [CSM] Fix and improve minetest.get_language()sfan52019-11-11
| | | | | Previously this method would accidentally reset the locale and break everything.
* [CSM] Implement minetest.get_csm_restrictions()sfan52019-11-11
| | | | fixes #8068
* Run on_item_use CSM callback even if item is not marked usablesfan52019-11-11
| | | | | Mods may want to to handle item interaction even if the item is not marked usable (= server-side callback exists).
* Fix camera:get_offset() in CSMsfan52019-11-11
|
* [CSM] Expose more env functionssfan52019-11-11
|
* Refactor CSM restriction code a bitsfan52019-11-11
| | | | This also fixes find_node_near restrictions being ineffective.
* Call on_secondary_use when object is right-clickedsfan52019-11-10
|
* Randomwalk caves: Extend beyond mapchunk vertically also (#9094)Paramat2019-11-10
| | | | | Previously, randomwalk caves only extended beyond the mapchunk borders horizontally, preventing vertical overlap and interconnection.
* Be lenient with extra slashes for CSM pathssfan52019-11-09
|
* [CSM] Remove non-functional minetest.get_day_count()sfan52019-11-09
|
* Corrections to client_lua_api.txtsfan52019-11-09
|
* Introduce get_modpath() for CSMsfan52019-11-09
|
* Load client mods into memory before execution.sfan52019-11-09
| | | | Preperation for server-sent CSM which will eventually need this.
* Refactor loading of Lua code with mod securitysfan52019-11-09
|
* Tunnels: Completely disable generation when 'cave width' >= 10.0 (#9093)Paramat2019-11-09
| | | | | | | | | 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.
* Make core.get_favorites("local") ignore duplicates (#7926)Paul Ouellette2019-11-08
|
* Randomwalk caves: Add parameters for number, proportion flooded. Allow small ↵Paramat2019-11-08
| | | | | | | | | | | | | | 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.
* Formspec: draw order and clipping for all elements (#8740)DS2019-11-07
|
* Android: Fix broken double-tap after 49 days uptimeSmallJoker2019-11-03
|
* Clean up font caching, fix bitmap fontsSmallJoker2019-11-03
|
* Formspec: add hypertext elementPierre-Yves Rollo2019-11-03
|
* Change some usages of "deprecated" to "obsolete" (#9062)random-geek2019-10-29
| | | | "Deprecated" means that something is still in use, but is unsupported and needs to be removed. "Obsolete" means it is already out of use.
* Change some rough/inappropriate language in comments (#9061)random-geek2019-10-24
|
* Improve light curve parameter limits and documentation (#9054)Paramat2019-10-24
| | | | | | | | | | | | | 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.
* Remove legacy flat-file map coderandom-geek2019-10-23
|
* Fix build issue due to conflicting s64 type definitions (#9064)Dmitry Marakasov2019-10-23
| | | See comment in irrlichttypes.h and https://sourceforge.net/p/irrlicht/bugs/433/
* Allow calling ItemStack with no arguments (#8783)Paul Ouellette2019-10-23
|
* Formspecs: Reset version number on rebuildSmallJoker2019-10-20
|
* Make natural night light as bright as MT 0.4.16 (#9053)Paramat2019-10-18
|
* Correction for alpha blending issues in texture mod compositing (#9029)Warr10242019-10-18
|
* Randomwalk caves: Reduce 'insure' value from 10 to 2 (#9035)Paramat2019-10-13
| | | | | | | | | 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.
* Add more visual feedback for button states (#8916)Hugues Ross2019-10-12
| | | | | | - 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)
* Update translation stringsupdatepo.sh2019-10-12
|
* Fix isDead()/autoforward crash (#9031)Paramat2019-10-09
| | | | Crash occurred in singleplayer when leaving a world with autoforward enabled then re-entering a world.
* ContentCAO: Fix segfault on quit (attached)SmallJoker2019-10-09
|
* Revert Client::sendPlayerPos optimization (part of 81c7f0a) (#9025)ANAND2019-10-08
| | | Comment out the if statement that prevents sending TOSERVER_PLAYERPOS if the player is dead.
* Fix upright_sprite lighting when colors are setsfan52019-10-06
| | | | fixes #9020
* Revert "Fix the bgcolor formspec element (#8716)" (#9018)SmallJoker2019-10-06
| | | | This reverts commit 1db3d252cff9e8d61fecf1052d7497813851da51. Temporary solution until a compatible solution is found to define both - formspec and fullscreen backgrounds.
* Fix warnings in guiButton.hsfan52019-10-05
|
* Fix unwanted detaching when damage = 0Jacob Lifshay2019-10-05
|
* Attachments: Fix attachments to temporary removed objects (#8989)SmallJoker2019-10-02
| | | | Does not clear the parent's attachment information when the child is deleted locally. Either it was removed permanently, or just temporary - we don't know, but it's up to the server to send a *detach from child" packet for the parent.
* Textures: Load base pack only as last fallback (#8974)SmallJoker2019-09-29
|
* label[]: Fix broken colors since 2c9edefSmallJoker2019-09-29
|
* Move Quicktune code to util/ (#8871)ANAND2019-09-29
|
* Fix error message caused by adding new parameter to background (#8922)rubenwardy2019-09-29
| | | Adds background9[] element to keep backwards compatibility in formspec prepends.
* Simple shader fixes. (#8991)lhofhansl2019-09-26
| | | | | 1. Pass current camera offset to shader, so shader have access to the global coordinates 2. Pass animation timer to fragment shader. C++ code is already there, just wasn't declared in the shader 3. Delay animation timer wrap-around (from 100s to about 16 minutes)
* Fix some reference counters (memleak) (#8981)SmallJoker2019-09-24
| | | | | Fix some reference counters (memleak) Map::dispatchEvent: Allocation safety using references