Commit Graph

9836 Commits

Author SHA1 Message Date
urho3d-travis-ci
78643541e4 Travis CI: API documentation update at 2017-07-20 22:28:36 UTC.
[ci package]

Commit: 1c992b2611

Message: Merge pull request #2033 from eugeneko/master

Add DebugRenderer::AddSphereSector. Expose Sphere helper funcions.
2017-07-20 22:28:36 +00:00
Eugene Kozlov
1c992b2611 Merge pull request #2033 from eugeneko/master
Add DebugRenderer::AddSphereSector. Expose Sphere helper funcions.
2017-07-20 23:40:34 +03:00
Lasse Öörni
95062fcb63 Always have SaveWEBP in public API of Image; add script binding. Will be a no-op if not supported. 2017-07-20 22:35:13 +03:00
Lasse Öörni
51e49e6f7d Default WebP on. 2017-07-20 22:26:14 +03:00
Lasse Öörni
157130c612 Add WebP license and mention to library list. 2017-07-20 22:13:49 +03:00
Lasse Öörni
da996ddae9 Merge remote-tracking branch 'carnalis/webp' 2017-07-20 22:06:08 +03:00
Eugene Kozlov
cf0d6b6f78 Fix DebugRenderer::AddSphereSector AS binding. Use AddSphereSector for rendering SoundSource3D. 2017-07-20 20:55:40 +03:00
Lasse Öörni
4739de573d Improved convex hull debug draw from Lumak. Works only when called individually for CollisionShape; whole physics world debug draw still uses Bullet's internal rendering. Closes #2031. 2017-07-20 13:52:54 +03:00
urho3d-travis-ci
2d435b3d57 Travis CI: API documentation update at 2017-07-20 10:03:25 UTC.
[ci package]

Commit: f916c02a4e

Message: Fixed HeightMapToWorld contributed by Lumak. Closes #2030.
2017-07-20 10:03:25 +00:00
Lasse Öörni
f916c02a4e Fixed HeightMapToWorld contributed by Lumak. Closes #2030. 2017-07-20 12:40:56 +03:00
Guschin Konstantin
0f2480847a Several tilemap improvements 2017-07-20 16:34:36 +07:00
Eugene Kozlov
f266475994 Add Sphere::GetPoint and Sphere::GetLocalPoint functions. Add DebugRenderer::AddSphereSector function. 2017-07-20 09:25:10 +03:00
carnalis
3339e5012b Initial commit of WebP image support 2017-07-20 00:43:15 -04:00
Yao Wei Tjong 姚伟忠
a3a0465c8d For CI - take advantage of Travis CI's build stages.
Perform housekeeping at the last stage when all the build jobs in the build stage have completed.
Add a placeholder for new lint stage in primary CI.
Use alternate mirror branch to prevent technical error due to multiple commits being pushed to HEAD on slow moving build queues.
Close #1942.
2017-07-19 21:55:18 +08:00
Yao Wei Tjong 姚伟忠
ec84cfdfd1 Remove the usage of add_compiler_export_flags() deprecated function.
Fix #1945.
2017-07-13 23:17:09 +08:00
Lasse Öörni
c8ecd9f55c Typo fix in AssetImporter. 2017-07-13 14:03:43 +03:00
Yao Wei Tjong 姚伟忠
ea783ae69f For CI - upgrade CMake version to 3.8.2 for builds that uses Linux VM. 2017-07-11 22:22:10 +08:00
Lasse Öörni
60c478212c Fix wrong AngelScript binding in ResourceCache::GetExistingResource(). Closes #2016. 2017-07-11 14:10:35 +03:00
urho3d-travis-ci
d03134682a Travis CI: API documentation update at 2017-07-10 07:05:23 UTC.
[ci package]

Commit: dfe94e36ca

Message: Merge pull request #2014 from eugeneko/master

