aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-29Fix GameUI flag value regression introduced by ↵Loic Blot
a78659ed0529226ad937f5e241ad72ba93702959 Added more strong unittests on that part to prevent future regression
2018-05-28Print error when HOME is not set (#7376)Midgard
In some configurations, such as when using the runit supervisor and its tool chpst, the HOME variable might be unset. This resulted in an unclear error message that was hard to pin down.
2018-05-28Fix more GCC 8.1 warnings ↵Loïc Blot
  1   master  Fix 3 warnings reported by GCC 8.1 of the following type ```src/client/gameui.cpp:191:43: warning: « void* memset(void*, int, size_t) » effacement d'un objet du type non trivial « struct GameUI::Flags »; use assignment or value-initialization instead [-Wclass-memaccess] memset(&m_flags, 0, sizeof(GameUI::Flags)); ```
2018-05-28Fix a -Wcatch-value warning reported by GCC 8.1Loïc Blot
``` src/translation.cpp:43:16: warning: interception du type polymorphique « class std::out_of_range » par valeur [-Wcatch-value=] } catch (std::out_of_range) { ```·
2018-05-28Remove a useless struct keyword for ObjectPropertiesLoic Blot
2018-05-26Formspec verification: Fix show_formspec inside callbacks (#7374)SmallJoker
2018-05-24Vein ore: Fix bug caused by changing perlinmap Y size (#7371)Paramat
Because vein ore uses 3D noise (all the other ores use 2D noise) the perlinmap Y size can be different in different mapchunks when close to the ore Y limits. Previously this caused bugs in the vein structure because changes in perlinmap Y size did not recreate the noise objects. Delete and recreate the noise objects with the new Y size if Y size has changed.
2018-05-24Schematic decorations: Fix placement bug when centred and rotated (#7365)Paramat
Previously, the centering caused by the 'place center x/z' flags did not take rotation into account. So schematics with unequal X and Z dimensions were incorrectly placed. The bug was hidden for schematics equal in X and Z dimensions.
2018-05-20Dungeons: Fix duplication of y limit parameters (#7359)Paramat
2018-05-20Fix missing ignore textures (#7326)you
2018-05-20Small usage changes for air and ignore items (#7305)Wuzzy
* Remove “you hacker you!” from node description * Prevent placement of ignore in builtin * Prevent giving of "unknown" explicitly
2018-05-20Add screenshots to online content browserrubenwardy
2018-05-18Player marker on both minimaps (#7350)nanoproject
2018-05-16Add updating to online content browserrubenwardy
2018-05-16Pointed_thing_to_face_pos: Avoid crash when player is inside a node (#7342)Paramat
Avoid crash in some situations when player is inside a node, causing 'above' to equal 'under'. In this situation return 'under' which is the node position very close to the face position that would normally be returned.
2018-05-16Say position of locale dir more clearly in docs (#7338)Wuzzy
2018-05-16Minimal: Fix HP change crash (#7344)SmallJoker
2018-05-15Use server's zoom fov for distant world loading.Lars Hofhansl
2018-05-15Contributing.md: Various additions and edits (#7309)Paramat
Add a new point to encourage discussion before coding. Move the 'ask before significant coding' suggestion into this. Edit and extend commit message guidelines. Refer to core dev commit messages as good examples. Remove 'short' and 'briefly' from the description guideline to try to improve description quality. Larger text for '### A pull-request is considered ..'. Add a second roadmap link to celeron55's blog roadmap which is the 1st part of the forum roadmap. Add full stops to lists. Consistent text size for '## Donations'.
2018-05-15Don't show Android edit dialog when tapping read-only field (#7337)Muhammad Rifqi Priyo Susanto
* Don't show Android edit dialog when tapping read-only field From Lua API, "If the name is empty the textarea is readonly."
2018-05-14Fix segfault in player migration and crash in log_deprecatedSmallJoker
Makes log_deprecated work when triggered from no function
2018-05-14Vertical biome blend: Tune PRNG seed for finer detail (#7329)Paramat
2018-05-14Make sure color returns to normal after a damage flash (#7332)lhofhansl
2018-05-13Update contentdb_url to content.minetest.netrubenwardy
2018-05-12Camera: Improve subpixel movement (#7319)SmallJoker
2018-05-12Run detach callbacks on player leaveSmallJoker
Correct docs regarding non-nil detaching children
2018-05-10Fix crash guiConfirmRegistration quit menu (#7313)Vincent Glize
2018-05-08Fix luajit include not being foundrubenwardy
2018-05-07Mgv7: Code cleanup (#7299)Paramat
2018-05-05Fix builtin inventory list crash when size = 0 (#7297)SmallJoker
2018-05-04Cavegen: Allow small RandomWalk caves to generate beyond mapchunk borderParamat
2018-05-01Fix invisible chat error messages (#7289)Vincent Glize
2018-04-30nodedef: Delete two unused method definitions (#7288)Kuma_jjw
2018-04-30Global new() or grab() to be managed in constuctor only (#7235 partial) (#7236)JDCodeIt
* g_extrusion_mesh_cache new() and grab() to be managed in constuctor only (#7235 partial) This global was getting grab()-ed by each call to getItemMesh, incrementing its reference count. What was to be the final drop() in the destructor ended up with > 0 reference count, so memory not freed by Irrlicht.
2018-04-30Allow damage for attached objects, add attach/detach callbacks (#6786)SmallJoker
* Allow right-clicking on attached LuaEntities
2018-04-30MetaDataRef: Add contains() and get() (#7214)rubenwardy
2018-04-29Mapgen caves: Re-order generation to fix cavern bugParamat
Previously, caverns confused tunnel generation causing biome top and filler nodes to appear in caverns. Split 'generateCaves()' into 2 functions to separate tunnel and large randomwalk cave generation. In each mapgen re-order cave generation to generate tunnels before caverns.
2018-04-26Biome-defined cave liquids: Use faster biome calculationparamat
2018-04-26Biome-defined dungeon nodes: Use faster biome calculationparamat
2018-04-26Fix description wrapping in browse online contentrubenwardy
2018-04-25Dungeons: Mostly fix missing stair nodesParamat
2018-04-24Mgvalleys: Update settingtypes.txtParamat
2018-04-24Mgvalleys: Code cleanupParamat
Split some long lines. Edit comments. Remove unnecessary comments and unnecessary commented-out code. Use std::fmax/fmin instead of MYMAX/MYMIN. Remove scope-limiting braces. Consistently define literals as floats, except in noise parameters. Cleanup literals in noise parameters. Remove unnecessary 'near_cavern' line. Reduce max spawn y to be consistent with other mapgens.
2018-04-23Move ASCII art to std::cerr, to remove it from logsrubenwardy
2018-04-23Formspecs: Allow setting alpha value for the box[] elementThomas--S
2018-04-21Mgvalleys: Use shared tunnel / cavern code instead of internalParamat
Caverns first appeared in mgvalleys and were later added to other mapgens as shared code. Now this shared code can replace mgvalley's internal cavern code. Also use shared tunnel code instead of internal code. Changes to mapgen that will affect existing worlds (mgvalleys is not stable): Single lava and water sources not added in tunnels. Previous caverns are unchanged but an equal number of new ones are added at a distance from the previous. From y = -256 to 192 nodes below, where the caverns taper at their upper limit, they will have a slightly different shape as the taper is now linear.
2018-04-21Cave liquids: Use a more precise point for calculating biomeParamat
Use the centre point of the route being carved for a more precise match between cave liquids and biome.
2018-04-21Fix i386 bit build at OpenBSD (#7259)mazocomp
2018-04-21Fix Android build, broken since 87ad4d8SmallJoker
2018-04-20Node resolver: Make error on fallback optional, disable for mapgen aliasesParamat