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

Method runFunctionBySymIndex

src/logic/ScriptEngine.cpp:85–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85int32_t ScriptEngine::runFunctionBySymIndex(size_t symIdx, bool clearDataStack)
86{
87#if PROFILE_SCRIPT_CALLS
88 startProfiling(symIdx);
89#endif
90 int32_t ret = m_pVM->runFunctionBySymIndex(symIdx, clearDataStack);
91#if PROFILE_SCRIPT_CALLS
92 stopProfiling(symIdx);
93#endif
94 return ret;
95}
96
97void ScriptEngine::pushInt(int32_t v)
98{

Callers 8

EV_ManipulateMethod · 0.80
useItemMethod · 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