aster2013
|
c1ea1f9e06
Move attribute name as first parameter in ATTRIBUTE macro, same as other attribute macros.
|
vor 11 Jahren |
aster2013
|
13d3f1c8ac
Add attribute trait, treat ref attribute same with attribute.
|
vor 11 Jahren |
aster2013
|
cb819a5a6f
Remove class name and variant type from attribute macros.
|
vor 11 Jahren |
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.
|
vor 11 Jahren |
Lasse Öörni
|
5463254bbf
Change references to Component::OnSetAttribute() to Serializable::OnSetAttribute() as the Component overload no longer exists.
|
vor 11 Jahren |
Lasse Öörni
|
914dc798d4
Fix missing update of octree in headless mode, so that graphics raycasts work properly and animations are updated.
|
vor 11 Jahren |
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.
|
vor 12 Jahren |
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().
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
Alex Parlett
|
51a1e84248
Changed WorkQueue to use a List<SharedPtr<WorkItem> > and ensure that it doesn't contain duplicates.
|
vor 12 Jahren |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
vor 12 Jahren |
Lasse Öörni
|
c0d1c19e25
Reworked Octree::Raycast() threading criteria once more: thread if will use 2 or more raycast work items.
|
vor 12 Jahren |
Lasse Öörni
|
76292ef63e
Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation.
|
vor 12 Jahren |
Lasse Öörni
|
4f64f21915
Increased the threshold for justifying a threaded Octree raycast. Exposed PhysicsWorld::Raycast() to Lua.
|
vor 12 Jahren |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
vor 12 Jahren |
Lasse Öörni
|
c1e03c48db
Combine octree update & reinsertion queuing.
|
vor 12 Jahren |
Lasse Öörni
|
be7636f823
Make the include path absolute in all script examples so that ScriptCompiler can compile them properly.
|
vor 12 Jahren |
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'.
|
vor 12 Jahren |