--- linuxsampler/trunk/src/engines/common/InstrumentScriptVM.h 2014/06/05 19:39:12 2596 +++ linuxsampler/trunk/src/engines/common/InstrumentScriptVM.h 2014/06/07 00:16:03 2600 @@ -38,11 +38,10 @@ protected: ScriptEvent* m_event; ///< The event currently executed by exec(). - Event* m_cause; - // buil-in script variables VMInt8Array m_CC; VMInt8RelPtr m_CC_NUM; + VMIntRelPtr m_EVENT_ID; VMInt8RelPtr m_EVENT_NOTE; VMInt8RelPtr m_EVENT_VELOCITY; //VMIntArray m_KEY_DOWN; //TODO: ... @@ -51,8 +50,14 @@ // buil-in script functions InstrumentScriptVMFunction_play_note m_fnPlayNote; + InstrumentScriptVMFunction_set_controller m_fnSetController; + InstrumentScriptVMFunction_ignore_event m_fnIgnoreEvent; + InstrumentScriptVMFunction_ignore_controller m_fnIgnoreController; friend class InstrumentScriptVMFunction_play_note; + friend class InstrumentScriptVMFunction_set_controller; + friend class InstrumentScriptVMFunction_ignore_event; + friend class InstrumentScriptVMFunction_ignore_controller; }; } // namespace LinuxSampler