aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix day_night_ratio_do_override not being initialised server-siderubenwardy2017-10-291-1/+1
| | | | Causes get_day_night_ratio() to return unpredictable results.
* CSM: Add a way to get current locale from CSMlisacvuk2017-10-293-0/+11
|
* Biome API: Add decoration flags for underground decorationsparamat2017-10-295-81/+199
| | | | | | | | | | | | | Add "all_floors" and "all_ceilings" flags for simple and schematic decorations. Decorations are placed on all floor and/or ceiling surfaces. Decorations are placed before dungeon generation so placement in dungeons is not possible. Add 'getSurfaces()' function to mapgen.cpp that returns 2 arrays of y coordinates for all floor and ceiling surfaces in a specified node column. Move 'getHeight()' checks into DecoSimple and DecoSchematic. Delete 'getHeight()' functions.
* Allow overriding tool capabilities through itemstack metadataraymoo2017-10-2910-14/+206
| | | | | This makes it possible to modify the tool capabilities of individual itemstacks by calling a method on itemstack metadata references.
* Avoid filtering low-res textures for animated meshes (incl. players) (#6562)lhofhansl2017-10-281-0/+7
|
* Fix default item callbacks to work with nil users (#5819)raymoo2017-10-284-62/+97
| | | | | | | | | * Fix default item callbacks to work with nil users * item.lua: Handle node drops for invalid players The if-condition for the dropping loop is the same as `inv`, which means that the 2nd possible definition of `give_item` is never used. Remove redundant `local _, dropped_item`
* Add missing? includeEsteban I. Ruiz Moreno2017-10-261-0/+1
|
* Reduce server FOV with forward speedLars Hofhansl2017-10-251-1/+9
| | | | | | This causes blocks in front of the player to be rendered sooner and blocks in the periphal view (that would soon be out of view) a bit later. Overall this leads to smoother rendering as the player is moving around.
* Minetest.conf.example(.extra): Updates due to noise group formatparamat2017-10-232-216/+787
| | | | | | Autogenerate minetest.conf.example to convert noises to the now standard 'group format'. Delete the now unnecessary minetest.conf.example.extra.
* Lua_api.txt: Revert changes to NoiseParams format exampleMuhammad Rifqi Priyo Susanto2017-10-231-5/+5
|
* Improvements/fixes for noise parameter input in advanced settingsMuhammad Rifqi Priyo Susanto2017-10-239-145/+476
| | | | | | | | | | | | | | | | Formspec input for each individual noise parameter and flag. Allow noise flags to be set in advanced settings, previously only settable in minetest.conf. Standardise 'group format' for noise parameters set in minetest.conf, as only these support noise flags. However the older 'single line' format is still accepted to support existing minetest.conf files. Therefore auto-generate minetest.conf.example with noise parameters in 'group format'. Setting 'type' in settingtypes.txt is now either 'noise_params_2D' or 'noise_params_3D', the dimension number is displayed in the advanced settings edit page.
* Correct `prot_vers` in lua_api.txt.Auke Kok2017-10-191-1/+1
| | | | | We should avoid providing incorrect struct members in documentation since people will be coding based on them.
* Set range of blocks to retrieve per roundtrip to 2.Lars Hofhansl2017-10-191-1/+1
| | | | This is a small, partial revert of #6483, which had set this to 1.
* directiontables.cpp: fix a warning reported by VS2017Loic Blot2017-10-171-1/+1
|
* Fix inventory drag drop flag (#6416)asl972017-10-172-8/+8
|
* Add updated settings_translation_fileEsteban I. RM2017-10-171-1/+1
|
* don't pass g_settings around, and use it directlyEsteban I. RM2017-10-177-17/+19
|
* Regenerate minetest.conf.example and translation fileEsteban I. RM2017-10-172-122/+275
|
* Implement #6096Esteban I. RM2017-10-175-0/+24
|
* Fix strict_protocol_version_checking functionality after ee9a442SmallJoker2017-10-161-1/+2
|
* Don't try to craft a non-existent itemEsteban I. RM2017-10-161-1/+12
|
* Real global textures (#6105)Vitaliy2017-10-1526-160/+469
| | | | | | | | * Real global textures * Add world-aligned textures * Update minimal to support world-aligned tiles * Update minimal
* Cache server config settings. (#6530)lhofhansl2017-10-152-52/+55
| | | | * Cache server config settings.
* Profiler: Fix var args not being passed to callback register functionrubenwardy2017-10-141-1/+1
| | | | Fixes #6517
* Retrieve a small cone of blocks in the direction of the players velocity.Lars Hofhansl2017-10-131-8/+31
| | | | | | This helps retrieving the right set of blocks when the player is falling, traveling on cart, or in general traveling in a direction different from the view direction.
* Formspec: Fallback to 'label' in readonly textarea[]SmallJoker2017-10-131-4/+7
| | | | Guarantees backwards compatibility for this formspec element change
* Simple decorations: Make 'place_offset_y' usable with simple decorationsparamat2017-10-104-23/+33
| | | | | | Necessary for placing the base cube of 'plantlike_rooted' drawtype in the seabed instead of on it. Useful for placing decorations sunk into, or buried in, the ground.
* Smooth lighting: Fix light leaking through edge-connected cornersDTA72017-10-103-42/+110
| | | | | | | | | | | | | For solid nodes, the lighting at a corner becomes face-dependent, which means that only the four nodes in face-direction contribute to the lighting (getSmoothLightSolid). For special nodes, which use the lighting values at the eight corners of a node, the lighting is not face-dependent, but certain nodes of the eight surrounding nodes of a corner (here indices 4, 5, 6 and 7) can be obstructed. Ambient occlusion now also occurs for solid nodes, if two, three or four of the four nodes in face-direction are solid.
* Fix warnings introduced by 9b8fa99fe30728c1fcfa73cdf74211841bdae9fbLoic Blot2017-10-102-6/+6
|
* Thread: fix a crash on Windows due to data race condition on ↵Loïc Blot2017-10-101-2/+6
| | | | Thread::m_start_finished_mutex (#6515)
* NetworkPacket::putRawPacket: resize m_data to datasize + memcpyLoic Blot2017-10-101-1/+3
| | | | | | In some cases NetworkPacket was created using default constructor and m_data is not properly sized. This fixed out of bounds memory copy Also use memcpy instead of std::vector affectation to enhance packet creation
* Simple decorations: Add 'param2_max' parameter for random param2paramat2017-10-094-3/+17
| | | | | | | If 'param2_max' is not used, parameter 'param2' works as before for compatibility. If 'param2_max' is used, 'param2' and 'param2_max' become the lower and upper bounds of a per-decoration random param2.
* Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot2017-10-0912-37/+55
| | | | * Update clang from 4.0 to 5.0
* Formspec: textarea with scrollbar improvementsadrido2017-10-095-30/+46
| | | | | | | | | | | | Increase scrollrate depending on fontsize Scroll on mousewheel Allow scrolling and marking text on non writable textareas Update lua api about readonly mode Show scrollbar if text overflows
* FormSpec : Add an auto vertical scrollbar to the textareaadelcoding12017-10-098-34/+1856
|
* Replace deprecated WINAPI GetVersionInfoEx (#6496)adrido2017-10-072-14/+24
| | | | * Replace deprecated WINAPI GetVersionInfoEx
* Do not grant all privs to the admin - changes game behavior (#6460)lhofhansl2017-10-072-1/+11
| | | | | | * Do not grant all privs to admins. * Default give_to_admin to give_to_singleplayer
* Add setting for near plane distance. (#6395)Rob Blanckaert2017-10-073-0/+9
| | | | | | | * Allow setting the near plane * - Add near_plane limit of 0.5 to prevent x-ray. - Add more details to near_plane setting.
* Unkown nodes: Provide position on interact (#6505)SmallJoker2017-10-074-19/+22
| | | | * Unkown nodes: Provide position on interact
* settingtypes.txt: Update zoom description (#6443)James Alexander Stevenson2017-10-061-1/+1
|
* Move register_on_modchannel_signal() (#6497)James Alexander Stevenson2017-10-052-11/+10
| | | Moved from lua_api.txt to client_lua_api.md.
* [CSM] Add callback on open inventory (#5793)Vincent Glize2017-10-026-5/+42
|
* ParticleSpawner::step cleanup and rotation fix (#6486)SmallJoker2017-10-022-114/+75
| | | | * Particles: Move spawner code to a separate fucntion
* CAO footstep sounds: Reduce gain to balance volumeparamat2017-10-021-7/+8
|
* Stratum ore: Allow use with no noise for simple horizontal strataparamat2017-10-014-25/+62
| | | | | | | | If either of the 2 noise parameters are omitted the ore will occur from y_min to y_max in a simple horizontal stratum. As this does not compute noise performance improves, and is ideal for placing many layers. Clean up some nearby ore documentation.
* game.cpp: remove dead code for proto v25 compat (#6481)Loïc Blot2017-09-301-21/+2
| | | Protocol v25 is not supported anymore
* Fix attached particle spawners far from spawn (#6479)raymoo2017-09-301-2/+10
| | | | | | | * Fix attached particle spawners far from spawn When far from spawn, attached particle spawners did not spawn particles.
* Make Player::peer_id server-side only and add getters and setters (#6478)Loïc Blot2017-09-308-73/+64
| | | | | | | * Make Player::peer_id server-side only and add getters and setters Player::peer_id has no sense client side, move it to server, make it private and add setter and getter Also add some PEER_ID_INEXISTENT instead of harcoded 0
* Localplayer: Fix disable_jump effect and getStandingNodePos()SmallJoker2017-09-282-16/+42
| | | | Leave the old move code untouched.
* Lua_api.txt: Clarify arguments of functions, plus some cleanupHybrid Dog2017-09-281-66/+108
|