aboutsummaryrefslogtreecommitdiff
path: root/textures/base/pack/down.png (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-23Shaders: fix fog not affecting opaque liquidsRealBadAngel1-1/+1
2016-02-23Sheet Ore: Eliminate crash caused by PcgRandom range max < minparamat1-4/+9
In the calculation of y_start, when 'column height max' was large it caused nmin.Y + max_height > nmax.Y - max_height Now, in this situation y_start is set to the midpoint between nmin.Y and nmax.Y Limit y0 and y1 to between nmin.Y and nmax.Y, otherwise index calculation, which has no checks for limits, places them at unwanted locations in the voxelmanip
2016-02-23GOTBLOCKS & DELETEBLOCKS: test packet size only oncenerzhul1-9/+10
2016-02-23Fix android buildest311-0/+1
Android had a linker error since commit: 31e0667a4a53a238d0321194b57b083bd74c0a5b "Add Lua interface to HTTPFetchRequest" Fixes #3766. Thanks to @MoNTE48 for reporting the bug.
2016-02-22Reset block send timer when invoking setBlock(s)NotSent()orwell961-0/+2
As stated in this forum thread [1], I noticed that there is a 2 second interval in which inventory changes are shown on the client. @yyt16384 found the source of these 2 seconds: m_nothing_to_send_pause_timer is set to 2.0 every time there are no changes to make, but this timer is not reset when SetBlockNotSent or setBlocksNotSent are invoked. So in worst case, the changed block will be sent over 2 seconds too late. With this change, changed inventories are updated almost immediately, but it causes additional connection load.
2016-02-22Android: hardcode leveldb revisionest311-0/+3
Newest leveldb commit breaks build. With no fix in sight, there is no other way than to fall back to the last working leveldb revision, and hardcode it. Workaround for upstream bug https://github.com/google/leveldb/issues/340
2016-02-22Fix getting pointed nodeRealBadAngel1-59/+77
Fixes #3719 Closes #3753
2016-02-22Add Lua interface to HTTPFetchRequestJeija12-1/+357
This allows mods to perform both asynchronous and synchronous HTTP requests. Mods are only granted access to HTTP APIs if either mod security is disabled or if they are whitelisted in any of the the secure.http_mods and secure.trusted_mods settings. Adds httpfetch_caller_alloc_secure to generate random, non-predictable caller IDs so that lua mods cannot spy on each others HTTP queries.
2016-02-22Fix HTTPFetchRequest performing a GET request if post_data is suppliedJeija1-1/+1
Instead, perform a POST request with post_data.
2016-02-21Camera: remove auto tune FPS, single view range settingRealBadAngel8-207/+33
2016-02-21Remove preload_item_visuals codeRealBadAngel5-38/+0
Closes #3748
2016-02-21Dont make fastface if tile is not seamlessRealBadAngel1-2/+3
Fixes #3378 Closes #3751
2016-02-21Restore simple settings tab and add advanced settings as dialogBlockMen3-655/+1082
2016-02-20Little collision.cpp cleanupsLoic Blot1-4/+3
2016-02-19Fix jumping at node edgegregorycu1-49/+17
2016-02-19Don't print locale directory error message when GetText is disabledShadowNinja1-4/+6
Also, downgrade the error to a warning.
2016-02-19Ignore spaces in secure.trusted_mods settingJeija1-0/+2
2016-02-19Minimap: show player markersRealBadAngel4-0/+78
2016-02-19Camera: Don't count camera offset twice for Nametagged CAOsRealBadAngel1-2/+1
2016-02-19Require request_insecure_environment to be called from the mod's main scopeShadowNinja2-6/+28
Previously you could steal a secure environment from a trusted mod by wrapping request_insecure_environment with some code like this: local rie_cp = minetest.request_insecure_environment local stolen_ie function minetest.request_insecure_environment() local ie = rie_cp() stolen_ie = stolen_ie or ie return ie end
2016-02-19Clientmap: Define p_nodes_min/max as v3s32 instead of v3s16paramat2-139/+116
'cam_pos_nodes -/+ box_nodes_d' can exceed the range of v3s16 when a player is near the world edge using a large view range This previously caused world to disappear Create new function getBlocksInViewRange() called from updateDrawList() and renderMap() Correct code style throughout updateDrawList() and renderMap()
2016-02-18HOTFIX: fix too agressive block cullingRealBadAngel1-1/+4
2016-02-18Move object nametags to cameraRealBadAngel9-54/+138
2016-02-16Clientiface: remove "value is dummy" from docsest311-2/+1
Commit 6a1670dbc31cc0e44178bbd9ad34ff0d5981a060 "Migrate to STL containers/algorithms." has replaced core::map<T, bool> with std::set<T>, but didn't update the accompanying comment saying "value is dummy". This happened at two places.
2016-02-16Mapblock mesh: Eliminate meshgen lagsRealBadAngel1-6/+0
2016-02-15Use vertices with tangents only when its needed.RealBadAngel4-67/+131
2016-02-14Player::accelerateHorizontal/Vertical should be member of LocalPlayerLoic Blot4-39/+37
2016-02-14Use proper variable types for uniform sampler layersRealBadAngel1-3/+6
2016-02-13Formspec: fix broken irrlicht 1.7 buildRealBadAngel1-0/+10
Fixes #3701.
2016-02-13Formspec: recreate item_image_button pressed state for its image and labelRealBadAngel2-22/+54
2016-02-13Remove unused 'm_selection_active' fieldest311-1/+0
Thanks @ExcaliburZero for noticing. Fixes #3698.
2016-02-11v2d & aabbox3d<f32> & sky cleanupsnerzhul21-44/+39
* Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
2016-02-11Drop luaentity_common.h which is not included anywhereLoic Blot1-30/+0
2016-02-11Use single box for halo meshRealBadAngel4-26/+31
2016-02-11Set proper GLSL pixel shader versionRealBadAngel1-1/+1
2016-02-11Dump shader programs on compile errorsRealBadAngel2-0/+26
2016-02-11Documentation: Remove now unused 'vertical spawn range'paramat2-13/+0
2016-02-11Initialize facedir and wallmounted tables only once.Diego Martinez2-28/+31
This makes the functions a bit faster since they don't have to recreate the tables every invocation, and makes the code more readable. Also, document `wallmounted_to_dir`. The function was implemented but not documented in `lua_api.txt`.
2016-02-11Log /clearobjects modeKahrl1-1/+2
2016-02-11Add '/clearobjects quick'Kahrl6-51/+124
2016-02-10Fix backface culling when connecting to new servers.Auke Kok2-50/+43
Introduce a new contentfeatures version (8). When clients connect using v27 protocol version, they can assume that the tiledef.backface_culling is trustable, but if clients connect to servers providing contentfeatures version 7, then the v27 clients know that backface culling settings provided by the server in tiledefs are bogus for mesh, plantlike, firelike or liquid drawtype nodes. thanks to hmmmm, est31, nerzhul. Tested on new client - new server, new client - old server old client - new server.
2016-02-09Fix inverted conditions in shader.cppLoic Blot1-2/+2
2016-02-09shader.cpp: don't test twice if shader programs are presentLoic Blot1-9/+9
Also use string::empty method, it is better than comparing with empty strings.
2016-02-09FormSpec: Add StaticTextSpec and superimpose over item image buttonsRealBadAngel2-1/+32
2016-02-09Filmic HDR tone mappingRealBadAngel6-14/+101
2016-02-09Remove ClientMap::m_camera_mutexKahrl2-12/+1
All places that lock this mutex are only called by the main thread: ClientMap::updateCamera(), ClientMap::updateDrawList(), ClientMap::renderMap(), ClientMap::renderPostFx().
2016-02-09FindSpawnPos: Let mapgens decide what spawn altitude is suitableparamat19-78/+123
To avoid spawn search failing in new specialised mapgens Increase spawn search range to 4000 nodes Add getSpawnLevelAtPoint() functions to EmergeManager, class Mapgen and all mapgens Remove getGroundLevelAtPoint() functions from all mapgens except mgv6 (possibly to be re-added later in the correct form to return actual ground level) Make mgvalleys flag names consistent with other mapgens Remove now unused 'vertical spawn range' setting
2016-02-08Use inventory_image in the first place for inventory item meshRealBadAngel1-5/+2
2016-02-08Cleanup selection mesh code, add shaders for halo and selection boxesRealBadAngel21-304/+336
2016-02-08builtin: Fix `print` crashing on nil "holes".Diego Martinez1-1/+5
The engine implementation of `print` packs the varargs into a table and passes the table directly to `table.concat`. If you pass any value not supported by `table.concat` (particularly `nil`), the server crashes. This is unexpected behavior, as `print` is supposed to be able to work with anything. This patch changes the implementation so it first converts all arguments using `tostring`, which fixes the issue and makes the custom `print` function compatible with the stock Lua behavior.