5714 Commits

Author SHA1 Message Date
Maksim Gamarnik
531f4188bc Merge remote-tracking branch 'upstream/master' 2016-02-25 13:57:55 +02:00
Maksim Gamarnik
c68470bb41 build2 2016-02-24 04:27:46 +02:00
RealBadAngel
d264deafd8 Shaders: fix fog not affecting opaque liquids 2016-02-23 23:51:41 +00:00
paramat
6485df01f1 Sheet Ore: Eliminate crash caused by PcgRandom range max < min
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-23 23:51:29 +00:00
nerzhul
62fb95a95a GOTBLOCKS & DELETEBLOCKS: test packet size only once 2016-02-23 14:24:21 +01:00
Maksim Gamarnik
76ef29709c v. 1.1.2-pre | build1 2016-02-23 06:40:14 +02:00
est31
afcf1a41d8 Fix android build
Android had a linker error since commit:

31e0667a4a53a238d0321194b57b083bd74c0a5b "Add Lua interface to HTTPFetchRequest"

Fixes #3766. Thanks to @MoNTE48 for reporting the bug.
2016-02-23 01:48:52 +01:00
Maksim Gamarnik
28b7c8dca7 test 2016-02-23 02:31:19 +02:00
Maksim Gamarnik
be288f1c52 Merge 2016-02-23 00:40:02 +02:00
Maksim Gamarnik
40b3667bd2 Merge remote-tracking branch 'upstream/master' 2016-02-23 00:38:30 +02:00
orwell96
9841e2887b Reset block send timer when invoking setBlock(s)NotSent()
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-22 19:59:56 +01:00
est31
3768c36612 Android: hardcode leveldb revision
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-22 17:46:16 +01:00
RealBadAngel
772a0dec04 Fix getting pointed node
Fixes #3719
Closes #3753
2016-02-22 15:54:32 +01:00
Jeija
6128dc7a07 Add Lua interface to HTTPFetchRequest
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-22 15:39:41 +01:00
Jeija
88819c1689 Fix HTTPFetchRequest performing a GET request if post_data is supplied
Instead, perform a POST request with post_data.
2016-02-22 15:39:19 +01:00
RealBadAngel
e9ccb7fe8e Camera: remove auto tune FPS, single view range setting 2016-02-21 18:18:13 +01:00
RealBadAngel
226be7bc32 Remove preload_item_visuals code
Closes #3748
2016-02-21 17:46:50 +01:00
RealBadAngel
332caea9ee Dont make fastface if tile is not seamless
Fixes #3378
Closes #3751
2016-02-21 17:30:16 +01:00
BlockMen
5e0a7cd4eb Restore simple settings tab and add advanced settings as dialog 2016-02-21 08:54:33 +00:00
Maksim Gamarnik
417bb21a57 v. 1.1.0 release | MinGW 2016-02-21 04:18:49 +02:00
Loic Blot
47207a8b9c Little collision.cpp cleanups 2016-02-20 09:44:22 +01:00
gregorycu
ac351b2cc4 Fix jumping at node edge 2016-02-19 20:05:58 -05:00
ShadowNinja
67dffbeb9b Don't print locale directory error message when GetText is disabled
Also, downgrade the error to a warning.
2016-02-19 19:56:34 -05:00
Jeija
194c9518ee Ignore spaces in secure.trusted_mods setting 2016-02-19 18:50:42 -05:00
Maksim Gamarnik
c39593de06 Doc fix 2016-02-20 01:36:36 +02:00
RealBadAngel
71693bd291 Minimap: show player markers 2016-02-19 21:31:22 +01:00
RealBadAngel
14bc09be93 Camera: Don't count camera offset twice for Nametagged CAOs 2016-02-19 14:52:19 +00:00
ShadowNinja
6cf6c8f25d Require request_insecure_environment to be called from the mod's main scope
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-19 14:52:10 +00:00
paramat
e2f3483b63 Clientmap: Define p_nodes_min/max as v3s32 instead of v3s16
'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-19 14:51:41 +00:00
Maksim Gamarnik
3efde6c9c3 Merge remote-tracking branch 'upstream/master' 2016-02-19 00:39:50 +02:00
Maksim Gamarnik
23e128c874 Update README.md 2016-02-19 00:32:48 +02:00
Maksim Gamarnik
096d10b876 ver. 1.1.2
Fix license, remove npc, fix creative inventory, mobs spawning fix, doc
improve
2016-02-19 00:31:22 +02:00
RealBadAngel
5db94b19db HOTFIX: fix too agressive block culling 2016-02-18 18:07:28 +01:00
RealBadAngel
e0f29ab7d3 Move object nametags to camera 2016-02-18 16:43:29 +01:00
Maksim Gamarnik
54195a9c9a Fix 2016-02-17 20:34:20 +02:00
Maksim Gamarnik
a6268d597d Android: final optimization! 2016-02-17 10:16:41 +02:00
Maksim Gamarnik
1aa03f9875 Android: SPEEEEED! 2016-02-17 07:13:12 +02:00
Maksim Gamarnik
c059612923 Release | ver. 1.1.1 2016-02-17 01:48:31 +02:00
est31
7c6d8d825b Clientiface: remove "value is dummy" from docs
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-16 23:58:30 +01:00
Maksim Gamarnik
dc1e041b26 Merge 2016-02-16 16:38:32 +02:00
Maksim Gamarnik
f411a48aac Optimization, scaling and game control improve 2016-02-16 16:31:14 +02:00
RealBadAngel
e5b8705729 Mapblock mesh: Eliminate meshgen lags 2016-02-16 08:23:32 +00:00
RealBadAngel
26e91b396d Use vertices with tangents only when its needed. 2016-02-15 06:05:39 +00:00
Maksim Gamarnik
babc9be7bd Merge remote-tracking branch 'upstream/master' 2016-02-15 05:10:11 +02:00
Loic Blot
5ea636d82b Player::accelerateHorizontal/Vertical should be member of LocalPlayer 2016-02-14 17:52:10 +01:00
RealBadAngel
91987ad890 Use proper variable types for uniform sampler layers 2016-02-14 10:01:30 +01:00
RealBadAngel
c2cb6bc900 Formspec: fix broken irrlicht 1.7 build
Fixes #3701.
2016-02-13 22:19:01 +01:00
RealBadAngel
7ffa4bfd79 Formspec: recreate item_image_button pressed state for its image and label 2016-02-13 02:35:52 +01:00
est31
f14e1dc952 Remove unused 'm_selection_active' field
Thanks @ExcaliburZero for noticing. Fixes #3698.
2016-02-13 01:46:12 +01:00
Maksim Gamarnik
7cae27819c TouchScreenGui improvent.
Stable
2016-02-13 01:13:21 +02:00