ErmRunner.h 629 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * ErmRunner.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "../../../scripting/erm/ERMScriptModule.h"
  12. namespace test
  13. {
  14. namespace scripting
  15. {
  16. struct LuaStrings
  17. {
  18. std::string text;
  19. std::vector<std::string> lines;
  20. LuaStrings(std::string lua);
  21. };
  22. class ErmRunner
  23. {
  24. public:
  25. static const size_t REGULAR_INSTRUCTION_FIRST_LINE;
  26. static LuaStrings convertErmToLua(std::initializer_list<std::string> list);
  27. };
  28. }
  29. }