Commit History

Author SHA1 Message Date
  Lasse Öörni 562f401ffa Refactor resource reloading based on filename into a function, which can be called externally. 11 years ago
  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. 11 years ago
  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. 11 years ago
  Aster@中国上海 84fe0946c8 Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash. 11 years ago
  Aster@中国上海 ebd705d674 For Component, Resource and UIElement always return concrete object type to Lua. 11 years ago
  Lasse Öörni 68a8b6afea Exposed UI::LoadLayout() to Lua script. 11 years ago
  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. 11 years ago
  Yao Wei Tjong 姚伟忠 ffe7a7699f Minor enhancement on getting optional resources and error handling. 12 years ago
  aster2013 97eab8ecf5 Update Lua API, convert SharePtr to raw pointer. 12 years ago
  Lasse Öörni 5bc98f68d3 Exposed Texture2D::Load() to Lua. Added Detach() function to SharedPtr which will safely detach the pointer without destroying the object. To only be used in scripting integration. Fixed loading of texture with compressed data first and then uncompressed. 12 years ago
  aster2013 8ab5e56c9c Move subsystem access function to subsystem's pkg file, add global readonly property for each subsystem. 12 years ago
  Lasse Öörni 2e01ca5e67 Sanitate resource dir similarly when adding and removing it to ensure removing works properly. 12 years ago
  Lasse Öörni 745fdb1416 Exposed ResourceCache::GetFile() to Lua. The file must be manually deleted once no longer needed. 12 years ago
  Alex Parlett 3166f1874d Changed adding Resource and Package files to be able to specify the location in the Vector for search priority when calling GetFile or GetResource 12 years ago
  Lasse Öörni ee0e3aa663 Removed the mechanism of binary-serializing resource name hashes instead of resource names. This is to allow correct resource loading from binary scene files on platforms that cannot iterate the resources in the application installation (eg. Android). This also affects networking, downside is increased network payload size when resource attributes are transferred. All binary scenes saved with old Urho versions are also invalidated. 12 years ago
  Yao Wei Tjong 姚伟忠 d33ac02538 Refactor build scripts to build Urho3D library as main target. 12 years ago