1 #ifndef GAME_SCRIPT_SCRIPTMANAGER_H
2 #define GAME_SCRIPT_SCRIPTMANAGER_H
13 #include "../mwbase/scriptmanager.hpp"
57 const std::vector<std::string>& scriptBlacklist);
bool mVerbose
Definition: scriptmanagerimp.hpp:39
virtual bool compile(const std::string &name)
Definition: scriptmanagerimp.cpp:40
Interpreter()
Definition: interpreter.cpp:162
Compiler::Context & mCompilerContext
Definition: scriptmanagerimp.hpp:40
std::map< std::string, CompiledScript > ScriptCollection
Definition: scriptmanagerimp.hpp:46
Definition: globalscripts.hpp:38
ScriptManager()
Definition: scriptmanager.hpp:34
virtual void run(const std::string &name, Interpreter::Context &interpreterContext)
Run the script with the given name (compile first, if not compiled yet)
Definition: scriptmanagerimp.cpp:94
Definition: context.hpp:10
Interpreter::Interpreter mInterpreter
Definition: scriptmanagerimp.hpp:42
Error handler implementation: Write errors into stream.
Definition: streamerrorhandler.hpp:12
GlobalScripts mGlobalScripts
Definition: scriptmanagerimp.hpp:49
bool mOpcodesInstalled
Definition: scriptmanagerimp.hpp:43
Definition: interpreter.hpp:16
std::pair< std::vector< Interpreter::Type_Code >, Compiler::Locals > CompiledScript
Definition: scriptmanagerimp.hpp:45
virtual const Compiler::Locals & getLocals(const std::string &name)
Return locals for script name.
Definition: scriptmanagerimp.cpp:155
virtual std::pair< int, int > compileAll()
Definition: scriptmanagerimp.cpp:134
ScriptCollection mScripts
Definition: scriptmanagerimp.hpp:48
Definition: context.hpp:9
Definition: esmstore.hpp:17
const MWWorld::ESMStore & mStore
Definition: scriptmanagerimp.hpp:38
std::vector< std::string > mScriptBlacklist
Definition: scriptmanagerimp.hpp:51
Compiler::FileParser mParser
Definition: scriptmanagerimp.hpp:41
Compiler::StreamErrorHandler mErrorHandler
Definition: scriptmanagerimp.hpp:37
Definition: fileparser.hpp:13
Interface for script manager (implemented in MWScript)
Definition: scriptmanager.hpp:24
virtual GlobalScripts & getGlobalScripts()
Definition: scriptmanagerimp.cpp:196
Definition: scriptmanagerimp.hpp:35
Local variable declarations.
Definition: locals.hpp:12
std::map< std::string, Compiler::Locals > mOtherLocals
Definition: scriptmanagerimp.hpp:50
const char * name
Definition: crashcatcher.cpp:59