Commit Graph

9869 Commits

Author SHA1 Message Date
Mike3D
066448b26d Fixed return value of Viewport::WorldToScreenPoint() for AS [ci skip] 2016-10-22 22:01:18 +02:00
Enhex
1736c67487 Don't save line repetitions in the console's history 2016-10-22 01:45:46 +03:00
Lasse Öörni
d01facfb56 Word wrap char positions fix contributed by Fastran. Closes #1659. 2016-10-20 01:05:51 +03:00
Lasse Öörni
a8f1fbc7ed Ensure work item gets inserted last into the queue if no other option. Closes #1656. 2016-10-19 17:53:39 +03:00
Lasse Öörni
3bf13318fc Sync Urho3DPlayer command line help from the documentation. 2016-10-18 22:49:13 +03:00
urho3d-travis-ci
e035fa0b8d Travis CI: API documentation update at 2016-10-16 17:40:18 UTC.
[ci package]

Commit: b09fd98bef

Message: Tab to spaces. Cast to float in IntVector2::Length() to avoid warning spam.
2016-10-16 17:40:18 +00:00
Lasse Öörni
b09fd98bef Tab to spaces. Cast to float in IntVector2::Length() to avoid warning spam. 2016-10-16 20:26:38 +03:00
Lasse Öörni
7af7cf202a Merge remote-tracking branch 'rokups/utility-functions' 2016-10-16 19:54:40 +03:00
Eugene Kozlov
89ce82e0ed Fix copy-paste error in math AS bindings. 2016-10-16 19:36:03 +03:00
Lasse Öörni
17e2122a6e Allow to set desired mouse mode or mouse visibility before Input initialization. 2016-10-16 17:49:43 +03:00
Rokas Kupstys
964351a03a Node::GetChildren* that return a collection of children (for use in ranged for loops) 2016-10-16 17:35:14 +03:00
Rokas Kupstys
e71fa46e89 Node::SetTransform(const Matrix3x4& matrix) 2016-10-16 17:35:14 +03:00
Rokas Kupstys
f9aa090c92 IntVector2::Length() 2016-10-16 17:35:14 +03:00
Rokas Kupstys
5d1ef7fdbb UIElement::GetChildrenWithTag() that returns PODVector. 2016-10-16 17:35:14 +03:00
urho3d-travis-ci
9b88d79945 Travis CI: API documentation update at 2016-10-16 13:39:24 UTC.
[ci package]

Commit: b23a1bd856

Message: Merge branch 'update-api'
2016-10-16 13:39:24 +00:00
Eugene Kozlov
b23a1bd856 Merge branch 'update-api' 2016-10-16 16:00:24 +03:00
Yao Wei Tjong 姚伟忠
123d06471a Remove mouse centering logic from screen mode change event handler.
Remove Linux-specific workaround for fixing the initial input focus lose problem.
Close #1652.
2016-10-16 20:30:31 +08:00
Lasse Öörni
fff10e15cf Eliminate a few uses of NULL, and mention preference to not use it in the code convention. Ensure UIElementLoadChildXML returns a value. 2016-10-16 14:03:01 +03:00
Eugene Kozlov
14bc9b0085 Make UniquePtr non-copyable. 2016-10-16 13:41:56 +03:00
Eugene Kozlov
eac08de5cb Add extra check to prevent deletion of incomplete type in UniquePtr. 2016-10-16 11:40:29 +03:00
Eugene Kozlov
b85efd2462 Fix Image::SaveDDS implementation. 2016-10-16 00:51:41 +03:00
Eugene Kozlov
a69df6344a Replace new/delete with UniquePtr in simplest cases. 2016-10-16 00:51:27 +03:00
urho3d-travis-ci
e60bc58099 Travis CI: API documentation update at 2016-10-15 18:58:36 UTC.
[ci package]

Commit: d81b2b414c

