2
0

LuaCompiler.h 347 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "Compiler.h"
  3. #include "FileStream.h"
  4. namespace crown
  5. {
  6. class LuaCompiler : public Compiler
  7. {
  8. public:
  9. LuaCompiler(const char* root_path, const char* dest_path, const char* resource, uint32_t seed);
  10. bool compile();
  11. void write();
  12. private:
  13. uint32_t m_file_size;
  14. char* m_file_data;
  15. };
  16. } // namespace crown