237 |
} |
} |
238 |
|
|
239 |
std::map<String,int> ScriptVM::builtInConstIntVariables() { |
std::map<String,int> ScriptVM::builtInConstIntVariables() { |
240 |
return std::map<String,int>(); |
std::map<String,int> m; |
241 |
|
|
242 |
|
m["$NI_CB_TYPE_INIT"] = VM_EVENT_HANDLER_INIT; |
243 |
|
m["$NI_CB_TYPE_NOTE"] = VM_EVENT_HANDLER_NOTE; |
244 |
|
m["$NI_CB_TYPE_RELEASE"] = VM_EVENT_HANDLER_RELEASE; |
245 |
|
m["$NI_CB_TYPE_CONTROLLER"] = VM_EVENT_HANDLER_CONTROLLER; |
246 |
|
|
247 |
|
return m; |
248 |
} |
} |
249 |
|
|
250 |
VMEventHandler* ScriptVM::currentVMEventHandler() { |
VMEventHandler* ScriptVM::currentVMEventHandler() { |