1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/test/erm/interpretter/ErmRunner.h
2021-03-27 15:47:44 +03:00

34 lines
635 B
C++

/*
* ErmRunner.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
#include "../../../scripting/erm/ERMScriptModule.h"
namespace test
{
namespace scripting
{
struct LuaStrings
{
std::string text;
std::vector<std::string> lines;
LuaStrings(std::string lua);
};
static class ErmRunner
{
public:
static const size_t REGULAR_INSTRUCTION_FIRST_LINE;
static LuaStrings convertErmToLua(std::initializer_list<std::string> list);
};
}
}