Prevent sending events for subscribers added during event handling.
2017-07-10 07:05:23 +00:00
Eugene Kozlov
dfe94e36ca Merge pull request #2014 from eugeneko/master
Prevent sending events for subscribers added during event handling.
2017-07-10 09:56:18 +03:00
Eugene Kozlov
550f44c56a Prevent sending events for subscribers added during event handling. Fixes #2013. 2017-07-09 17:28:21 +03:00
Eugene Kozlov
a5ee22ce9e Expose Context::CreateObject to AngelScript API. 2017-07-09 17:28:21 +03:00
Yao Wei Tjong 姚伟忠
7fc9aa816a Make clean for MinGW/Android/Web platforms.
The rest of the platforms are already taken care of by this commit, however, only tested explicitly on Linux native, RPI, and ARM.
2017-07-09 21:58:33 +08:00
Lasse Öörni
7655048160 Add contributor. 2017-07-08 13:54:28 +03:00
Lasse Öörni
a725b608ec Merge remote-tracking branch 'Mezozoysky/bgload' 2017-07-08 13:38:28 +03:00
Stanislav Demyanovich
9bb48ed015 Background loading: add resource into cache before sending E_RESOURCEBACKGROUNDLOADED. 2017-07-08 15:29:56 +07:00
Yao Wei Tjong 姚伟忠
ace4a00fea Reinstate source group for VS and Xcode IDE.
The "resources being added into multiple groups" issue is not reproducible in Xcode IDE anymore, probably the more recent define_resources_dirs() macro has "properly" fixed it.
2017-07-07 23:31:42 +08:00
Lasse Öörni
18df5b8525 Also send highdpi parameter in window resize event on D3D9/D3D11 to match OpenGL behavior. 2017-07-06 20:04:10 +03:00
Lasse Öörni
28e1f20487 Merge remote-tracking branch 'iainmerrick/highdpi_fix' 2017-07-06 19:06:13 +03:00
Lasse Öörni
83c17c7dc6 Robustness improvements for terrain editor brush loading. Closes #2011. 2017-07-06 18:13:13 +03:00
Iain Merrick
237b2b0fe6 Fix Graphics::GetHighDPI() on OS X (closes #2009) 2017-07-06 09:44:50 -05:00
Lasse Öörni
5a3f1049c3 Merge pull request #2008 from iainmerrick/master
Scale kerning values correctly (closes #2007)
2017-07-06 16:06:30 +03:00
Iain Merrick
7ced601b6c Scale kerning values correctly (closes #2007) 2017-07-05 11:47:39 -05:00
Yao Wei Tjong 姚伟忠
20ec572c9d Switch to use "urho3d" own account in AppVeyor.
Close #1959.
2017-07-05 22:57:50 +08:00
Lasse Öörni
650f380623 Add base64 license, apply Urho code convention to base64 code since it's inside StringUtils.cpp. 2017-07-05 13:55:22 +03:00
Konstantin Guschin
dddbdcc595 Add csv and base64 encodings for tmxfile 2017-07-05 13:55:22 +03:00
urho3d-travis-ci
6c5f0f4815 Travis CI: API documentation update at 2017-07-05 08:42:09 UTC.
[ci package]

Commit: cd38109ddf

Message: Minor doc edit & header comment fix.
2017-07-05 08:42:09 +00:00
Lasse Öörni
cd38109ddf Minor doc edit & header comment fix. 2017-07-05 11:31:04 +03:00
Iain Merrick
68b43b19f4 Add docs for subpixel font rendering options (#1953) 2017-07-03 12:25:02 -05:00
Iain Merrick
0450bcd11e Add configurable oversampling to improve subpixel font rendering (#1953)
Subpixel-positioned text looks blurry, due to bilinear filtering of the
underlying texture. The basic idea here is to stretch the font glyphs
horizontally to increase the sharpness at subpixel positions. The
stretched images need to be smoothed to avoid aliasing artifacts; this
is done in FontFaceFreeType::BoxFilter().

Glyphs are always pixel-aligned vertically, so no vertical oversampling
is needed.

To make this feature comprehensible (I hope!) I've removed the
'subpixelGlyphPositions' flag and replaced it with a couple of values:
'fontSubpixelThreshold' sets the point at which subpixel positioning
kicks on, and 'fontOversampling' controls the amount of stretching.

The default values are 12pt text and 2x oversampling. These are fairly
conservative settings, which should improve small text without wasting
a lot of memory.

Note that when the font hint level is NORMAL (the default), subpixel
positioning and oversampling are both disabled. So, this feature doesn't
change any default behavior, and applies some hopefully sensible values
if the hint level is set to LIGHT or NONE.
2017-07-03 11:21:47 -05:00
Lasse Öörni
5475c48298 Merge pull request #2004 from iainmerrick/kerning_fix
Fix kerning pairs (#2003)
2017-07-03 12:24:44 +03:00
Iain Merrick
2ab978e968 Fix kerning pairs (#2003)
Kerning values were being associated with the wrong char codes.
This was broken in commit 39930c9a, which moved some code around
to ensure that the space character is always the first one loaded.
2017-07-02 21:42:03 -05:00
Lasse Öörni
3c9881faca Further consistency edit to return (?) on failure path in all ProcessUtils detection functions. Improve function comments in header. 2017-07-01 21:12:56 +03:00
Florastamine
e602496be7 Minor incoherent fix. 2017-07-01 19:37:47 +07:00
Yao Wei Tjong 姚伟忠
752609701b Indirectly detect the availability of the "RtlGetVersion" function.
Fix #1998.
2017-07-01 17:49:17 +08:00
SuperWangKai
bd222aa2d2 Merge pull request #5 from urho3d/master
Sync
2017-06-30 12:26:55 +08:00
Lasse Öörni
0bdb20fd8e Add MINI_URHO check to disable Windows OS version detection, to help with issue #1998. 2017-06-27 20:18:32 +03:00
Lasse Öörni
ce98afc76e Add contributor credits. Re-add old behavior of also acquiring properties directly from tileElem in TmxFile2D, if defined. 2017-06-26 18:37:01 +03:00
Georgii Pelageikin
3981a92a05 Added b2ChainShape::Clear() call into CollisionChain2D::RecreateFixture() (fixes #1995) 2017-06-26 18:36:59 +03:00
Thomas Böhm
ef63c079cb fixed loading user defined tile properties from tileset-file. 2017-06-26 18:36:57 +03:00