1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
OpenMW/apps/openmw/mwscript/scriptmanager.hpp

48 lines
843 B
C++
Raw Normal View History

#ifndef GAME_SCRIPT_SCRIPTMANAGER_H
#define GAME_SCRIPT_SCRIPTMANAGER_H
#include <map>
#include <vector>
#include <string>
#include <components/interpreter/types.hpp>
namespace ESMS
{
struct ESMStore;
}
namespace Compiler
{
class Context;
}
namespace Interpreter
{
class Context;
}
namespace MWScript
{
struct Locals;
class ScriptManager
{
const ESMS::ESMStore& mStore;
bool mVerbose;
std::map<std::string, std::vector<Interpreter::Type_Code> > mScripts;
public:
ScriptManager (const ESMS::ESMStore& store, bool verbose);
void run (const std::string& name/*, Compiler::Context& compilerContext,
Interpreter::Context& interpreterContext, Locals& locals*/);
};
};
#endif