aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock_mesh.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-04-12Mgv5: Optimise tunnels, add biome material in entrancesparamat2-48/+76
Place biome top node on tunnel entrance floor Instead of doing nothing at node_max.Y + 1 use 1-down overgeneration for tunnel generation and noisemaps
2016-04-12Mgvalleys: Don't let cavegen place biome nodes everywhereparamat1-44/+39
Fix use of 'air_above' bool so that biome nodes are only placed in tunnel floors Minor code improvements 'Continue' when massive cave air is placed
2016-04-11Fix hotbar placement on displays with low screen densityPilzAdam1-1/+2
2016-04-11Minimap: revert change from RGBA to IndexedAuke Kok1-0/+0
@kilbith spotted correctly that I had accidentally removed the "soft" edging on the minimap overlay by converting it from RGBA to Indexed, which killed the transparent pixels on the edging.
2016-04-11Convert nodeupdate to non-recursiveAuke Kok1-19/+67
This took me a while to figure out. We no longer visit all 9 block around and with the touched node, but instead visit adjacent plus self. We then walk -non- recursively through all neigbors and if they cause a nodeupdate, we just keep walking until it ends. On the way back we prune the tail. I've tested this with 8000+ sand nodes. Video result is here: https://youtu.be/liKKgLefhFQ Took ~ 10 seconds to process and return to normal.
2016-04-10Hud: Cache hud_scaling, fix minor style issueskwolekr3-28/+28
2016-04-10Hud: Fix offset being ignored by inventory barrubenwardy3-30/+34
2016-04-10Update CSRP-GMP to commit deaa11a7c29a73008est312-361/+314
Backports 10 commits, with 8 commits actually affecting source code: https://github.com/est31/csrp-gmp/compare/695822e45d9ca48b75b4ec1af1b4eea19139f8b1...deaa11a7c29a730087380da231e785909ad21630
2016-04-10Document hpchange callback ordering thing (#3981)raymoo1-0/+1
Document hpchange callback ordering thing Callbacks registered by register_on_player_hpchange are ordered so that non-modifiers are called after modifiers are called. Credit to @TeTpaAka who mentioned this previously-undocumented feature in #3799. See also commit aa13baa30a45b0f834c23bd5c0407895eb8ec0ee "Add minetest.register_on_player_hpchange"
2016-04-08Minimap: "North" indicator arrow for circle minimapAuke Kok1-0/+0
Related: #3730 This adds a simple, and small "North" indicator to the circular minimap. The indicator is in a classical triangle-like arrow with a little bit of shading to accentuate the shape and give it a little bit depth. The indicator is stuck exactly at the edge as far outwards as possible, and is not too intrusive but still easy enough to spot.
2016-04-08Mainmenu: Refactor tab UI codeRui91411-80/+70
- Use local variables for tabs in place of globals - Merge together if statements where possible - Replace manual table searching code with indexof where possible
2016-04-08Fix ncurses lookup on Arch LinuxDavid Knapp1-0/+15
Arch Linux doesn't put it's ncursesw includes inside an ncursesw directory. This script ends up setting USE_CURSES as true, but doesn't pick up any of the headers. https://bugs.archlinux.org/task/13994
2016-04-08Mapgen: Optimise cave noises and tunnel excavationparamat8-148/+162
Instead of doing nothing at node_max.Y + 1 use 1-down overgeneration for tunnel generation and noisemaps Move some old unused code in mgv7 to end of file
2016-04-07Re-add and disable blit_with_interpolate_overlaykwolekr1-0/+31
2016-04-07Clearer explanation of [colorize with alphaSamuel Sieb1-3/+3
2016-04-06Fix #3955 (player dying on login).Nathanaël Courant1-1/+3
It was caused by player not moving because fall was prevented, but their velocity still increasing, causing fatal fall damage when world was finally loaded. This commit fixes it by setting player velocity to zero when the world around them is not loaded.
2016-04-06Fix compiler warnings from "Add an option to colorize to respect the ↵Samuel Sieb1-41/+9
destination alpha" Fix warnings added by commit 01ae43c48009f816f4649fae2f7f6997452aa6cf Fixes #3952
2016-04-03Add an option to colorize to respect the destination alphaSamuel Sieb2-16/+56
Also, rework the colorizing code to be more efficient.
2016-04-03Dungeongen: Update disabled torch placement codekinokoio1-1/+1
2016-04-02Fix nametag hidingest311-0/+6
Commit c3b279750ece0b5144bf8e973d55108347462223 "Move object nametags to camera" has added a regression to still display a shadow if their alpha got set to 0.
2016-03-31Mainmenu: Move description.txt textbox downRui9141-18/+20
Additionally, fix misc. code style issues
2016-03-30Remove expensive copy of ContentFeaturesgregorycu1-4/+4
2016-03-30ParticleManager::handleParticleEvent: use switchLoic Blot1-80/+78
Use a proper switch with breaks.
2016-03-30mg_schematic: fix leak in lua API, and small cleanupest311-9/+11
* Fix leak like behaviour if you load multiple schematics in a loop. * Cleanup check in for, fixing theoretical out of bounds read if Schematic::deserializeFromMts reduced the number of elements in m_nodenames. A != check may need an overflow of the counter before it hits, if origsize is larger than m_nodenames.size(). * Fix function name passed to errorstream: it was wrong. Also use __FUNCTION__ instead of manually using the method name at other places in the function. * Don't shadow the name member in the loop.
2016-03-30Mapgen: Don't spread light of nodes outside the desired areakwolekr1-4/+1
This fixes #3935, a regression from 0338c2e. An 'optimization' was performed where an index for the VoxelManip being operated on was mistakenly used for bounds checking within the incorrect VoxelArea, namely, the area wherein light should be spread.
2016-03-30Nodes shader: Decrease amplitude of waving leaves and plantsparamat1-11/+15
Fix initialisation of variable 'disp' Fix a few minor code style issues Add independent X motion combining 2 prime frequencies
2016-03-30Mgv7: Decrease cliff steepnessparamat3-3/+3
2016-03-29stop falling.lua errortenplus11-1/+3
2016-03-27 15:47:01: ERROR[Main]: ServerError: Lua: Runtime error from mod '*builtin*' in callback luaentity_Step(): Node name is not set or is not a string! 2016-03-27 15:47:01: ERROR[Main]: stack traceback: 2016-03-27 15:47:01: ERROR[Main]: [C]: in function 'add_node' 2016-03-27 15:47:01: ERROR[Main]: /usr/share/minetest/builtin/game/falling.lua:96: in function </usr/share/minetest/builtin/game/falling.lua:43>
2016-03-29Mapgen: Spread both night and day light banks in spreadLightkwolekr1-11/+40
2016-03-29Fix small formatting issue in SRP debug outputsfan51-1/+1
Writing an u8 to verbosestream writes a char, not it's numeric value.
2016-03-27Revert "Translated using Weblate (German)"est311-198/+186
This reverts commit 25da0594eb09bb0e72816aaf8280573a668af00c.