1 |
/* |
/* |
2 |
* Copyright (c) 2014 - 2016 Christian Schoenebeck |
* Copyright (c) 2014 - 2017 Christian Schoenebeck |
3 |
* |
* |
4 |
* http://www.linuxsampler.org |
* http://www.linuxsampler.org |
5 |
* |
* |
234 |
m_fnChangeCutoff(this), m_fnChangeReso(this), m_fnChangeAttack(this), |
m_fnChangeCutoff(this), m_fnChangeReso(this), m_fnChangeAttack(this), |
235 |
m_fnChangeDecay(this), m_fnChangeRelease(this), m_fnEventStatus(this), |
m_fnChangeDecay(this), m_fnChangeRelease(this), m_fnEventStatus(this), |
236 |
m_fnWait2(this), m_fnStopWait(this), |
m_fnWait2(this), m_fnStopWait(this), |
237 |
m_varEngineUptime(this), m_varCallbackID(this) |
m_varEngineUptime(this), m_varCallbackID(this), m_varAllEvents(this) |
238 |
{ |
{ |
239 |
m_CC.size = _MEMBER_SIZEOF(AbstractEngineChannel, ControllerTable); |
m_CC.size = _MEMBER_SIZEOF(AbstractEngineChannel, ControllerTable); |
240 |
m_CC_NUM = DECLARE_VMINT(m_event, class ScriptEvent, cause.Param.CC.Controller); |
m_CC_NUM = DECLARE_VMINT(m_event, class ScriptEvent, cause.Param.CC.Controller); |
338 |
// first get built-in dynamic variables of derived VM class |
// first get built-in dynamic variables of derived VM class |
339 |
std::map<String,VMDynVar*> m = ScriptVM::builtInDynamicVariables(); |
std::map<String,VMDynVar*> m = ScriptVM::builtInDynamicVariables(); |
340 |
|
|
341 |
|
m["%ALL_EVENTS"] = &m_varAllEvents; |
342 |
m["$ENGINE_UPTIME"] = &m_varEngineUptime; |
m["$ENGINE_UPTIME"] = &m_varEngineUptime; |
343 |
m["$NI_CALLBACK_ID"] = &m_varCallbackID; |
m["$NI_CALLBACK_ID"] = &m_varCallbackID; |
344 |
|
|