Import 1.h 1.2 KB

12345678910111213141516171819202122232425262728
  1. /******************************************************************************/
  2. extern State StateImport;
  3. extern Str ImportSrc;
  4. extern BackgroundFileFind ImportBFF;
  5. extern IMPORT_PHASE ImportPhase;
  6. extern Memc<BackgroundFileFind::File> ImportFiles, ImportManual;
  7. extern Map<Str, UID> ImportElms;
  8. extern Memc<Str> ImportMtrlImages;
  9. extern Memc<Str> ImportObjMeshes;
  10. extern Map<UID, Matrix> ImportObjMatrix;
  11. /******************************************************************************/
  12. int ImportComparePath(C Str &a, C Str &b);
  13. Elm* ImportFind(C Str &name, ELM_TYPE type);
  14. UID ImportFindID(C Str &name, ELM_TYPE type);
  15. Str ImportFindGamePath(C Str &name, ELM_TYPE type);
  16. void Clean(GuiObj &obj);
  17. void Adjust(GuiObj &obj);
  18. void Adjust(MaterialPtr &mtrl);
  19. void Adjust(Mesh &mesh);
  20. void Adjust(Heightmap &heightmap);
  21. void Adjust(EditObject &obj);
  22. bool ImportFunc(Thread &thread);
  23. bool ImportFilter(C Str &name);
  24. bool InitImport();
  25. void ShutImport();
  26. bool UpdateImport();
  27. void DrawImport();
  28. /******************************************************************************/