Historial de Commits

Autor SHA1 Mensaje Fecha
  Lasse Öörni 562f401ffa Refactor resource reloading based on filename into a function, which can be called externally. hace 11 años
  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. hace 11 años
  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. hace 11 años
  Aster@中国上海 84fe0946c8 Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash. hace 11 años
  Aster@中国上海 ebd705d674 For Component, Resource and UIElement always return concrete object type to Lua. hace 11 años
  Lasse Öörni 68a8b6afea Exposed UI::LoadLayout() to Lua script. hace 11 años
  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. hace 12 años
  Yao Wei Tjong 姚伟忠 ffe7a7699f Minor enhancement on getting optional resources and error handling. hace 12 años
  aster2013 97eab8ecf5 Update Lua API, convert SharePtr to raw pointer. hace 12 años
  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. hace 12 años
  aster2013 8ab5e56c9c Move subsystem access function to subsystem's pkg file, add global readonly property for each subsystem. hace 12 años
  Lasse Öörni 2e01ca5e67 Sanitate resource dir similarly when adding and removing it to ensure removing works properly. hace 12 años
  Lasse Öörni 745fdb1416 Exposed ResourceCache::GetFile() to Lua. The file must be manually deleted once no longer needed. hace 12 años
  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 hace 12 años
  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. hace 12 años
  Yao Wei Tjong 姚伟忠 d33ac02538 Refactor build scripts to build Urho3D library as main target. hace 12 años