aster2013
|
c1ea1f9e06
Move attribute name as first parameter in ATTRIBUTE macro, same as other attribute macros.
|
11 years ago |
aster2013
|
13d3f1c8ac
Add attribute trait, treat ref attribute same with attribute.
|
11 years ago |
aster2013
|
cb819a5a6f
Remove class name and variant type from attribute macros.
|
11 years ago |
Lasse Öörni
|
d5cfcd493b
Further fixes for threaded drawable updates: ensure drawables per workitem > 0, do not update bounding boxes threaded as they may not be correct in case of hierarchical composition.
|
11 years ago |
Lasse Öörni
|
5463254bbf
Change references to Component::OnSetAttribute() to Serializable::OnSetAttribute() as the Component overload no longer exists.
|
11 years ago |
Lasse Öörni
|
914dc798d4
Fix missing update of octree in headless mode, so that graphics raycasts work properly and animations are updated.
|
11 years ago |
Lasse Öörni
|
47836474e2
Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant.
|
12 years ago |
Lasse Öörni
|
e44e3f7652
Only signal work items that have specified or higher priority in WorkQueue::Complete(), to prevent lower priority work item events triggering when they shouldn't (in the middle of render update.) Set explicit max priority in Octree & View items, but leave default priority to the lowest for user items. Removed a static variable from WorkQueue::PurgePool().
|
12 years ago |
Alex Parlett
|
e8abdfc366
Added Pool for WorkItem SharedPtrs to save allocation every frame. Its an optional construct to allow the user to create their own pools or not use the pool if they so desire.
|
12 years ago |
Alex Parlett
|
51a1e84248
Changed WorkQueue to use a List<SharedPtr<WorkItem> > and ensure that it doesn't contain duplicates.
|
12 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Lasse Öörni
|
c0d1c19e25
Reworked Octree::Raycast() threading criteria once more: thread if will use 2 or more raycast work items.
|
12 years ago |
Lasse Öörni
|
76292ef63e
Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation.
|
12 years ago |
Lasse Öörni
|
4f64f21915
Increased the threshold for justifying a threaded Octree raycast. Exposed PhysicsWorld::Raycast() to Lua.
|
12 years ago |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
12 years ago |
Lasse Öörni
|
c1e03c48db
Combine octree update & reinsertion queuing.
|
12 years ago |
Lasse Öörni
|
be7636f823
Make the include path absolute in all script examples so that ScriptCompiler can compile them properly.
|
12 years ago |
Wei Tjong Yao
|
02512cecf9
In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'.
|
12 years ago |