Commit Graph

9612 Commits

Author SHA1 Message Date
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
Yao Wei Tjong 姚伟忠
cddef2ca52 For Travis CI - attempt to download missing D3D header from Launchpad. 2014-10-30 17:55:13 +08:00
Yao Wei Tjong 姚伟忠
c3646224fc For Travis CI - temporarily allowed the new CI builds to fail.
The MinGW packages from Ubuntu 12.04 LTS are too old to pull this off.
2014-10-30 13:37:39 +08:00
Yao Wei Tjong 姚伟忠
899f8334f3 For Travis CI - add CI builds for MinGW + URHO3D_OPENGL=0 combination.
These new CI builds will perform the build test on the DirectX code path which is currently not covered in any of our existing CI.
The CI builds should also improve the detection of any breakage caused by build script changes for MinGW compiler.
2014-10-30 12:33:11 +08:00
Yao Wei Tjong 姚伟忠
971fa90c10 Always use FindDirect3D.cmake module on WIN32 when DirectX is used.
The module is enhanced so it works with both MSVC and MinGW compilers. On MinGW compiler the module does not actually attempt to search for DirectX SDK, instead it simply assumes that the headers and libraries for Direct3D are made available by the MinGW distribution.
2014-10-30 11:33:42 +08:00
Yao Wei Tjong 姚伟忠
09dcc466f9 Use the same condition to exclude kNet when using SDK installation.
Related to commit 867160628c
2014-10-29 19:50:45 +08:00
Lasse Öörni
867160628c Do not include Urho's built-in kNet include dir if URHO3D_NETWORK is disabled. 2014-10-29 10:48:21 +02:00
urho3d-travis-ci
5456dcf406 Travis CI: API documentation update at 2014-10-28 10:29:07 UTC.
[ci package]
2014-10-28 10:29:07 +00:00
Lasse Öörni
ac9fe226da Added contributor credit. 2014-10-28 11:27:08 +02:00
Lasse Öörni
ff7cd0bb50 Use SDL_WINDOWPOS_UNDEFINED as the default window position to simplify code. 2014-10-28 11:17:35 +02:00
Jonne Nauha
2ae415939f E_WINDOWPOS and initial window position OGLGraphics implementation. 2014-10-27 17:15:44 -07:00
Jonne Nauha
7fee7f7cb5 Input: Notify Graphics subsystem about SDL window moved event. 2014-10-28 01:58:12 +02:00
Jonne Nauha
66913cf103 Engine: New WindowPositionX/Y init params. Sets initial window position prior to SetMode that creates the window. 2014-10-28 01:57:43 +02:00
Jonne Nauha
03d9532b4a New E_WINDOWPOS event when SDL notifies window movement. Support for setting initial window position beforecreation. 2014-10-28 01:55:49 +02:00
Lasse Öörni
c15411085a If DirectX SDK is not searched for or not found, DIRECT3D_LIBRARIES is not defined. Use hardcoded library names in that case. Closes #504. 2014-10-27 14:01:35 +02:00
Lasse Öörni
8b1f56f9cf Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-10-27 13:46:44 +02:00
Lasse Öörni
b923118fee Renamed parameter & clarified comment. 2014-10-26 13:50:54 +02:00
Alex Parlett
1aee7eb04e [Added] Ability to create script object by specifying an interface it implements instead. This interface has to be registered with the engine via engine->RegisterInterface...
[Changed] Made use of built in angelscript internals to find whether the script class found implements ScriptObject
[Changed] Check whether the current module holds the class and not the entire engine
2014-10-26 11:58:05 +00:00
urho3d-travis-ci
4a362593c2 Travis CI: API documentation update at 2014-10-26 05:16:35 UTC.
[ci package]
2014-10-26 05:16:35 +00:00
Yao Wei Tjong 姚伟忠
2c5fb1db03 Fix Technique class to recalculate memory used based on numPasses.
Add and expose convenient methods to retrieve the Passes in the Technique based on the pass type StringHash.
Note the API breaking change. In AngelScript the Technique's "passes" property is now returning all passes without taking any index. Use the "GetPass(StringHash)" method to get a single pass instead.
2014-10-26 13:06:00 +08:00
Lasse Öörni
d7924f907f Added glyph offset functionality to Font. Closes #13. 2014-10-25 23:11:49 +03:00
Lasse Öörni
b6dabac4c1 Merge remote-tracking branch 'remotes/rifai/master' 2014-10-24 11:14:56 +03:00
Lasse Öörni
3f51cee989 Give Data directory priority over CoreData. Give autoload paths priority over the default directories/packages. Fix the resource path/package add priority (index) having no effect, which would result in the editor not giving highest priority to the user's resource data directory. Closes #499. 2014-10-23 11:23:34 +03:00
Yusuf Umar
f66a143278 Change icon for drag slider 2014-10-23 14:13:50 +07:00
Ahmad Rifai
431cc8476c fixed coding style
prevent save undo action while drag in material
2014-10-22 21:10:36 +07:00