Message: More rendertarget formats. Add porting note.
2016-10-15 18:58:36 +00:00
Lasse Öörni
d81b2b414c More rendertarget formats. Add porting note. 2016-10-15 21:47:20 +03:00
Lasse Öörni
cd325e8c18 Add d24s8 in rendertarget formats. Closes #1651. 2016-10-15 21:47:19 +03:00
Lasse Öörni
fd4a9bdb9b Load & store a different set of shader variations into Pass if necessary, when a renderpath scenepass command defines additional shader compile defines. 2016-10-15 21:47:18 +03:00
Lasse Öörni
05c0e7741b Allow also scenepass & forwardlights commands to define shader parameters. 2016-10-15 21:47:17 +03:00
TheComet
82e09e8632 UIElement::CreateChildXML() returns child instead of bool. If loading fails, child is destroyed instead of keeping an empty child around 2016-10-15 21:47:16 +03:00
Eugene Kozlov
89fb47f550 Add stable random generator. 2016-10-15 21:43:24 +03:00
Eugene Kozlov
e150bb29ec Fix include in Ptr.h 2016-10-15 21:43:23 +03:00
Eugene Kozlov
8acd69046a Add Image::SaveDDS function. Add Resource::Save|Load(fileName) functions. 2016-10-15 21:43:23 +03:00
Eugene Kozlov
f437d858a7 Fix AS bindings. 2016-10-15 18:50:08 +03:00
Eugene Kozlov
3087632f84 Add Math API functions: InverseLerp, Vector2|3|4::ProjectOntoAxis 2016-10-15 16:56:57 +03:00
Eugene Kozlov
a49dab7456 Add math API functions: vector Lerp, Min, Max, Floor, Round and Ceil. 2016-10-15 16:32:08 +03:00
Eugene Kozlov
0c144b542d Add math API functions: Sqrt, Pow, Mod, Fract, Floor, Round, Ceil and their integer counterparts. 2016-10-15 15:04:27 +03:00
Eugene Kozlov
583c851b03 Add LowerBound and UpperBound functions. 2016-10-15 15:04:26 +03:00
Eugene Kozlov
92b151d4aa Add template FromString. Add begin() and end() for Pair<T, T>. 2016-10-15 15:04:26 +03:00
Eugene Kozlov
49a4c46c97 Add UniquePtr template. Add MakeUnique and MakeShared helpers. 2016-10-15 11:58:35 +03:00
Yao Wei Tjong 姚伟忠
3b81e6f2b7 For CI - move OSX-CI to the last and temporarily comment off some.
This is a temporary measure until Travis has got their act together to fix their OSX VM performance and stability issues.
2016-10-15 11:25:07 +08:00
Yao Wei Tjong 姚伟忠
8d76730f5c Declare the template specialization in the header to keep MSVC happy. 2016-10-14 07:42:42 +08:00
Lasse Öörni
31744b797c Fix potential use of dangling EventReceiverGroup (leading to assert) by making it refcounted and holding onto it until event sending is complete. 2016-10-13 21:40:21 +03:00
urho3d-travis-ci
fdfbb742f5 Travis CI: API documentation update at 2016-10-13 17:25:15 UTC.
[ci package]

Commit: c13084b962

Message: Add Lua binding for Model's SetVertexBuffer() and SetIndexBuffer().
Related to #1638.
2016-10-13 17:25:15 +00:00
Yao Wei Tjong 姚伟忠
c13084b962 Add Lua binding for Model's SetVertexBuffer() and SetIndexBuffer().
Related to #1638.
2016-10-14 00:59:15 +08:00
Lasse Öörni
3143336a76 Rewrite event receiver tracking to allow safe receiver removal during event send, even when same number of receivers is added and removed. Closes #1642. 2016-10-12 01:04:29 +03:00
urho3d-travis-ci
dbb589855e Travis CI: API documentation update at 2016-10-11 19:34:59 UTC.
[ci package]

Commit: 9aca15f4d6

Message: Add contributor credit. Code style edits to ProgressBar. Fix ProgressBar resize. Calculate percent as value / range and convert to integer to prevent showing too many decimals.
2016-10-11 19:34:59 +00:00
Lasse Öörni
9aca15f4d6 Add contributor credit. Code style edits to ProgressBar. Fix ProgressBar resize. Calculate percent as value / range and convert to integer to prevent showing too many decimals. 2016-10-11 22:24:30 +03:00
Lasse Öörni
0e0066ad21 Merge remote-tracking branch 'victorholt/master' 2016-10-11 19:30:55 +03:00
Yao Wei Tjong 姚伟忠
82f7fd56d0 Remove CMake workaround for Bullet library building.
The workaround is not needed anymore as the offending code has been patched.
[ci only: master] [skip appveyor]
2016-10-11 22:33:25 +08:00
Lasse Öörni
00f414416e Explicitly cast infinity to float in btVector3 code to prevent narrowing errors on TDM-GCC. Closes #1637. 2016-10-11 10:16:15 +03:00
Victor Holt
a2261f5a56 Updated the ProgressBar PR to include Lua and AngelScript bindings
Added the ability to show or hide the percent text
2016-10-10 23:38:48 -05:00