aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-09Update from WeblateTranslators
2019-09-08Dungeons: Remove non-functional 'projecting dungeons' setting (#8897)Paramat
2019-09-08Lua API documentation: Various fixes (#8914)SmallJoker
Remove unusable 'minetest.setting_*' from client_lua_api.txt lua_api.txt: - Define the 'mod.conf' format - More precise 'settingtypes.txt' format reference - Document special sound files 'player_*damage' - Group, sort and add 'not_in_creative_inventory' special group - Define the 'Settings' format - Warning about incorrect byte saving in 'StorageRef' - Note about non-persistent player definitions fields - Better 'leveldiff' and 'level' group description
2019-09-08lua_api.txt: Improve privilege definition (#8912)ANAND
2019-09-07Move debug.txt after it grows too big (#8904)HybridDog
Before opening the file for writing, its file size is tested. If it exceeds 50 MB, it is moved to debut.txt.1, otherwise the log is appended to the old messages. An old debut.txt.1 is removed if it already exists.
2019-09-07label[]: Fix cut-off translated textSmallJoker
2019-09-06Fix Irrlicht 1.9 supportsfan5
2019-09-05doc/client_lua_api: Clarify how client side api and mods start (#8822)Paul m. p. P
2019-09-04Force item entities out of solid nodes (simpler) (#8885)sfan5
2019-09-03Fix Inventory::moveItemSomewhere()sfan5
2019-09-02Inventory: Handle removeItem leftovers (#8884)SmallJoker
2019-09-01'All Settings': Don't use checkboxes for 'no...' mapgen flags (#7847)Muhammad Rifqi Priyo Susanto
2019-09-01Various fixes to lua_api.txt (#8878)DS
2019-08-31particles.cpp: Fix code-styleANAND
Mainly spacing and pointer placement
2019-08-31clientobject.h: Fix code-styleANAND
2019-08-31Fix rotation of attached particlespawnerPedro Gimeno
Co-authored-by: ANAND <ClobberXD@gmail.com>
2019-08-31Document world format version 28 (private nodemeta) (#8857)DS
2019-08-30Document luaentity pitch and roll in world format (#8864)DS
2019-08-30Clarify docs regarding pointed_thing and get_pointed_thing_position (#8766)Beha
2019-08-28Various settingtypes.txt improvements (#8867)Paramat
Improve 'readable' setting names for waving water settings. Change 'near plane' to 'near clipping plane'. Document physics settings. mgv6_spflags: Change 'new biome system' to 'snowbiomes flag' for clarity. Add missing 'noflat' flag to default flags.
2019-08-25Inventory: Fix missing setModified callsSmallJoker
Previously inv:remove_item and inv:set_list did not trigger an inventory update
2019-08-24Mapgen v6: Various mudflow code improvements and bugfixes (#8805)Paramat
Calculate 'i' inside 'y' loop to avoid 'i' and 'y' becoming out of step due to the uses of 'continue'. Simplify calculation of 'p2d' when coordinates are inverted. Remove some unnecessary and unreliable 'index out of voxelmanip' checks. Move calculation of '&em' out of loops. For 'Loop further down until not air' code, use y coordinate to detect being out of voxelmanip, instead of checking index which did not detect that. Add and improve comments. Indent the 'for (;; y--) {' loop. Improve format and fix codestyle issues.
2019-08-24fontengine: Fix non-gettext buildsSmallJoker
2019-08-24Inventory: Send dirty lists where appropriate (#8742)SmallJoker
This change reduces the amount of sent data towards clients. Inventory lists that are already known to the player are skipped, saving quite some data over time. Raises protocol version to 38 to ensure correct backwards-compatible code.
2019-08-24Add ItemStack:get_description() to get tooltip (#8847)Paul Ouellette
2019-08-24Improve occlusion culling in corridors with additional checksfan5
2019-08-24Restore approximate occlusion checksfan5
While less precise, it worked better which is what matters in the end.
2019-08-23Make Mapgen::spreadLight use a queue (#8838)DS
2019-08-23Fix default hand definition not using wieldhand.pngWuzzy
2019-08-23Occlusion: Check for light_propagates and do mapblock bounds checksSmallJoker
2019-08-23Occlusion: Begin cleanupSmallJoker
2019-08-21Revert "Don't send position update packet if player is dead"sfan5
This reverts commit fb6f1fdcbe3ee2321cc33eb00f2c6da86744d00a.
2019-08-20Add player sprite textures back into the engine as a fallback (#8823)Paramat
'player.png' and 'player_back.png' are hardcoded into the engine as the default appearence of the player object, so the textures should be present in the engine. This results in a functional fallback sprite player for when a game has no player appearence related code.
2019-08-20lua_api.txt: Add link to Minetest Modding Book (#8826)ANAND
2019-08-20remove_detached_inventory: Fix segfault during mod loadSmallJoker
2019-08-20Don't send position update packet if player is deadANAND
2019-08-20Disable autoforward if player is deadANAND
2019-08-19Restore intended functionality to minimap markers (#8819)theviper121
2019-08-18Find LuaJIT headers on vcpkgUnknown
luajit headers were moved into a subdirectory to avoid conflicts with plain lua
2019-08-17ClientInterface: Use recursive mutex to prevent freeze in on_newplayer() (#8808)SmallJoker
2019-08-16Remove unused function in ReliablePacketBuffersfan5
2019-08-16Minor refactor of IncomingSplitBuffersfan5
2019-08-16Drop m_list_size from ReliablePacketBuffersfan5
It's not required and, worse, can lead to bugs.
2019-08-15Mapgen v6: Fix mudflow iteration and iterate twice (#8795)Paramat
In MapgenV6::flowMud(), the previous implementation of coordinate inversion caused the 2 inverted mudflow iterations (out of the 3 iterations) to not loop over the area, so only 1 non-inverted iteration occurred. Fix this bug but only iterate mudflow twice, as mapgen v6 has only had 1 iteration for many years. There is now a good balance of 1 non-inverted iteration and 1 inverted iteration.
2019-08-15network: Stricter handling of split packetssfan5
2019-08-15network: Fix crash in ReliablePacketBuffer on mismatching packetssfan5
In the error condition the exception would be thrown before m_list_size is decremented, causing a nullptr dereference in e.g. popFirst().
2019-08-14Fix undeclared global warning because of _ (#8798)DS
2019-08-14Add function `minetest.read_schematic`upsilon
2019-08-13Fix unnecessary exception use in 3 more methods (#8791)Jozef Behran
* Fix unnecessary exception use in Server::SendBlocks The code in this method calls getBlockNoCreate and then messes around with try...catch to skip blocks which are not in the memory. Additionally, it repeatedly calls m_env.getMap() inside this loop. Speed the code up by extracting the m_env.getMap() out of the loop and getting rid of the try...catch. * Fix unnecessary exception use in Server::SendBlock Another unnecessary try...catch is slowing down Server::SendBlock. Remove that to speed it up and get a nice side effect of simplifying the code in question. * Fix unnecessary exception use in MMVManip::initialEmerge Remove another unneeded exception usage from MMVManip::initialEmerge to speed that code up and simplify it but be careful to not remove the braces as there is a TimeTaker in use there.
2019-08-13Fix unnecessary exception use in Map::getSectorXXX (#8792)Jozef Behran
The Map::getSectorNoGenerate throws an exception but no other code is really dependent on that. Fix the odd instance of misuse in ClientMap::emergeSector and remove the exception throwing version of the method along with the "NoEx" suffixes in the names of these methods.