aboutsummaryrefslogtreecommitdiff
path: root/src/pathfinder.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-20Allow per-tiles culling.Auke Kok3-14/+23
Backface culling is enabled by default for all tiles, as this is how the lua parser initializes each tiledef. We revert to always using the value from the tiledef since it is always read and serialized. Mods that wish to enable culling for e.g. mesh nodes, now can specify the following to enable backface culling: tiles = {{ name = "tex.png", backface_culling = true }}, Note the double '{' and use of 'name' key here! In the same fashion, backface_culling can be disabled for any node now. I've tested this against the new door models and this properly allows me to disable culling per node. I've also tested this against my crops mod which uses mesh nodes where culling needs to be disabled, and tested also with plantlike drawtype nodes where we want this to continue to be disabled. No default setting has changed. The defaults are just migrated from nodedef.cpp to c_content.cpp.
2016-01-19EmergeManager: Do not queue duplicate block requestskwolekr2-6/+18
2016-01-19Fix Settings::remove() always returning trueKahrl1-2/+8
2016-01-18Show infotext with description for item entitiesRealBadAngel7-2/+21
2016-01-18Correct overflowing rivers in Valleys mapgen.Duane Robertson1-3/+3
2016-01-18Fix wield item glitchRealBadAngel1-1/+1
2016-01-16corrected minetest.pos_to_string()Pinky Snow1-1/+2
corrected this bit reflect the function properly.
2016-01-16Fix error message in settings tab overlapping 'save' buttonRogier1-1/+1
The save button is now fully functional again when an error message is shown. After an invalid value is entered in the settings tab dialog, the GUI label for the error message that is shown was partly overlapping the 'save' button, so that the top half of the button could not be clicked on.
2016-01-16Prevent spawning in rivers with valleys mapgen. Remove unecessary whitespace.Duane Robertson2-47/+61
2016-01-15Make ItemStack:set_count(0) clear the item stacksfan51-1/+1
fixes minetest/minetest_game#786
2016-01-15Make all mesh manipulators in mesh.cpp work with any vertex typeKahrl1-124/+145
cloneMesh() has to use a switch in order to create a different mesh buffer type depending on vertex type. (Credit: the new cloneMesh was written by RealBadAngel.) To avoid repetitive code, all other methods use getVertexPitchFromType() to automatically adapt the indexing to the vertex type at runtime.
2016-01-14Add Valleys mapgen.Duane Robertson7-0/+1300
2016-01-14Mgv7/flat/fractal: Place biome top node on tunnel entrance floorparamat3-34/+91
2016-01-11Mapgen: Various fixes and improvementsparamat7-14/+22
Lua_api.txt: Document 'minetest.registered_biomes' Minimal: Remove 'mapgen_air' alias Cavegen: Add fallback node for 'mapgen_ice' Dungeongen: Add fallback node for 'mapgen_river_water_source' Mgv5: Remove unnecessary '#include util/directiontables.h' Add missing 'this->'s in makeChunk() Mgv6: Edit empty line formatting Remove leading spaces in makeChunk() Add missing spaces after 'for' and 'if' Mgv7: Edit empty line formatting
2016-01-10Mgflat: Set blank default spflags. Unhideparamat3-4/+4
2016-01-10Fix the checking of flags values in the settings tabRogier1-2/+2
Changes: - Accept setting an empty flags-type value in the settings tab if the variable specification permits it - Don't accept substrings of flag values E.g. with values: 'one,two,three', 'hree', 'w', etc. used to be accepted. Not any more - Don't accept flags with random pattern-matching special characters E.g. with values: 'one,two,three', 'on.', '(o)[n]e*' etc. used to be accepted. Not any more.
2016-01-10Improve parsing of setting types from settingtypes.txt for settings tabRogier1-12/+24
- Accept numbers prefixed with '+' - Accept multiple spaces instead of just a single one where spaces are expected - Allow flags to have an empty default value
2016-01-09Cache disable_anticheat and check it for "interacted_too_far"ASL971-2/+4