ff7DataInstaller.h 553 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <string>
  3. #include <vector>
  4. #include "common/make_unique.h"
  5. #include <OgreRoot.h>
  6. class FF7DataInstaller
  7. {
  8. public:
  9. FF7DataInstaller();
  10. ~FF7DataInstaller();
  11. void Convert(std::string inputDir, std::string outputDir, const std::vector<std::string>& files);
  12. private:
  13. void ConvertFieldModels(std::string archive, std::string outDir);
  14. std::unique_ptr<Ogre::Root> m_root;
  15. std::vector<std::shared_ptr<Ogre::ResourceManager>> mResourceManagers;
  16. Ogre::RenderWindow* m_render_window = nullptr; // Not owned
  17. };