aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix incorrect buffer size calculation on creation of HUD status messagesrubenwardy2017-09-10
| | | | Fixes #6400
* Schematic decorations: Add 'place_offset_y' placement parameterparamat2017-09-10
| | | | | | | | | 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.
* Fix empty legacy meta being persistedrubenwardy2017-09-10
|
* Fix crash on revocation of removed privilegerubenwardy2017-09-08
|
* Server: Calculate maximal total block sends dynamically (#6393)SmallJoker2017-09-09
| | | The block sends per client is 1/2 when reaching the maximal player count.
* Particles: Do not add digging particles for airlike nodes (#6392)SmallJoker2017-09-08
|
* Prevent /spawnentity from spawning unknown entity (#6388)Wuzzy2017-09-08
|
* main.cpp: server-only builds should not include client headersLoic Blot2017-09-07
|
* Use a Buffer instead of SharedBuffer in ConnectionCommandLoic Blot2017-09-05
| | | | This fixes #6373
* Make HUD status messages translatable (#5795)Wuzzy2017-09-05
| | | | | | * Make HUD status messages translatable * Make strings in showStatusTextSimple translatable
* Remove DSTACK keybind setting (#6378)Rui2017-09-05
|
* Conf.example: Update using auto-generationparamat2017-09-05
|
* Network protocol documentation: Add 'can_zoom' to version 36paramat2017-09-05
|
* Implement minetest.register_can_bypass_userlimit (#6369)Loïc Blot2017-09-04
| | | | | | | | | * 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
* Re-apply previous commit with a typo fixLoïc Blot2017-09-04
|
* Revert "Network: fix a concurrency problem, by re-adding a copy in ↵Loïc Blot2017-09-04
| | | | | | ConnectionCommand" This reverts commit 5b04f5e7d231437b534f4cad39da78624d97c584.
* Network: fix a concurrency problem, by re-adding a copy in ConnectionCommandLoïc Blot2017-09-04
|
* World start time: Add setting for this, default unchangedparamat2017-09-04
|
* Add build date to minetest --version and increase readability (#6331)you2017-09-03
|
* Ores: Add stratum ore (#6352)Paramat2017-09-03
| | | | | | | | 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.
* Use member initialization list instead of the constructor's body (#6371)Dharkael2017-09-03
| | | | * Use member initialization list instead of the constructor's body
* Network part requires SharedBuffers to be pass as valueLoic Blot2017-09-03
| | | | | | This can trigger unreproductible crashes due to concurrency problem on SharedBuffers This fixes #6354
* Remove 3D noise from getSteps function (#6360)Vaughan Lapsley2017-09-02
|
* Remove nodeupdate completely (#6358)Rui2017-09-01
|
* Fix animation frame_speed and blend loosing precision due to incorrec… (#6357)sapier2017-09-01
| | | | | * 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
* Remove nodeupdate and nodeupdate_singleRui2017-08-30
|
* Zoom: Move enabling zoom to a new player object propertyparamat2017-08-30
| | | | | Default enabled for no change in default behaviour. Remove 'zoom' privilege.
* Remove DSTACK support (#6346)Loïc Blot2017-08-30
| | | 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.
* Documentation for 'slippery' node group (#6345)Ben Deutsch2017-08-29
|
* Network proto handlers/container fixes (#6334)Loïc Blot2017-08-29
| | | | | | | | | | * 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
* Pushing typo fix introduced in b7ee608e70f8e031e3e01c9672bedb16efa648b8Loic Blot2017-08-29
|
* Bump minimal protocol version to 36 (#6319)SmallJoker2017-08-29
| | | | | | | * Bump minimal protocol version to 36 Item/Node/TileDef, NodeBox, TileAnimation: Remove old compat code * Accept future serialisation versions
* Formspec: Add options to set background color and opacity (fullscreen mode + ↵Loïc Blot2017-08-29
| | | | | | | | | | | | 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
* Fix mistake when calling on_priv_grant/revoke, and document them (#6341)rubenwardy2017-08-29
|
* Advanced settings: Make 'controls', 'graphics', 'sound' more accessibleparamat2017-08-28
| | | | | | | | | | | | | Move client 'controls', 'graphics' and 'sound' into the first level to be immediately visible to players who may not realise these come under 'client'. These are the settings that new players or players on a server are likely to want to access while not having understanding of what comes under 'client'. Leave client 'network' and 'advanced' under 'client' as these are more advanced. Move 'show entity selection boxes' from the bizarre location in 'client'>'network' to 'graphics'>'in game'>'advanced'.
* mapblock_mesh.cpp: Fix code style and simplify a bit code (#4558)you2017-08-28
| | | | * mapblock_mesh.cpp: Fix code style and simplify a bit code
* Clientevent refactor (#6320)Loïc Blot2017-08-28
| | | | | | | | | | * 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
* Pass SharedBuffer as value to increment reference countLoïc Blot2017-08-28
| | | | | This should fix #6332 Refcount is not increased due to reference, it can make this refcount incorrect in a multithread context
* Use crack animation on all tile layers (#6104)Dániel Juhász2017-08-28
|
* Statbars: fix incorrect half-images in non-standard orientations (fixes #6198)Nathanaël Courant2017-08-27
|
* Lua API: Add function to deregister single biomes (#5445)zeuner2017-08-27
|
* core.get_objects_inside_radius: Omit removed objects (#6318)you2017-08-27
| | | Fixes #6294
* More readable default controls in READMEDharkael2017-08-27
|
* Add '@n' escape sequences and some documentation on translated strings.Nathanaël Courant2017-08-26
|
* Alternative code for slipping (#6256)Ben Deutsch2017-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Android stepheight: Only increase if 'touching ground' (#6313)Paramat2017-08-26
|
* Mgfractal: Use 'switch case' instead of 'if else' (#6314)Paramat2017-08-26
|
* Add on_grant and on_revoke callbacks (#4713)rubenwardy2017-08-26
| | | | | | * Add register_on_priv_grant/revoke, and on_grant/revoke to privs. Call from /grant and /revoke * Call on_grant and on_revoke callbacks from set_privs
* Check item_drop amount clientside (#6242)rubenwardy2017-08-26
|
* Network cleanup (#6310)Loïc Blot2017-08-25
| | | | | | | | | | | | | | * Move Connection threads to dedicated files + various cleanups * ConnectionReceiveThread::processPacket now uses function pointer table to route MT packet types * Various code style fixes * Code style with clang-format * Various SharedBuffer copy removal * SharedBuffer cannot be copied anymore using Buffer * Fix many SharedBuffer copy (thanks to delete operator)