MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / prepareRunFunction

Method prepareRunFunction

src/logic/ScriptEngine.cpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void ScriptEngine::prepareRunFunction()
74{
75 // Clean the VM for this run
76 m_pVM->pushState();
77}
78
79int32_t ScriptEngine::runFunction(const std::string& fname, bool clearDataStack)
80{

Callers 9

EV_ManipulateMethod · 0.80
useItemMethod · 0.80
canUseMethod · 0.80
evaluateConditionsMethod · 0.80
performChoiceMethod · 0.80
startAIStateMethod · 0.80
doAIStateMethod · 0.80
reinitRoutineMethod · 0.80
callOnStateFuncMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected