Commit Graph

9836 Commits

Author SHA1 Message Date
Artur K.
b7f38d80d6 Fix valgrind warning about mismatched new/delete
Mostly a hygienic fix.
2014-11-13 17:30:40 +01:00
Lasse Öörni
e55f92d5e2 Allow to set Skeleton's root bone index programmatically. 2014-11-13 17:48:46 +02:00
urho3d-travis-ci
153a818e7d Travis CI: API documentation update at 2014-11-12 17:07:51 UTC.
[ci package]
2014-11-12 17:07:51 +00:00
Lasse Öörni
b9c340ed12 Allow to not serialize ParticleEmitter particles to reduce scene file size. Closes #522. 2014-11-12 18:43:51 +02:00
Lasse Öörni
81ddbd0b2e Update Android toolchain from https://github.com/taka-no-me/android-cmake to support NDK r10c. 2014-11-10 22:12:30 +02:00
Yao Wei Tjong 姚伟忠
125adf1228 Enhance Urho3D.pc file generation to support MSVC and MinGW better.
Simplify the pkg-config invocation example for MinGW cross-compiler since the Urho3D library name is already corrected. No need to sed anymore.
2014-11-09 18:08:58 +08:00
hdunderscore
c293f170ed Initial implementation of two extra mouse modes:
- MM_RELATIVE: sets mouse invisible, continues to work with UI if ui cursor is invisible to allow for continuous motion.
- MM_WRAP: wraps OS cursor around the window to allow for continuous motion.
2014-11-09 21:04:58 +11:00
hdunderscore
3d58fc94c9 Updated the UI Drag sample descriptions. 2014-11-09 18:55:37 +11:00
Yao Wei Tjong 姚伟忠
6b35f89a07 Avoid hardcoding the D3D9 library dependencies.
This change should actually be part of this commit 971fa90c10.
2014-11-09 12:14:11 +08:00
hdunderscore
b523a14886 Adds consistent mapping between event received touch id and UI internal touch id, to ensure that first touch id always acts as mouse left. 2014-11-09 11:37:54 +11:00
Yao Wei Tjong 姚伟忠
1f6215cf58 Initial support of rake scaffolding task on Windows platform.
The task requires privilege to create symlink via mklink command.
2014-11-09 00:38:35 +08:00
Lasse Öörni
b6e854eb27 On OpenGL ES offset the skybox slightly in front of the far plane to avoid clipping artifacts from inaccuracy. Closes #517. 2014-11-08 13:14:44 +02:00
Yao Wei Tjong 姚伟忠
1edc6bfe64 Append '_d' to the output executable file name in the example.
Related to commit 78436eecd4.
2014-11-08 15:01:54 +08:00
Yao Wei Tjong 姚伟忠
78436eecd4 Add another pkg-config usage example for MinGW cross compiling. 2014-11-08 14:59:02 +08:00
urho3d-travis-ci
a9e4e31ca3 Travis CI: API documentation update at 2014-11-07 18:14:07 UTC.
[ci package]
2014-11-07 18:14:07 +00:00
Lasse Öörni
108e9ad252 Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-11-07 18:25:20 +02:00
Lasse Öörni
aa8faf79ec Normalize touch ID's to touch indices to ensure the first touch always works as the "left mousebutton" in the UI. 2014-11-07 18:20:45 +02:00
urho3d-travis-ci
e3d1f3e14f Travis CI: API documentation update at 2014-11-07 16:04:02 UTC.
[ci package]
2014-11-07 16:04:02 +00:00
Lasse Öörni
7f6962e47c Merge remote-tracking branch 'remotes/hdunderscore/UI_Drag_Update' 2014-11-07 17:43:44 +02:00
Lasse Öörni
943a2c348b Added mechanism to limit material techniques on desktop hardware. Closes #516. 2014-11-07 17:33:22 +02:00
Lasse Öörni
833f84b346 Allocate the View object permanently for each viewport, so that rendering stats and visible geometries etc. can be reliably accessed from a particular viewport's View after rendering each frame. 2014-11-07 16:38:27 +02:00
Lasse Öörni
6d3d336057 If AnimatedModel has no bones (has intentionally loaded a non-skinned model), use StaticModel raycast for more accuracy. 2014-11-07 14:40:30 +02:00
Yao Wei Tjong 姚伟忠
2de5ee90e8 Fix cmake_gcc.sh shell script.
It should work now when TOOLCHAINS environment variable is not defined as before.
2014-11-07 18:15:00 +08:00
Yao Wei Tjong 姚伟忠
0652ccf394 Fix FindUrho3D CMake module to perform rooted search on MinGW CC build. 2014-11-07 17:01:07 +08:00
Yao Wei Tjong 姚伟忠
407374698c Fix MinGW installation directory when cross-compiling on Linux host. 2014-11-07 09:58:01 +08:00
hdunderscore
9fabafec87 Clean up + included a by-pass in UI.cpp to allow for drag move and drag end to occur when Input::IsMouseGrabbed() is true (allowing existing events to continue, preventing new events from triggering). 2014-11-06 16:03:22 +11:00
Alex Parlett
017591d4e6 Fix for ValueAnimation EventFrame never being called if it shares the same time as the last KeyFrame.
Closes #512
2014-11-05 18:02:28 +00:00
Lasse Öörni
7f3ff1a561 Fix Texture3D load failing always without an error message. Closes #513. 2014-11-05 16:39:07 +02:00
Lasse Öörni
46cea7b47b Use correct case of CopyFramebuffer shader name in postprocesses. 2014-11-05 16:25:08 +02:00
urho3d-travis-ci
42226761de Travis CI: API documentation update at 2014-11-05 09:55:42 UTC.
[ci package]
2014-11-05 09:55:42 +00:00
Lasse Öörni
367f6a345f Fixed skeletal animation trigger event not triggering for a looped animation, if the trigger point is defined at the animation's end. Fixed erroneous AngelScript binding for ValueAnimation::SetEventFrame(). 2014-11-05 11:42:07 +02:00
hdunderscore
ad6081192b Added Lua and AngelScript versions of Sample.
Added UIElement::GetDragButtonCount / UIElement::GetDragButtonCombo bindings to AngelScript.
2014-11-04 16:56:01 +11:00
urho3d-travis-ci
01850d3b93 Travis CI: API documentation update at 2014-11-03 19:48:23 UTC.
[ci package]
2014-11-03 19:48:23 +00:00
Lasse Öörni
f40f425ab8 Merge pull request #510 from hdunderscore/ScrollView_AutoDisableChildren_clean
ScrollView:: Auto disabling children when touch scrolling
2014-11-03 20:44:35 +02:00
urho3d-travis-ci
aa0499e214 Travis CI: API documentation update at 2014-11-03 16:53:48 UTC.
[ci package]
2014-11-03 16:53:48 +00:00
Lasse Öörni
b1dcfe39a9 Added missing contributor credit. 2014-11-03 18:30:41 +02:00
Lasse Öörni
b65bb59092 Configurable maximum substeps per frame in PhysicsWorld. Zero (default) = unlimited, positive = limited, negative = adaptive timestep, always 1 per rendering frame. Adaptive step is not recommended when consistent physics behavior is desired. 2014-11-03 18:30:05 +02:00
Lasse Öörni
02c595c8b7 Disable Bullet's built-in profiler, as the results are not being used. 2014-11-03 14:06:26 +02:00
hdunderscore
17e48a27f5 Child elements of a scroll view can now be auto disabled when touch scrolling to prevent triggering of child element events. 2014-11-03 09:48:38 +11:00
hdunderscore
bb3475b797 Exposed UIElement::GetDragButtonCombo and UIElement::GetDragButtonCount to Lua script, and adjusted their signatures. 2014-11-03 07:43:36 +11:00
hdunderscore
00656c5d30 Added a range check on GetDragElement(unsigned). 2014-11-03 07:36:33 +11:00
Yao Wei Tjong 姚伟忠
e9decd10ba Fix global anisotropic filtering mode on OpenGL. Closes #509. 2014-11-03 01:00:45 +08:00
hdunderscore
13412bc68f A sample showing how to use UI drag features (drag begin/move/end/cancel and how to use most of the event data), and it can be used to demonstrate multi-touch drag support on touch-enabled devices. 2014-11-02 15:29:04 +11:00
hdunderscore
007d3acc1a Changes to UI drag behavior:
- Multi-touch drag support
- Combo touch support -- you get id mask of pressed buttons + number of buttons + the average of their positions
- OnDrag* signature updates, with more information available and improved OnDragCancel / E_DRAGCANCEL support.
2014-11-02 14:17:37 +11:00
Yao Wei Tjong 姚伟忠
ec43f4e815 Init Graphic subsystem to have the same tex filtering mode as engine.
The Engine parameter and Renderer has the default texture filtering mode set to trilinear. While the Graphic subsytem has it set to bilinear. This mismatch would cause unnecessary graphic API calls, especially on OpenGL, in the first frame.
2014-11-01 20:39:55 +08:00
Yao Wei Tjong 姚伟忠
e29efb21a3 For Travis CI - tweak the iOS universal binary build rule threshold.
Reduce the checkpoint from 20 minutes to 15 minutes. Also add logic to output the elasped time to aid future tweaking.
2014-10-31 12:26:48 +08:00
Yao Wei Tjong 姚伟忠
8ca1ee6096 Further clean up on URHO3D_OPENGL build option. 2014-10-31 12:26:18 +08:00
urho3d-travis-ci
18dbf70d0f Travis CI: API documentation update at 2014-10-30 13:24:38 UTC.
[ci package]
2014-10-30 13:24:38 +00:00
Lasse Öörni
3721ee0b10 Added Time::GetTimeSinceEpoch() and FileSystem::SetLastModifiedTime(). 2014-10-30 15:12:35 +02:00
Yao Wei Tjong 姚伟忠
f28d29cf2d For Travis CI - clean up Rakefile, only download for DirectX CI build. 2014-10-30 18:07:14 +08:00