190 |
protected: |
protected: |
191 |
InstrumentScriptVM* m_vm; |
InstrumentScriptVM* m_vm; |
192 |
}; |
}; |
193 |
|
|
194 |
|
class InstrumentScriptVMFunction_change_attack : public VMEmptyResultFunction { |
195 |
|
public: |
196 |
|
InstrumentScriptVMFunction_change_attack(InstrumentScriptVM* parent); |
197 |
|
int minRequiredArgs() const { return 2; } |
198 |
|
int maxAllowedArgs() const { return 2; } |
199 |
|
bool acceptsArgType(int iArg, ExprType_t type) const; |
200 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
201 |
|
VMFnResult* exec(VMFnArgs* args); |
202 |
|
protected: |
203 |
|
InstrumentScriptVM* m_vm; |
204 |
|
}; |
205 |
|
|
206 |
|
class InstrumentScriptVMFunction_change_decay : public VMEmptyResultFunction { |
207 |
|
public: |
208 |
|
InstrumentScriptVMFunction_change_decay(InstrumentScriptVM* parent); |
209 |
|
int minRequiredArgs() const { return 2; } |
210 |
|
int maxAllowedArgs() const { return 2; } |
211 |
|
bool acceptsArgType(int iArg, ExprType_t type) const; |
212 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
213 |
|
VMFnResult* exec(VMFnArgs* args); |
214 |
|
protected: |
215 |
|
InstrumentScriptVM* m_vm; |
216 |
|
}; |
217 |
|
|
218 |
|
class InstrumentScriptVMFunction_change_release : public VMEmptyResultFunction { |
219 |
|
public: |
220 |
|
InstrumentScriptVMFunction_change_release(InstrumentScriptVM* parent); |
221 |
|
int minRequiredArgs() const { return 2; } |
222 |
|
int maxAllowedArgs() const { return 2; } |
223 |
|
bool acceptsArgType(int iArg, ExprType_t type) const; |
224 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
225 |
|
VMFnResult* exec(VMFnArgs* args); |
226 |
|
protected: |
227 |
|
InstrumentScriptVM* m_vm; |
228 |
|
}; |
229 |
|
|
230 |
class InstrumentScriptVMFunction_event_status : public VMIntResultFunction { |
class InstrumentScriptVMFunction_event_status : public VMIntResultFunction { |
231 |
public: |
public: |