| 473 | } |
| 474 | |
| 475 | bool RunScriptFunctionInModules(const String &tsname, size_t param_count, const RuntimeScriptValue *params) |
| 476 | { |
| 477 | bool result = false; |
| 478 | for (size_t i = 0; i < numScriptModules; ++i) |
| 479 | result |= RunScriptFunction(scriptModules[i].get(), tsname, param_count, params) == kScFnRes_Done; |
| 480 | result |= RunScriptFunction(gamescript.get(), tsname, param_count, params) == kScFnRes_Done; |
| 481 | return result; |
| 482 | } |
| 483 | |
| 484 | bool RunScriptFunctionInRoom(const String &tsname, size_t param_count, const RuntimeScriptValue *params) |
| 485 | { |
no test coverage detected