Commit Graph

9886 Commits

Author SHA1 Message Date
urho3d-travis-ci
10bcc81234 Travis CI: API documentation update at 2014-05-12 11:28:45 UTC.
[ci package]
2014-05-12 11:28:45 +00:00
Lasse Öörni
76a7a60918 Expose touchedElement of TouchState to Lua, and to AngelScript as an ordinary handle to simplify code. Closes #342. 2014-05-12 14:09:06 +03:00
Yao Wei Tjong 姚伟忠
3ea3f8102b Minor refactor to a cleaner fix for #341. Also fix DebugHud now.
Revert back changes to UI class as it should not need to know Console's innards.
2014-05-12 12:44:54 +08:00
Yao Wei Tjong 姚伟忠
56d5cf06b6 Fix UI::Clear() erroneously also removed Console's UI elements.
Closes #341.
2014-05-11 22:02:00 +08:00
Yao Wei Tjong 姚伟忠
df936563f2 Fix invisible console still gaining the input focus bug. 2014-05-11 21:42:11 +08:00
Lasse Öörni
59ef9323ae Calculate terrain detail texture coordinate in vertex shader so that it works better on mobile devices. 2014-05-08 11:46:23 +03:00
urho3d-travis-ci
bfb61af81a Travis CI: API documentation update at 2014-05-07 11:59:39 UTC.
[ci package]
2014-05-07 11:59:39 +00:00
Aster@中国上海
49a507dbd6 Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-05-07 19:41:32 +08:00
Aster@中国上海
29095ad804 Add GetSubimage in Image class. 2014-05-07 16:56:38 +08:00
urho3d-travis-ci
f16046cd5b Travis CI: API documentation update at 2014-05-05 19:14:47 UTC.
[ci package]
2014-05-05 19:14:47 +00:00
Lasse Öörni
c836250f3e Safety check in case eg. a script object instantiation would fail and the cloned component would have less attributes. 2014-05-05 20:24:30 +03:00
Lasse Öörni
5a0a64aed8 Query the clone component's attribute vector just once. 2014-05-05 20:22:27 +03:00
Lasse Öörni
bccc6d0c55 For consistency with the Node class, refer to the ScriptInstance's contained object with "scriptObject" property instead of "object" in AngelScript scripting. 2014-05-05 20:15:38 +03:00
Lasse Öörni
3be53d8047 Fix a script object's unique attributes not being correctly set when CloneComponent() is called. 2014-05-05 20:11:26 +03:00
Lasse Öörni
1689d9223b Call ApplyAttributes() on the cloned component to make sure attribute side-effects happen. 2014-05-05 13:55:12 +03:00
Yao Wei Tjong 姚伟忠
98fe91f8c3 For Travis CI - revert the changes as the fix does not work.
See https://github.com/travis-ci/travis-ci/issues/2031#issuecomment-42103579.
2014-05-05 12:07:15 +08:00
Yao Wei Tjong 姚伟忠
852a5b6020 For Travis CI - Use travis_wait function to wrap around rake call.
See https://github.com/travis-ci/travis-ci/issues/2031.
2014-05-05 08:04:26 +08:00
Yao Wei Tjong 姚伟忠
1b49f15ca5 Remove code duplication and avoid unnecessary AttributeInfo search. 2014-05-05 07:53:34 +08:00
urho3d-travis-ci
a759018514 Travis CI: API documentation update at 2014-05-04 23:17:49 UTC.
[ci package]
2014-05-04 23:17:49 +00:00
Lasse Öörni
5076f966e1 Expose CloneComponent() function to AngelScript & Lua and make it return the created component. 2014-05-05 01:53:11 +03:00
thebluefish
0d717bae26 Added ability to clone components
- Added Node::CloneComponent to clone components existing in other
nodes.
- Added log warning to Node::AddComponent if the component already has a
parent node.
2014-05-05 01:52:53 +03:00
Lasse Öörni
e7a599100e Fixed Android being unable to calculate file checksum. 2014-05-04 17:35:19 +03:00
Lasse Öörni
affc8df912 Fix duplicate page/section name causing Physics page link to lead to Urho2D page. Closes #338. 2014-05-04 17:06:17 +03:00
Aster@中国上海
ebd705d674 For Component, Resource and UIElement always return concrete object type to Lua. 2014-05-04 15:37:08 +08:00
Lasse Öörni
dbf9bca51a Object spawning & camera ray related code cleanup in the editor. Added toggle in spawn editor to choose whether to align objects by their AABB bottom center. Default on. Also raycast against the scene (similar as spawn mode) when using the file menu to instantiate a node. Closes #275. 2014-05-03 21:28:28 +03:00
aster2013
63af574730 Fix bug in CollisionPolygon2D and ToluaToPODVector<Vector2>. 2014-05-03 20:29:36 +08:00
aster2013
ab15bf2528 Update Urho2D documentation, it is written by Mike3D, Thanks. [ci skip] 2014-05-03 20:07:18 +08:00
Yao Wei Tjong 姚伟忠
7af594fd7c Minor update to remove out dated comment.
[ci skip]
2014-05-03 09:04:56 +08:00
urho3d-travis-ci
390f3b62ef Travis CI: API documentation update at 2014-05-02 22:22:15 UTC.
[ci package]
2014-05-02 22:22:15 +00:00
Lasse Öörni
0c1e99161a Warn if rtsizedivisor mode, that doesn't exist anymore, is used in renderpath definition. Fix sizemultiplier mode getting the correct XML attribute. 2014-05-03 00:29:52 +03:00
Lasse Öörni
c0aa80ea3b Check also for MRT rendering without deferred rendering for whether needs a substitute rendertarget with a viewport smaller than the screen. 2014-05-03 00:05:41 +03:00
Lasse Öörni
cc25bf2089 Fix Unlit HLSL shader in deferred modes. 2014-05-02 22:47:13 +03:00
Lasse Öörni
981b5bcac4 Use viewport sized intermediate rendertargets so that pixels outside the viewport never leak into post-processing. Added viewport multiplier mode to renderpath definition. Closes #265. 2014-05-02 22:47:13 +03:00
urho3d-travis-ci
2a30d7a458 Travis CI: API documentation update at 2014-05-02 12:26:56 UTC.
[ci package]
2014-05-02 12:26:57 +00:00
aster2013
95651d1612 Bind more functions in XMLElement to Lua. 2014-05-02 20:07:10 +08:00
Yao Wei Tjong 姚伟忠
95d344522e For Travis CI - fix broken dependencies for non 64-bit builds.
Closes #337.
2014-05-01 11:43:34 +08:00
Yao Wei Tjong 姚伟忠
24e6b0d3cf Clean up CharacterDemo sample to use the same TOUCH_SENSITIVITY value. 2014-05-01 11:39:17 +08:00
urho3d-travis-ci
719c126695 Travis CI: API documentation update at 2014-04-30 15:25:24 UTC.
[ci package]
2014-04-30 15:25:25 +00:00
aster2013
293cd434fb Remove Node's Lua scalar transform functions, like SetPositionXYZ. 2014-04-30 22:52:11 +08:00
Lasse Öörni
4ac7b60758 Restructure the D3D9 GPU flush: after presenting, first wait for previous frame's query, then issue new query. To prevent a loop of device loss and window flicker, do not attempt to render on D3D9 when the window is minimized in fullscreen mode. 2014-04-30 17:25:06 +03:00
aster2013
49d9856dd5 Add transform functions for Urho2D. 2014-04-30 22:17:48 +08:00
Lasse Öörni
5442bb22c8 Comment out Cursor::ApplyOSCursorShape() on mobile platforms to avoid error log print. 2014-04-30 00:09:47 +03:00
Lasse Öörni
40028ccc71 Touch scroll in ScrollView / ListView. Deceleration is instant for now. Closes #332. 2014-04-29 23:39:38 +03:00
urho3d-travis-ci
d980480cc6 Travis CI: API documentation update at 2014-04-29 18:18:41 UTC.
[ci package]
2014-04-29 18:18:41 +00:00
Lasse Öörni
9c92bae70b Expose int math functions with different names in Lua to avoid overload resolution bugs. Closes #335. 2014-04-29 21:00:14 +03:00
Yao Wei Tjong 姚伟忠
de7d900be4 Parameterized project and target name for rake scaffolding task.
[ci skip]
2014-04-29 23:53:47 +08:00
Lasse Öörni
8d050480bc Specify the customizable project & executable names on the "Using Urho3D as external library" documentation page. Closes #334. 2014-04-29 16:44:15 +03:00
Yao Wei Tjong 姚伟忠
6ad8c14346 Add engine param for enabling touch emulation during initialization.
Adjust sample base class to add screen joystick on desktop platform when touch emulation is enabled.
2014-04-29 10:36:43 +08:00
Yao Wei Tjong 姚伟忠
b86b325864 Remove extra semi colon. [ci skip] 2014-04-29 09:49:47 +08:00
szamq
5559c4fada Added Catmull-Rom spline type which interpolates through the control nodes 2014-04-28 22:03:04 +02:00