| 175 | } |
| 176 | |
| 177 | void OMW::Engine::executeLocalScripts() |
| 178 | { |
| 179 | MWWorld::LocalScripts& localScripts = mWorld->getLocalScripts(); |
| 180 | |
| 181 | localScripts.startIteration(); |
| 182 | std::pair<ESM::RefId, MWWorld::Ptr> script; |
| 183 | while (localScripts.getNext(script)) |
| 184 | { |
| 185 | MWScript::InterpreterContext interpreterContext(&script.second.getRefData().getLocals(), script.second); |
| 186 | mScriptManager->run(script.first, interpreterContext); |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | bool OMW::Engine::frame(unsigned frameNumber, float frametime) |
| 191 | { |
nothing calls this directly
no test coverage detected