ProjectLibrary.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Today:
  2. - Fix TreeView issues with expand
  3. Tomorrow:
  4. - Attempt to add ResourceTreeView to scene (and initialize ProjectLibrary)
  5. - Project library save/load
  6. - Figure out how to deal with import queue
  7. ProjectLibrary
  8. - Save/Load - saves/loads the hierarchy of ResourceEntries
  9. --------------------
  10. Imported resources should get queued. Since I want to display a progress bar with % of resources imported.
  11. - Plus importers should work on separate threads (Will likely make Resources worker threads global and re-use them for importer)
  12. -------------------
  13. TOMORROW:
  14. mIsVisible seems to get set in updateTreeElement? Which means expanding/closing wont work without it
  15. - I should probably move those so they are changed whenever mIsExpanded is toggled
  16. - I might want to move stuff from TreeView::update in general to an event-based system. Only in case of Scene those events would be generated internally.
  17. Later: Projectlibrary add (tracking drag and drop using Win32DragAndDropManager)
  18. -------------------
  19. LOW PRIORITY
  20. ResourceManifest contains absolute file locations. What happens when the project moves?
  21. - When saving ResourceManifest make sure to process all paths and make them relative.
  22. - Then reverse that process on load
  23. What happens when importer fails importing a file?
  24. - This can be one of the lasts steps, but I will likely need to go through all importers manually and set them up so they return proper error codes
  25. and clean up properly on error.
  26. - In fact they should use exceptions but those should be translated to error codes when returned to Importer
  27. - OR just write directly to debug log?
  28. - Probably log and error code, since I will need to inform the outside world that import failed somehow