242 |
m_fnAbort(this), m_fnFadeIn(this), m_fnFadeOut(this), |
m_fnAbort(this), m_fnFadeIn(this), m_fnFadeOut(this), |
243 |
m_fnChangeVolCurve(this), m_fnChangeTuneCurve(this), |
m_fnChangeVolCurve(this), m_fnChangeTuneCurve(this), |
244 |
m_fnGetEventPar(this), m_fnSetEventPar(this), m_fnChangePlayPos(this), |
m_fnGetEventPar(this), m_fnSetEventPar(this), m_fnChangePlayPos(this), |
245 |
|
m_fnCallbackStatus(this), |
246 |
m_varEngineUptime(this), m_varCallbackID(this), m_varAllEvents(this), |
m_varEngineUptime(this), m_varCallbackID(this), m_varAllEvents(this), |
247 |
m_varCallbackChildID(this) |
m_varCallbackChildID(this) |
248 |
{ |
{ |
365 |
m["$EVENT_PAR_3"] = EVENT_PAR_3; |
m["$EVENT_PAR_3"] = EVENT_PAR_3; |
366 |
m["$NKSP_LINEAR"] = FADE_CURVE_LINEAR; |
m["$NKSP_LINEAR"] = FADE_CURVE_LINEAR; |
367 |
m["$NKSP_EASE_IN_EASE_OUT"] = FADE_CURVE_EASE_IN_EASE_OUT; |
m["$NKSP_EASE_IN_EASE_OUT"] = FADE_CURVE_EASE_IN_EASE_OUT; |
368 |
|
m["$CALLBACK_STATUS_TERMINATED"] = CALLBACK_STATUS_TERMINATED; |
369 |
|
m["$CALLBACK_STATUS_QUEUE"] = CALLBACK_STATUS_QUEUE; |
370 |
|
m["$CALLBACK_STATUS_RUNNING"] = CALLBACK_STATUS_RUNNING; |
371 |
|
|
372 |
return m; |
return m; |
373 |
} |
} |
422 |
else if (name == "stop_wait") return &m_fnStopWait; |
else if (name == "stop_wait") return &m_fnStopWait; |
423 |
else if (name == "abort") return &m_fnAbort; |
else if (name == "abort") return &m_fnAbort; |
424 |
else if (name == "fork") return &m_fnFork; |
else if (name == "fork") return &m_fnFork; |
425 |
|
else if (name == "callback_status") return &m_fnCallbackStatus; |
426 |
|
|
427 |
// built-in script functions of derived VM class |
// built-in script functions of derived VM class |
428 |
return ScriptVM::functionByName(name); |
return ScriptVM::functionByName(name); |