| 55 | } |
| 56 | |
| 57 | CreateResult CompScriptDeleteWorld(const ComponentDeleteWorldParams& params) |
| 58 | { |
| 59 | if (params.m_World != 0x0) |
| 60 | { |
| 61 | CompScriptWorld* w = (CompScriptWorld*)params.m_World; |
| 62 | dmScript::DeleteScriptWorld(w->m_ScriptWorld); |
| 63 | delete w; |
| 64 | return CREATE_RESULT_OK; |
| 65 | } |
| 66 | else |
| 67 | { |
| 68 | return CREATE_RESULT_UNKNOWN_ERROR; |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | CreateResult CompScriptCreate(const ComponentCreateParams& params) |
| 73 | { |
nothing calls this directly
no test coverage detected