aboutsummaryrefslogtreecommitdiff
path: root/src/ban.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-09-03Add build date to minetest --version and increase readability (#6331)you3-18/+17
2017-09-03Ores: Add stratum ore (#6352)Paramat4-1/+105
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)Dharkael7-73/+73
* Use member initialization list instead of the constructor's body
2017-09-03Network part requires SharedBuffers to be pass as valueLoic Blot4-10/+8
This can trigger unreproductible crashes due to concurrency problem on SharedBuffers This fixes #6354
2017-09-02Remove 3D noise from getSteps function (#6360)Vaughan Lapsley4-10/+10
2017-09-01Remove nodeupdate completely (#6358)Rui5-29/+3
2017-09-01Fix animation frame_speed and blend loosing precision due to incorrec… (#6357)sapier10-5/+74
* 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-30Remove nodeupdate and nodeupdate_singleRui1-16/+0
2017-08-30Zoom: Move enabling zoom to a new player object propertyparamat8-11/+20
Default enabled for no change in default behaviour. Remove 'zoom' privilege.
2017-08-30Remove DSTACK support (#6346)Loïc Blot22-327/+1
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-29Documentation for 'slippery' node group (#6345)Ben Deutsch1-1/+1
2017-08-29Network proto handlers/container fixes (#6334)Loïc Blot6-18/+18
* 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 Blot1-1/+1
2017-08-29Bump minimal protocol version to 36 (#6319)SmallJoker9-503/+136
* 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 Blot6-19/+83
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-29Fix mistake when calling on_priv_grant/revoke, and document them (#6341)rubenwardy2-3/+12
2017-08-28Advanced settings: Make 'controls', 'graphics', 'sound' more accessibleparamat1-57/+57
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'.
2017-08-28mapblock_mesh.cpp: Fix code style and simplify a bit code (#4558)you1-184/+146
* mapblock_mesh.cpp: Fix code style and simplify a bit code
2017-08-28Clientevent refactor (#6320)Loïc Blot7-468/+571
* 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 Blot2-11/+11
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ász1-5/+4
2017-08-27Statbars: fix incorrect half-images in non-standard orientations (fixes #6198)Nathanaël Courant1-9/+13
2017-08-27Lua API: Add function to deregister single biomes (#5445)zeuner2-0/+19
2017-08-27core.get_objects_inside_radius: Omit removed objects (#6318)you2-4/+6
Fixes #6294
2017-08-27More readable default controls in READMEDharkael1-37/+38
2017-08-26Add '@n' escape sequences and some documentation on translated strings.Nathanaël Courant3-0/+16
2017-08-26Alternative code for slipping (#6256)Ben Deutsch2-16/+55
* 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)Paramat1-1/+2
2017-08-26Mgfractal: Use 'switch case' instead of 'if else' (#6314)Paramat1-10/+20
2017-08-26Add on_grant and on_revoke callbacks (#4713)rubenwardy4-3/+45
* 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
2017-08-26Check item_drop amount clientside (#6242)rubenwardy2-15/+12
2017-08-25Network cleanup (#6310)Loïc Blot11-1669/+1670
* 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)
2017-08-25Overlays for wield and inventory images (#6107)Dániel Juhász6-51/+135
* Overlays for wield and inventory images
2017-08-25Translations: prevent remote crash with invalid translationsEkdohibs1-1/+6
2017-08-24Builtin item: Tidy up (#4370)SmallJoker1-147/+128
New code structure Use setting movement_gravity Reset age on merge Set merge radius to 1.0m
2017-08-24Add translation of LANG_CODE in all languagesEkdohibs35-35/+35
2017-08-24Fix updatepo.sh and run it.Ekdohibs37-11294/+13469
It was broken due to the presence of "µ" utf-8 characters in builtin/profiler/reporter.lua.
2017-08-24Add clientside translations.Ekdohibs21-46/+629
2017-08-24Verify compiler version before building anything (#6293)Loïc Blot1-0/+19
GCC 4.9 and Clang 3.4 are the minimum
2017-08-24Dont define min/max macros in minwindef.h (#6308)adrido1-0/+2
2017-08-24Fix OSX builds caused by __WORDSIZE again (#6307)Pavel Puchkin1-1/+1
2017-08-24Make entity selection and collision boxes independently settable (#6218)stujones116-9/+38
* Make entity selection and collision boxes independently settable
2017-08-24Fix Android node selection distance (#6187)Dániel Juhász2-0/+17
2017-08-24Safe digging and placing (#6127)Ben Deutsch4-1/+22
* Setting: Safe digging and placing * New setting 'safe_dig_and_place' under Controls * If set, digging and placing will not auto-repeat * Releasing buttons unblocks the respective action again * Useful for inexperienced users in creative mode where default repeat times may be too short * Safe placing (right click repetition) does not need a guarding flag * Added new setting to minetest.conf.example
2017-08-24Network cleanup (#6302)Loïc Blot27-925/+1060
* Cleanup network headers * Move peerhandler to a specific header to reduce compilation times * Move socket.cpp/h to network folder * More work * Network code cleanups * Move socket.{cpp,h} to network folder * Move Address object to network/address.{cpp,h} * Move network exceptions to network/networkexceptions.h * Client: use unique_ptr for Connection * Server/ClientIface: use shared_ptr for Connection * Format fixes * Remove socket.cpp socket.h from clang-format whitelist * Also fix NetworkPacket code style & make it under clang-format
2017-08-24Fix OSX builds (closes #6289, fixes #6270) (#6306)Pavel Puchkin1-1/+1
Of course, this is not ideal solution, but we want our users to be happy in the first place, right?
2017-08-23Respect object property hp_max field for players (#6287)SmallJoker9-27/+51
* Respect object property hp_max field for players This allows modders to configure the maximal HP per player * Statbars: Downscale bar to full 20 HP when exceeding this value Add default max HP for players and breath constants to builtin Document the constants * Rename PLAYER_MAX_HP -> PLAYER_MAX_HP_DEFAULT
2017-08-23Do not add base position to player selection box (#6241)stujones111-1/+2
2017-08-21serialize: use a temporary for SerializeExceptionLoïc Blot2-6/+2
Exception must always use temporary instead of global copied exception instances, it's not recommended and should have undefined issues
2017-08-20Mgv6: Remove incorrectly defined and unused 'volume nodes'paramat2-8/+0