summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Cleanup & bugfixLoic Blot2018-03-08
| | | | | | | | * ObjectRef::set_local_animation: fix wrong lua return (should push a boolean, currently returns nil) * ObjectRef::set_eye_offset: fix wrong lua return (should push a boolean, currently returns nil) * Fix various Server functions which depends on RemotePlayer objet and return true/false when player object is nil whereas it's a caller implementation error. Change those bool functions to void and add sanitize_check call instead. Current callers are always checking player object validity * Optimize Server::setClouds : use CloudParams object ref instead of attribute deserialization from structure & perform RemotePlayer::setCloudParams directly in server class like many other calls * Optimize Server::SendCloudParams: use CloudParams object ref instead of deserialized attributes
* Cleanup: drop Server::hudGetHotbarSelectedImage()Loic Blot2018-03-08
| | | | Call directly accessible RemotePlayer::getHotbarSelectedImage() from server api
* Cleanup: drop Server::hudGetHotbarImage()Loic Blot2018-03-08
| | | | Call directly accessible RemotePlayer::getHotbarImage() from server api & make it const ref
* Cleanup: drop Server::hudGetHotbarItemcount()Loic Blot2018-03-08
| | | | Call directly accessible RemotePlayer::getHotbarItemcount() from server api
* mods.cpp/h: little performance improvement in getModsInPath (+ codestyle) ↵Loïc Blot2018-03-08
| | | | | | | (#7108) * mods.cpp/h: little performance improvement in getModsInPath
* Fix bad markdown in lua_api.txtpauloue2018-03-05
|
* Fix missing warningstream (or similar problem) (#7034)you2018-03-04
| | | | | | | Use the --color command line parameter instead of a setting for coloured logs This fixes the missing warningstream bug, g_settings->get mustn't be used there. Also, the decision about en- or disabling log colours fits better to the command line parameters than minetest settings.
* Allow for getting world name and path separately on the command line (#6555)Brian2018-03-04
| | | | | | | | | Change to --worldlist instead of --world list. Gets rid of --worldpath parameter added as part of this pull request, instead moving the listing function to a command --worldlist that accepts either name, path, or both and prints out the corresponding information.
* Gennotify: Add 'minetest.get_decoration_id' APIparamat2018-03-03
| | | | | | Returns the decoration ID for the provided decoration name string. For use with gennotify, to know the decoration IDs for use in 'minetest.set_gen_notify'.
* Generate Notifier: Clear events once after all 'on generated' functionsparamat2018-03-03
|
* MapgenValleys: Fixed submarine valleys shapeGael-de-Sailly2018-03-03
|
* c_converter: Function template for numeric fields, add v3s16 default (#7090)SmallJoker2018-03-03
|
* Slippery: Simplify, make more efficient (#7086)SmallJoker2018-03-03
| | | | Use already existing collision results for the nearest colliding node Fix slippery effect in free_move mode
* Cleanup in flat lighting (#7051)Vitaliy2018-03-03
|
* Fix liquid post effect colour behaviour in third person viewred-0012018-02-27
|
* Place schematic (on vmanip): Enable use of 'place center' flagsparamat2018-02-27
| | | | | | For 'place schematic' and 'place schematic on vmanip' APIs. Fix 'place center' code to properly centre schematics. Fix some comments.
* CollisionMoveSimple: Collide with 'ignore' nodesparamat2018-02-26
|
* SAO limits: Allow SAOs to exist outside the set 'mapgen limit'paramat2018-02-26
|
* Fix CMake error (#7074) by bumping the required CMake version past 3.8.1 (#7075)nOOb31672018-02-25
|
* is_area_protected: Rename from intersects_protection (#7073)SmallJoker2018-02-25
| | | | | | * is_area_protected: Rename from intersects_protection Return first protected position Clarify docs: Mods may overwrite the function
* CMakeLists use the source_group command to improve look and feel when ↵nOOb31672018-02-23
| | | | | | generating Visual Studio projects. The TREE argument of source_group appears in CMake 3.8 therefore check for version.
* CMakeLists pass windows sources (manifest and resource file) to executable ↵nOOb31672018-02-23
| | | | targets separately from common_SRCS
* Registration dialog: Larger text field with scrollbars (#7047)SmallJoker2018-02-23
| | | Center text, text area doubled now
* Find nodes in area (under air): Raise volume limit and document itparamat2018-02-21
|
* Settingtypes.txt: Fix valleys dungeon ymax errorparamat2018-02-21
|
* Vertical biome blend: Tune blend patternsparamat2018-02-20
|
* Dungeons: Add Y limits in all mapgensparamat2018-02-20
| | | | Preserve the upper limit used in mgvalleys.
* Delete world dialog: Move buttons to avoid double click deletionMuhammad Rifqi Priyo Susanto2018-02-20
| | | | | Move confirmation delete button to never overlap initial delete button, to avoid world deletion by accidental double click.
* /shutdown can't do countdown when using reconnect and/or shutdown message ↵dopik2018-02-19
| | | | | (#7055) Delay was converted from the param string and not the delay value, thus never using the actual given delay value when used in combination with other string values in the param, in this case reconnect and the shutdown messsage.
* Add a refresh button to the serverlist (#6957)Tre2018-02-19
| | | | | | | | * add refresh button * Make search and refresh buttons smaller * Change to image button
* Mitigate formspec exploits by verifying that the formspec was shown to the ↵red-0012018-02-18
| | | | | user by the server. (#6878) This doesn't check the fields in anyway whatsoever so it should only be seen as a way to mitigate exploits, a last line of defense to make it harder to exploit bugs in mods, not as a reason to not do all the usually checks.
* Lua API documentation: Fix spelling (#7046)pauloue2018-02-18
|
* Check argument types inside MetaDataRef Lua API (#7045)sfan52018-02-18
|
* Fix "Ignoring CONTENT_IGNORE redefinition" warning (#4393)you2018-02-18
| | | minetest.override_item still passes to core
* Remove legacy chat network code. (#6954)red-0012018-02-17
|
* Render copyright notice: Fix name spelling (#7042)Vitaliy2018-02-15
|
* Add `on_auth_fail` callback (#7039)red-0012018-02-15
| | | Called when a client fails to supply the correct password for the account it's attempting to login as.
* Dungeons: Avoid generation in multiple liquid nodes and 'airlike'paramat2018-02-13
| | | | | | | | | | | | | | Previously only 'mapgen water source' and 'mapgen river water source' were checked for. Games can use multiple liquid nodes defined for biomes, many of which will not be aliased to those 2 mapgen aliases, causing floating dungeons to generate in some liquids. Now we check for liquid drawtype instead, so can remove liquid nodes from dungeonparams. Also check for 'airlike' drawtype instead of 'CONTENT_AIR' to avoid generation in 'airlike' nodes in some rare situations. This will also be needed for when we add definable biome air nodes.
* Item entity: Delete in 'ignore' nodesparamat2018-02-13
|
* Falling.lua: Delete falling node entities on contact with 'ignore'paramat2018-02-13
| | | | | | Prevents falling node entities entering the ignore at a world edge and resting on unloaded nodes 16 nodes below, unreachable, undiggable and still being processed by 'on step' because they don't revert to nodes.
* map.cpp: Initialize NodeNeighbor, set NeighborType to u8 & cleanupLoic Blot2018-02-11
| | | | | | | Cleanup: * Drop unused Map::transforming_liquid_size() * NodeNeighbor must use const ref for v3s16 * Add a missing default in a switch case
* Node definition manager refactor (#7016)Dániel Juhász2018-02-10
| | | | | | | | | * Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager
* Position entity nametags relative to selection-box (#7031)stujones112018-02-10
|
* Fix 'Change Keys' menu crash caused by 501f936SmallJoker2018-02-09
|
* Allow dumping userdata (#7012)you2018-02-08
|
* Switch F3 to use 'enable_fog' settingThomasMonroe3142018-02-08
|
* Include alpha channel reference in MaterialTypeParamstujones112018-02-08
|
* Move `setlocale` from Lua to C++.red-0012018-02-08
|
* Add main_menu_style settingPorygonZRocks2018-02-08
|
* Add minetest.is_player (#7013)you2018-02-05
| | | | | | * Add minetest.is_player * First use for is_player