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.
|
vor 11 Jahren |
Lasse Öörni
|
562f401ffa
Refactor resource reloading based on filename into a function, which can be called externally.
|
vor 11 Jahren |
Lasse Öörni
|
a04b3f746d
Added option to route / block / process resource requests. Based on celeron55's patch. Closes #469.
|
vor 11 Jahren |
Lasse Öörni
|
5f0ed3fcf8
Fix more header warnings that could leak to an Urho3D application using maximum MSVC warning level.
|
vor 11 Jahren |
aster2013
|
21050c613a
Add .PList sprite sheet support.
|
vor 11 Jahren |
Lasse Öörni
|
be66059009
Refactor resource background loading into a separate class.
|
vor 11 Jahren |
Lasse Öörni
|
80fa911066
Fixed recording of background loaded resource's dependencies so that unnecessary waits do not occur when finishing the resources.
|
vor 11 Jahren |
Lasse Öörni
|
8c0cc2f916
Disregard background load request with empty name.
|
vor 11 Jahren |
Lasse Öörni
|
e210ef20b2
Fix deadlock when waiting for a resource that is background loading but is now needed immediately.
|
vor 11 Jahren |
Lasse Öörni
|
2b2b500892
Asynchronous loading for Model.
|
vor 11 Jahren |
Lasse Öörni
|
8ab908b1c9
Configurable max work time in ms per frame for finishing background loaded resources, and for non-threaded work in WorkQueue. Fix iteration bug if finishing several background loaded resources in one go.
|
vor 11 Jahren |
Lasse Öörni
|
cdd2dae4fb
Precalculate texture's mip levels during async loading, if applicable. Use a timer to avoid spending too much time per frame on finishing async loaded resources.
|
vor 11 Jahren |
Lasse Öörni
|
3181986f82
Log message for finalizing a background loaded resource.
|
vor 11 Jahren |
Lasse Öörni
|
f194765e78
Background loading of Materials.
|
vor 11 Jahren |
Lasse Öörni
|
8463393377
Initial resource background loading API and implementation. Background loading-capable implementation for textures (load image in background thread, upload image to GPU in main thread), other resources todo.
|
vor 11 Jahren |
Lasse Öörni
|
840143eb00
Protect some ResourceCache structures with a mutex so that eg. GetFile() or GetTempResource() can be called from worker threads. Verify that GetResource() is only called from the main thread.
|
vor 11 Jahren |
Lasse Öörni
|
1f521713e7
Do not store Image resources used during cube/3D texture loading permanently to cache.
|
vor 11 Jahren |
Aster@中国上海
|
84fe0946c8
Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash.
|
vor 11 Jahren |
Lasse Öörni
|
f1ec4c8a18
Ensure that manually created textures with an assigned name, but no actual file to back their contents, will recreate the GPU object after device loss and set data lost state.
|
vor 11 Jahren |
aster2013
|
460da659ee
Add JSON support in Urho3D.
|
vor 11 Jahren |
Lasse Öörni
|
50f775b213
Added FileChanged event sent by ResourceCache for manually responding to changed files in resource directories.
|
vor 11 Jahren |
Lasse Öörni
|
973b353a08
Safeguard CollisionShape against empty models to prevent Bullet asserts.
|
vor 12 Jahren |
Lasse Öörni
|
263a624fe4
Possibility in ResourceCache to enable returning resources which failed to load. This is used in the editor to overcome eg. failed scripts disappearing from a ScriptInstance's script file slot.
|
vor 12 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 |
Yao Wei Tjong 姚伟忠
|
4657518ec9
Code cleanup on error handling for ResourceCache.
|
vor 12 Jahren |
Yao Wei Tjong 姚伟忠
|
ffe7a7699f
Minor enhancement on getting optional resources and error handling.
|
vor 12 Jahren |
Yao Wei Tjong 姚伟忠
|
2e8744dc01
Minor cleanup - remove redundant null check for subsystems pointer.
|
vor 12 Jahren |
Yao Wei Tjong 姚伟忠
|
181351ef45
Reserve the vector's initial capacity instead of size.
|
vor 12 Jahren |
Yao Wei Tjong 姚伟忠
|
a5246036fb
Add inherited XMLFile resource as dependency. Approximate patched size.
|
vor 12 Jahren |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
vor 12 Jahren |