aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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)
* Overlays for wield and inventory images (#6107)Dániel Juhász2017-08-25
| | | | * Overlays for wield and inventory images
* Translations: prevent remote crash with invalid translationsEkdohibs2017-08-25
|
* Builtin item: Tidy up (#4370)SmallJoker2017-08-24
| | | | | | New code structure Use setting movement_gravity Reset age on merge Set merge radius to 1.0m
* Add translation of LANG_CODE in all languagesEkdohibs2017-08-24
|
* Fix updatepo.sh and run it.Ekdohibs2017-08-24
| | | | It was broken due to the presence of "µ" utf-8 characters in builtin/profiler/reporter.lua.
* Add clientside translations.Ekdohibs2017-08-24
|
* Verify compiler version before building anything (#6293)Loïc Blot2017-08-24
| | | GCC 4.9 and Clang 3.4 are the minimum
* Dont define min/max macros in minwindef.h (#6308)adrido2017-08-24
|
* Fix OSX builds caused by __WORDSIZE again (#6307)Pavel Puchkin2017-08-24
|
* Make entity selection and collision boxes independently settable (#6218)stujones112017-08-24
| | | | * Make entity selection and collision boxes independently settable
* Fix Android node selection distance (#6187)Dániel Juhász2017-08-24
|
* Safe digging and placing (#6127)Ben Deutsch2017-08-24
| | | | | | | | | | | | | | * 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
* Network cleanup (#6302)Loïc Blot2017-08-24
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix OSX builds (closes #6289, fixes #6270) (#6306)Pavel Puchkin2017-08-24
| | | | Of course, this is not ideal solution, but we want our users to be happy in the first place, right?
* Respect object property hp_max field for players (#6287)SmallJoker2017-08-23
| | | | | | | | | | | * 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
* Do not add base position to player selection box (#6241)stujones112017-08-23
|
* serialize: use a temporary for SerializeExceptionLoïc Blot2017-08-21
| | | | Exception must always use temporary instead of global copied exception instances, it's not recommended and should have undefined issues
* Mgv6: Remove incorrectly defined and unused 'volume nodes'paramat2017-08-20
|
* Minimap: Add new HUD flag for minimap radar modeparamat2017-08-20
| | | | | Flag default is true to not change default behaviour. The existing minimap HUD flag remains the master control for minimap.
* Fix a formspec crash triggered by ae9b5e00989756bb676429530dfe81039009001cLoic Blot2017-08-20
|
* Add missing ENABLE_SYSTEM_JSONCPP in docsLoic Blot2017-08-20
|
* Change BS constant from implicit double to float (#6286)Jens Rottmann2017-08-20
| | | | | | | | the BS constant implicitly promotes all position calculations it is used in to double even though positions (= v3f) are only meant to be floats. There are many, many similar occurrences everywhere, but I'm not willing to hunt down all; I only fixed the little part I'm already familiar with.
* Modernize code: very last fixes (#6290)Loïc Blot2017-08-20
| | | Last modernization fixes
* Travis-ci build: fix osx jpeg installation failure, git ambiguous argument ↵Juozas2017-08-20
| | | | | | | | | | | error (caused by merging commits) and add a workaround for travis commit range bug (#6227) * common.sh: fix travis-ci build bugs install_macosx_deps: check if jpeg is installed, if not - upgrade it. needs_compile: Check if $TRAVIS_COMMIT_RANGE is valid, if not, rewrite the range with the correct one, and fix git ambiguous argument error. * Changed detection method and removed commments
* New version scheme (#6292)Loïc Blot2017-08-20
| | | | | | | * Version changes: current dev version is now 0.5.0 * This change permit to have multi branches with various versions * Dev version is 0.5.0-dev and next release will be 0.5.0
* Modernize source code: last part (#6285)Loïc Blot2017-08-20
| | | | | | | | | | | * Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
* Fix shader.h inclusion place in game.cppLoïc Blot2017-08-19
|
* Code modernization: subfolders (#6283)Loïc Blot2017-08-19
| | | | | | | | | | | | | * Code modernization: subfolders Modernize various code on subfolders client, network, script, threading, unittests, util * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Make connection.cpp readable in a pointed place + typo
* Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282)Loïc Blot2017-08-19
| | | | | | | | | | | * Code modernization: src/p*, src/q*, src/r*, src/s* (partial) * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Spelling: vertice -> vertex
* Code modernization: src/n*, src/o* (#6280)Loïc Blot2017-08-19
| | | | | | | | | | | * Code modernization: src/n*, src/o* * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * remove unused IWritableNodeDefManager::clone() * C++ STL header style * Pointer constness in some functions
* GenericCAO: Fix light position for non-players, remove deprecated ↵SmallJoker2017-08-19
| | | | initialisation code (#6281)
* ServerMap saving: cleanups (#6274)Loïc Blot2017-08-19
| | | | * remove sector meta loading/saving from files which targets dead code (differs_from_disk is always empty) * this remove empty ServerMapSector and ClientMapSector, remove MapSector childs
* ItemCAO removal (#6279)Loïc Blot2017-08-19
| | | This object is from 0.3 era and was never used since 0.4.X and GenericCAO usage
* Code modernization: src/m* (part 3)Loic Blot2017-08-19
| | | | | | | | * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * remove some unused headers in some cpp variable
* Code modernization: src/m* (part 2)Loic Blot2017-08-19
| | | | | | | | | * empty function * default constructor/destructor * remove unused Map::emergeSector(a,b) * for range-based loops * migrate a dirs[7] table to direction tables * remove various old unused function
* Banmanager: Move 'creating' message from warningstream to infostream (#6277)Paramat2017-08-19
|
* Make world creation menu automatically generate a random world name (#6257)lisacvuk2017-08-18
| | | | | | * Make world creation menu automatically generate a name. * Name is now initialy empty, and generated if player tries to create a world without a name.