50eb143319Fix consistency in touch hover touch ID. Fix returning touch IDs as available. When resetting touches, reset the touch ID mapping also. In UIDrag example, show the actual touch ID's instead of indices, to verify that the ID's stay consistent. Fix UIDrag Lua example erroneously modifying the TouchState's position.
Lasse Öörni
2014-11-15 18:42:28 +0200
8225d68fdcMerge pull request #528 from OvermindDL1/gitignore_additions
Lasse Öörni
2014-11-15 17:52:24 +0200
0821dd482fMerge remote-tracking branch 'hdunderscore/UIDrag_Bugfix'
Lasse Öörni
2014-11-15 17:22:06 +0200
55921e14fd- Updated documentation for Input mouse modes. - Change so that Input::GainFocus restores previous mouse mode. - Fixed a bug where setting mouse mode in Input::LoseFocus was concealing the mouse visibility. - Change so that SetMouseVisible tracks the intended visibility when MM_RELATIVE forces it off. This information is used to correctly set mouse visibility when changing mouse modes. - Updated editor drag editing so that the cursor position is always at 0.
hdunderscore
2014-11-16 01:05:28 +1100
009b0d5371Added KDevelop and GCC PCH files to the .gitignore file.
OvermindDL1
2014-11-15 00:28:30 -0700
b49e0c2a5dMoved the SDL touch ID -> Urho touch ID logic from UI to Input, so that querying Input/TouchState should give you a touch index that will always be consistent (between TouchDown and TouchUp events) and start from 1.
hdunderscore
2014-11-15 13:22:38 +1100
edf9f03366Fix possibility of degenerate OcclusionBuffer triangle edges causing a floating point division by zero. Thanks to nemerle for noticing this.
Lasse Öörni
2014-11-14 10:52:47 +0200
2afc444c4bTravis CI: API documentation update at 2014-11-13 19:09:31 UTC. [ci package]
urho3d-travis-ci
2014-11-13 19:09:31 +0000
f65aa514adFixed UI bug where positioning a window to the left partially outside the screen would cause GetElementAt() to stop working on the window's layouted child elements.
Lasse Öörni
2014-11-13 20:31:14 +0200
feb3f1da59Added contributor credit.
Lasse Öörni
2014-11-13 20:11:04 +0200
aee35424b8Merge remote-tracking branch 'remotes/nemerle/valgrind_fixes'
Lasse Öörni
2014-11-13 20:07:47 +0200
e0fa4d2560For a minor performance improvement, do not mark AnimatedModel skinning dirty if it does not contain bones.
Lasse Öörni
2014-11-13 19:42:33 +0200
62fbdeee59Fix uninitialized read of Texture::_format
Artur K.
2014-11-13 17:49:00 +0100
b7f38d80d6Fix valgrind warning about mismatched new/delete
Artur K.
2014-11-13 17:30:40 +0100
e55f92d5e2Allow to set Skeleton's root bone index programmatically.
Lasse Öörni
2014-11-13 17:48:46 +0200
153a818e7dTravis CI: API documentation update at 2014-11-12 17:07:51 UTC. [ci package]
urho3d-travis-ci
2014-11-12 17:07:51 +0000
b9c340ed12Allow to not serialize ParticleEmitter particles to reduce scene file size. Closes#522.
Lasse Öörni
2014-11-12 18:42:23 +0200
125adf1228Enhance 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.
Yao Wei Tjong 姚伟忠
2014-11-09 18:08:58 +0800
c293f170edInitial 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.
hdunderscore
2014-11-09 18:41:06 +1100
3d58fc94c9Updated the UI Drag sample descriptions.
hdunderscore
2014-11-09 18:55:37 +1100
6b35f89a07Avoid hardcoding the D3D9 library dependencies. This change should actually be part of this commit 971fa90c10.
Yao Wei Tjong 姚伟忠
2014-11-09 12:14:11 +0800
b523a14886Adds consistent mapping between event received touch id and UI internal touch id, to ensure that first touch id always acts as mouse left.
hdunderscore
2014-11-09 11:37:54 +1100
1f6215cf58Initial support of rake scaffolding task on Windows platform. The task requires privilege to create symlink via mklink command.
Yao Wei Tjong 姚伟忠
2014-11-09 00:30:26 +0800
b6e854eb27On OpenGL ES offset the skybox slightly in front of the far plane to avoid clipping artifacts from inaccuracy. Closes#517.
Lasse Öörni
2014-11-08 13:14:44 +0200
1edc6bfe64Append '_d' to the output executable file name in the example. Related to commit 78436eecd4.
Yao Wei Tjong 姚伟忠
2014-11-08 15:01:54 +0800
78436eecd4Add another pkg-config usage example for MinGW cross compiling.
Yao Wei Tjong 姚伟忠
2014-11-08 14:59:02 +0800
a9e4e31ca3Travis CI: API documentation update at 2014-11-07 18:14:07 UTC. [ci package]
urho3d-travis-ci
2014-11-07 18:14:07 +0000
aa8faf79ecNormalize touch ID's to touch indices to ensure the first touch always works as the "left mousebutton" in the UI.
Lasse Öörni
2014-11-07 18:20:45 +0200
e3d1f3e14fTravis CI: API documentation update at 2014-11-07 16:04:02 UTC. [ci package]
urho3d-travis-ci
2014-11-07 16:04:02 +0000
7f6962e47cMerge remote-tracking branch 'remotes/hdunderscore/UI_Drag_Update'
Lasse Öörni
2014-11-07 17:43:44 +0200
943a2c348bAdded mechanism to limit material techniques on desktop hardware. Closes#516.
Lasse Öörni
2014-11-07 17:33:22 +0200
833f84b346Allocate 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.
Lasse Öörni
2014-11-07 16:38:27 +0200
6d3d336057If AnimatedModel has no bones (has intentionally loaded a non-skinned model), use StaticModel raycast for more accuracy.
Lasse Öörni
2014-11-07 14:35:28 +0200
2de5ee90e8Fix cmake_gcc.sh shell script. It should work now when TOOLCHAINS environment variable is not defined as before.
Yao Wei Tjong 姚伟忠
2014-11-07 18:15:00 +0800
0652ccf394Fix FindUrho3D CMake module to perform rooted search on MinGW CC build.
Yao Wei Tjong 姚伟忠
2014-11-07 17:01:07 +0800
407374698cFix MinGW installation directory when cross-compiling on Linux host.
Yao Wei Tjong 姚伟忠
2014-11-07 09:58:01 +0800
9fabafec87Clean 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).
hdunderscore
2014-11-06 16:03:22 +1100
017591d4e6Fix for ValueAnimation EventFrame never being called if it shares the same time as the last KeyFrame.
Alex Parlett
2014-11-05 18:02:28 +0000
7f3ff1a561Fix Texture3D load failing always without an error message. Closes#513.
Lasse Öörni
2014-11-05 16:39:07 +0200
46cea7b47bUse correct case of CopyFramebuffer shader name in postprocesses.
Lasse Öörni
2014-11-05 16:23:21 +0200
42226761deTravis CI: API documentation update at 2014-11-05 09:55:42 UTC. [ci package]
urho3d-travis-ci
2014-11-05 09:55:42 +0000
367f6a345fFixed 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().
Lasse Öörni
2014-11-05 11:42:07 +0200
ad6081192bAdded Lua and AngelScript versions of Sample. Added UIElement::GetDragButtonCount / UIElement::GetDragButtonCombo bindings to AngelScript.
hdunderscore
2014-11-04 16:56:01 +1100
01850d3b93Travis CI: API documentation update at 2014-11-03 19:48:23 UTC. [ci package]
urho3d-travis-ci
2014-11-03 19:48:23 +0000
f40f425ab8Merge pull request #510 from hdunderscore/ScrollView_AutoDisableChildren_clean
Lasse Öörni
2014-11-03 20:44:35 +0200
aa0499e214Travis CI: API documentation update at 2014-11-03 16:53:48 UTC. [ci package]
urho3d-travis-ci
2014-11-03 16:53:48 +0000
b1dcfe39a9Added missing contributor credit.
Lasse Öörni
2014-11-03 18:30:41 +0200
b65bb59092Configurable 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.
Lasse Öörni
2014-11-03 18:26:43 +0200
02c595c8b7Disable Bullet's built-in profiler, as the results are not being used.
Lasse Öörni
2014-11-03 14:06:26 +0200
17e48a27f5Child elements of a scroll view can now be auto disabled when touch scrolling to prevent triggering of child element events.
hdunderscore
2014-11-03 07:12:58 +1100
bb3475b797Exposed UIElement::GetDragButtonCombo and UIElement::GetDragButtonCount to Lua script, and adjusted their signatures.
hdunderscore
2014-11-03 07:43:36 +1100
00656c5d30Added a range check on GetDragElement(unsigned).
hdunderscore
2014-11-03 07:36:33 +1100
e9decd10baFix global anisotropic filtering mode on OpenGL. Closes#509.
Yao Wei Tjong 姚伟忠
2014-11-03 01:00:45 +0800
13412bc68fA 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.
hdunderscore
2014-11-02 14:33:39 +1100
007d3acc1aChanges 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.
hdunderscore
2014-11-02 14:17:37 +1100
ec43f4e815Init 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.
Yao Wei Tjong 姚伟忠
2014-11-01 20:18:52 +0800
e29efb21a3For 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.
Yao Wei Tjong 姚伟忠
2014-10-31 12:26:48 +0800
8ca1ee6096Further clean up on URHO3D_OPENGL build option.
Yao Wei Tjong 姚伟忠
2014-10-31 12:26:18 +0800
18dbf70d0fTravis CI: API documentation update at 2014-10-30 13:24:38 UTC. [ci package]
urho3d-travis-ci
2014-10-30 13:24:38 +0000
3721ee0b10Added Time::GetTimeSinceEpoch() and FileSystem::SetLastModifiedTime().
Lasse Öörni
2014-10-30 15:11:47 +0200
f28d29cf2dFor Travis CI - clean up Rakefile, only download for DirectX CI build.
Yao Wei Tjong 姚伟忠
2014-10-30 18:07:14 +0800
cddef2ca52For Travis CI - attempt to download missing D3D header from Launchpad.
Yao Wei Tjong 姚伟忠
2014-10-30 17:51:59 +0800
c3646224fcFor 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.
Yao Wei Tjong 姚伟忠
2014-10-30 13:37:39 +0800
899f8334f3For 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.
Yao Wei Tjong 姚伟忠
2014-10-30 12:33:11 +0800
971fa90c10Always 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.
Yao Wei Tjong 姚伟忠
2014-10-30 11:21:52 +0800
09dcc466f9Use the same condition to exclude kNet when using SDK installation. Related to commit 867160628c
Yao Wei Tjong 姚伟忠
2014-10-29 19:48:54 +0800
867160628cDo not include Urho's built-in kNet include dir if URHO3D_NETWORK is disabled.
Lasse Öörni
2014-10-29 10:47:59 +0200
5456dcf406Travis CI: API documentation update at 2014-10-28 10:29:07 UTC. [ci package]
urho3d-travis-ci
2014-10-28 10:29:07 +0000
ac9fe226daAdded contributor credit.
Lasse Öörni
2014-10-28 11:27:08 +0200
ff7cd0bb50Use SDL_WINDOWPOS_UNDEFINED as the default window position to simplify code.
Lasse Öörni
2014-10-28 11:17:35 +0200
2ae415939fE_WINDOWPOS and initial window position OGLGraphics implementation.
Jonne Nauha
2014-10-27 17:15:44 -0700
7fee7f7cb5Input: Notify Graphics subsystem about SDL window moved event.
Jonne Nauha
2014-10-28 01:58:12 +0200
66913cf103Engine: New WindowPositionX/Y init params. Sets initial window position prior to SetMode that creates the window.
Jonne Nauha
2014-10-28 01:57:43 +0200
03d9532b4aNew E_WINDOWPOS event when SDL notifies window movement. Support for setting initial window position beforecreation.
Jonne Nauha
2014-10-28 01:55:49 +0200
c15411085aIf DirectX SDK is not searched for or not found, DIRECT3D_LIBRARIES is not defined. Use hardcoded library names in that case. Closes#504.
Lasse Öörni
2014-10-27 14:01:35 +0200
b923118feeRenamed parameter & clarified comment.
Lasse Öörni
2014-10-26 13:50:54 +0200
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
Alex Parlett
2014-10-26 11:51:17 +0000
4a362593c2Travis CI: API documentation update at 2014-10-26 05:16:35 UTC. [ci package]
urho3d-travis-ci
2014-10-26 05:16:35 +0000
2c5fb1db03Fix 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.
Yao Wei Tjong 姚伟忠
2014-10-26 13:00:09 +0800
d7924f907fAdded glyph offset functionality to Font. Closes#13.
Lasse Öörni
2014-10-25 23:11:49 +0300
b6dabac4c1Merge remote-tracking branch 'remotes/rifai/master'
Lasse Öörni
2014-10-24 11:14:56 +0300
3f51cee989Give 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.
Lasse Öörni
2014-10-23 11:20:35 +0300
f66a143278Change icon for drag slider
Yusuf Umar
2014-10-23 14:13:50 +0700
431cc8476cfixed coding style prevent save undo action while drag in material
Ahmad Rifai
2014-10-22 21:10:36 +0700
d4517d7107set style for drag slider
Ahmad Rifai
2014-10-22 16:23:33 +0700
a6829a0394add button to change lineedit value with mouse drag. Inspired from Unreal editor.
Ahmad Rifai
2014-10-22 15:27:18 +0700
59a38bbdb6Merge pull request #497 from friesencr/shebangs_sh
Yao Wei Tjong
2014-10-22 14:21:16 +0800
d8177c23deAdd "free" keyword to the project about info.
Yao Wei Tjong 姚伟忠
2014-10-21 11:53:11 +0800
0c4c6b0f10Add shebangs to shell scripts
Chris Friesen
2014-10-20 22:44:34 -0500
59d48c1a43Allow to momentarily disable multisample antialiasing. Used for UI and fullscreen quad rendering.
Lasse Öörni
2014-10-20 22:17:29 +0300
6099f0aafdFix FindDirect3D.cmake module to only pick June 2010 SDK. Closes#492.
Yao Wei Tjong 姚伟忠
2014-10-20 18:43:49 +0800
e9fb24184fMerge pull request #495 from celeron55/send_user_var_update
Lasse Öörni
2014-10-17 11:24:39 +0300
75fef62758Fix Connection not sending delta update if only user variables have been modified
Perttu Ahola
2014-10-17 11:09:10 +0300
b903983322Add .otf font support to resource browser
Chris Friesen
2014-10-16 19:41:07 -0500
5e8b50c9d3Further package download logic fixes to ensure a package is not potentially entered into the resource cache several times, and that packages in the cache are scanned for only when necessary.
Lasse Öörni
2014-10-15 13:25:43 +0300
8cc2386650Clean up duplicated code related to package download requests.
Lasse Öörni
2014-10-15 12:11:44 +0300
141c36aa77For Travis CI - add a rule to decide whether to skip universal build. The threshold is currently set to 20 minutes (can be adjusted). If by the given threshold time the iOS build has not reached the checkpoint then the universal binary build is skipped automatically.
Yao Wei Tjong 姚伟忠
2014-10-15 16:49:32 +0800