summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-09-15Add setting to display the itemstring after the tooltip in the inventory. ↵DTA7
(#6413) * Add setting to display the itemstring after the tooltip in the inventory.
2017-09-15ServerEnv: Clean up object lifecycle handling (#6414)sfan5
* ServerEnv: Clean up object lifecycle handling
2017-09-15Customizeable max breath for players (#6411)SmallJoker
* Customizeable maximal breath for players
2017-09-14Cavegen: Avoid unsupported biome 'top' or 'filler' nodesparamat
For 3D noise tunnels only, replace unsupported biome 'top' and 'filler' nodes in tunnel roof with the defined biome 'stone'. This makes terrain created by 3D noise tunnels consistent with the rest of mapgen, which does exactly the same in this situation.
2017-09-14Object properties: Add 'glow', disables light's effect if negativeRob Blanckaert
The 'glow' value is added to the ambient light value. Negative 'glow' disables light's effect on object colour, for faking self-lighting, UI-style entities, or programmatic colouring in mods.
2017-09-12Network: Fix logging into older worlds with base64 hashesSmallJoker
2017-09-12Network: Remove large parts of deprecated legacy code (#6404)SmallJoker
Also remove the setting 'send_pre_v25_init' Keep old enum entries for obsolete commands
2017-09-12Fix failing linter (travis)sfan5
2017-09-12Make INodeDefManager::getIds return a vector, not a setKahrl
2017-09-11Implement client node dig predictionAuke Kok
Dig prediction allows clients to remove dug nodes without waiting for server acknowledgement. This patch allows mods to override dig prediction, it can either be turned off or a different "prediction node" can be selected.
2017-09-10Object properties: Fix loss of custom selectionboxSmallJoker
Only adjust it to the collisionbox value when the collisionbox was really set.
2017-09-10Fix incorrect buffer size calculation on creation of HUD status messagesrubenwardy
Fixes #6400
2017-09-10Schematic decorations: Add 'place_offset_y' placement parameterparamat
For precise control of schematic vertical position relative to the 'place_on' node. Avoids workarounds that add empty nodes to a schematic and therefore reduce performance. Also remove long-unused decoration cutoff code.
2017-09-10Fix empty legacy meta being persistedrubenwardy
2017-09-09Server: Calculate maximal total block sends dynamically (#6393)SmallJoker
The block sends per client is 1/2 when reaching the maximal player count.
2017-09-08Particles: Do not add digging particles for airlike nodes (#6392)SmallJoker
2017-09-07main.cpp: server-only builds should not include client headersLoic Blot
2017-09-05Use a Buffer instead of SharedBuffer in ConnectionCommandLoic Blot
This fixes #6373
2017-09-05Make HUD status messages translatable (#5795)Wuzzy
* Make HUD status messages translatable * Make strings in showStatusTextSimple translatable
2017-09-05Remove DSTACK keybind setting (#6378)Rui
2017-09-05Network protocol documentation: Add 'can_zoom' to version 36paramat
2017-09-04Implement minetest.register_can_bypass_userlimit (#6369)Loïc Blot
* Implement minetest.register_on_userlimit_check This new callback permits to bypass the max_users parameter with new mods condition, based on player name or IP Only one mod needs to permit it. Move core part for builtin privileges checks to builtin
2017-09-04Re-apply previous commit with a typo fixLoïc Blot
2017-09-04Revert "Network: fix a concurrency problem, by re-adding a copy in ↵Loïc Blot
ConnectionCommand" This reverts commit 5b04f5e7d231437b534f4cad39da78624d97c584.
2017-09-04Network: fix a concurrency problem, by re-adding a copy in ConnectionCommandLoïc Blot
2017-09-04World start time: Add setting for this, default unchangedparamat
2017-09-03Add build date to minetest --version and increase readability (#6331)you
2017-09-03Ores: Add stratum ore (#6352)Paramat
Creates a single undulating ore stratum that is continuous across mapchunk borders and horizontally spans the world. Due to being continuous is ideal for creating bands of alternative stone type running through cliffs and mountains, or underground layers. Add missing documentation of 'ore_param2' parameter.
2017-09-03Use member initialization list instead of the constructor's body (#6371)Dharkael
* Use member initialization list instead of the constructor's body
2017-09-03Network part requires SharedBuffers to be pass as valueLoic Blot
This can trigger unreproductible crashes due to concurrency problem on SharedBuffers This fixes #6354
2017-09-02Remove 3D noise from getSteps function (#6360)Vaughan Lapsley
2017-09-01Remove nodeupdate completely (#6358)Rui
2017-09-01Fix animation frame_speed and blend loosing precision due to incorrec… (#6357)sapier
* Fix animation frame_speed and blend loosing precision due to incorrect data type Add lua function set_animation_frame_speed to update the frame speed without resetting the animation to start
2017-08-30Zoom: Move enabling zoom to a new player object propertyparamat
Default enabled for no change in default behaviour. Remove 'zoom' privilege.
2017-08-30Remove DSTACK support (#6346)Loïc Blot
Debugstacks is not useful, we don't really use it, the DebugStack is not pertinent, gdb and lldb are better if we really want to debug.
2017-08-29Network proto handlers/container fixes (#6334)Loïc Blot
* Fix HP transport + some double <-> float problems TOCLIENT_HP transport u16 hp as a u8, use u16 HP, this prevent HP over 255 to overflow across network * Fix more double/float problem in serverpackethandler & remove implicit struct type for TileAnimationParams * Fix connection unittests container
2017-08-29Pushing typo fix introduced in b7ee608e70f8e031e3e01c9672bedb16efa648b8Loic Blot
2017-08-29Bump minimal protocol version to 36 (#6319)SmallJoker
* Bump minimal protocol version to 36 Item/Node/TileDef, NodeBox, TileAnimation: Remove old compat code * Accept future serialisation versions
2017-08-29Formspec: Add options to set background color and opacity (fullscreen mode + ↵Loïc Blot
default mode) (#5493) * Formspec: Add options to set background color and opacity (fullscreen mode) * Enhance previous comment: Set formspec background when regenerate UI. * This permit to do the calcul only at regen and override it with bgcolor tag * Add a setting for default background color into formspec, separated from fullscreen * Add a little performance gain on formspecs using a const ref instead of copying formspec string
2017-08-28mapblock_mesh.cpp: Fix code style and simplify a bit code (#4558)you
* mapblock_mesh.cpp: Fix code style and simplify a bit code
2017-08-28Clientevent refactor (#6320)Loïc Blot
* Refactor clientevent structure * Move structure outside of client header * Create client events on heap not stack, this remove the ClientEvent object copy * Use clientEventHandler to route events
2017-08-28Pass SharedBuffer as value to increment reference countLoïc Blot
This should fix #6332 Refcount is not increased due to reference, it can make this refcount incorrect in a multithread context
2017-08-28Use crack animation on all tile layers (#6104)Dániel Juhász
2017-08-27Statbars: fix incorrect half-images in non-standard orientations (fixes #6198)Nathanaël Courant
2017-08-27core.get_objects_inside_radius: Omit removed objects (#6318)you
Fixes #6294
2017-08-26Add '@n' escape sequences and some documentation on translated strings.Nathanaël Courant
2017-08-26Alternative code for slipping (#6256)Ben Deutsch
* Alternative code for slipping - does not depend on frame rate - controllable via environment variables for now * Adjust slipping speed for item entities too. * Final version of framerate-independent slippery code * Remove dead code and fix formatting * getStandingNodePos should only look 0.05 nodes downwards This ensures that, even if the player is standing on a partially filled node, this node is used as the standing node and not the node below it. Specific use: enables slippery slabs * Exchange global getStandingPosNode change for local inline change Reverts previous commit * Revert the item movement changes * Slippery nodes now slip over cliffs and edges Players no longer suddenly stop before falling off. Also refactored slippery code into getSlipFactor method. * Slipping over an edge gated by player's is_slipping state A new flag for just this case, to reduce costly node lookups in the normal case of leaning over a non-slippery edge. Public access for consistency and potential future uses. * Minor code tweaks / cosmetics * Add temp variable to improve readability and fix indentation issues
2017-08-26Android stepheight: Only increase if 'touching ground' (#6313)Paramat
2017-08-26Mgfractal: Use 'switch case' instead of 'if else' (#6314)Paramat
2017-08-26Check item_drop amount clientside (#6242)rubenwardy