aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-11-18Fix mousewheel behaviour in textarea (#6641)shivajiva101
Allowing scrolling with the mousewheel when the vertical scrollbar is hidden, unnecessarily exposes oversized containers and newlines at the end of the text. For example try scrolling over the textareas in the pause menu. This PR addresses the issue by requiring the scrollbar to be visible before allowing the scrolling with the mousewheel.
2017-11-18Fix dark liquids (#6621)Vitaliy
* Update light storage format
2017-11-17Biome dust node: Only place on 'walkable' cubic non-liquid drawtypesparamat
No longer decide placement on 'buildable_to' parameter. Dust nodes only look acceptable placed on cubic nodes. Modders may not want to make their plantlike decorations 'buildable_to'.
2017-11-17Load files from subfolders in texturepacksnumber Zero
Updated and rebased version of a PR by red-001
2017-11-15Allow zoom to actually show more data.Lars Hofhansl
This allows the client to retrieve blocks at a greater distance from the server, thus allowing for a real zoom.
2017-11-14Fix item and wield meshes (#6596)Vitaliy
2017-11-14PlayerSAO damage: Update to cope with variable player heightsparamat
Nearby codestyle cleanup.
2017-11-08Move files to subdirectories (#6599)Vitaliy
* Move files around
2017-11-08Add minetest.safe_write_file() to script APIsfan5
2017-11-08Fix issue Minetest crash when custom font path is not existMuhammad Rifqi Priyo Susanto
We try to use default fallback for both mono and main font when custom font path is not exist. This way, if Minetest is not corrupted, we could avoid crash.
2017-11-06LINT: Add files to whitelist, fix detected indent errorsparamat
2017-11-06Player eye height: Make this a settable player object propertyparamat
2017-11-04Do not scale texture unless necessary.Lars Hofhansl
This avoids scaling textures to 'texture_min_size' unless it is actually required (because either auto-scaling or bi/trilinear filtering is enabled)
2017-11-04httpfetch: Enable gzip supportsfan5
2017-10-31Rewrite rendering engine (#6253)Vitaliy
* Clean draw_*() arguments * Split rendering core * Add anaglyph 3D * Interlaced 3D * Drop obsolete methods
2017-10-30Add sha1 to lua utils. (#6563)Rob Blanckaert
2017-10-30Initial Haiku support (#6568)miqlas
* Iitial Haiku support
2017-10-29Fix day_night_ratio_do_override not being initialised server-siderubenwardy
Causes get_day_night_ratio() to return unpredictable results.
2017-10-29CSM: Add a way to get current locale from CSMlisacvuk
2017-10-29Biome API: Add decoration flags for underground decorationsparamat
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.
2017-10-29Allow overriding tool capabilities through itemstack metadataraymoo
This makes it possible to modify the tool capabilities of individual itemstacks by calling a method on itemstack metadata references.
2017-10-28Avoid filtering low-res textures for animated meshes (incl. players) (#6562)lhofhansl
2017-10-26Add missing? includeEsteban I. Ruiz Moreno
2017-10-25Reduce server FOV with forward speedLars Hofhansl
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.
2017-10-23Improvements/fixes for noise parameter input in advanced settingsMuhammad Rifqi Priyo Susanto
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.
2017-10-19Set range of blocks to retrieve per roundtrip to 2.Lars Hofhansl
This is a small, partial revert of #6483, which had set this to 1.
2017-10-17directiontables.cpp: fix a warning reported by VS2017Loic Blot
2017-10-17Fix inventory drag drop flag (#6416)asl97
2017-10-17Add updated settings_translation_fileEsteban I. RM
2017-10-17don't pass g_settings around, and use it directlyEsteban I. RM
2017-10-17Regenerate minetest.conf.example and translation fileEsteban I. RM
2017-10-17Implement #6096Esteban I. RM
2017-10-16Fix strict_protocol_version_checking functionality after ee9a442SmallJoker
2017-10-16Don't try to craft a non-existent itemEsteban I. RM
2017-10-15Real global textures (#6105)Vitaliy
* Real global textures * Add world-aligned textures * Update minimal to support world-aligned tiles * Update minimal
2017-10-15Cache server config settings. (#6530)lhofhansl
* Cache server config settings.
2017-10-13Retrieve a small cone of blocks in the direction of the players velocity.Lars Hofhansl
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.
2017-10-13Formspec: Fallback to 'label' in readonly textarea[]SmallJoker
Guarantees backwards compatibility for this formspec element change
2017-10-10Simple decorations: Make 'place_offset_y' usable with simple decorationsparamat
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.
2017-10-10Smooth lighting: Fix light leaking through edge-connected cornersDTA7
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.
2017-10-10Fix warnings introduced by 9b8fa99fe30728c1fcfa73cdf74211841bdae9fbLoic Blot
2017-10-10Thread: fix a crash on Windows due to data race condition on ↵Loïc Blot
Thread::m_start_finished_mutex (#6515)
2017-10-10NetworkPacket::putRawPacket: resize m_data to datasize + memcpyLoic Blot
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
2017-10-09Simple decorations: Add 'param2_max' parameter for random param2paramat
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.
2017-10-09Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot
* Update clang from 4.0 to 5.0
2017-10-09Formspec: textarea with scrollbar improvementsadrido
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
2017-10-09FormSpec : Add an auto vertical scrollbar to the textareaadelcoding1
2017-10-07Replace deprecated WINAPI GetVersionInfoEx (#6496)adrido
* Replace deprecated WINAPI GetVersionInfoEx
2017-10-07Add setting for near plane distance. (#6395)Rob Blanckaert
* Allow setting the near plane * - Add near_plane limit of 0.5 to prevent x-ray. - Add more details to near_plane setting.
2017-10-07Unkown nodes: Provide position on interact (#6505)SmallJoker
* Unkown nodes: Provide position on interact