MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / LiveUpdateCheck

Method LiveUpdateCheck

Source/Game/level.cpp:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322void Level::LiveUpdateCheck() {
323 std::vector<HookedASContext>::iterator cit = as_contexts_.begin();
324 for (; cit != as_contexts_.end(); cit++) {
325 cit->ctx->CallScriptFunction(cit->as_funcs.pre_script_reload);
326 cit->ctx->Reload();
327 cit->ctx->CallScriptFunction(cit->as_funcs.post_script_reload);
328 }
329}
330
331void Level::HandleCollisions(CollisionPtrMap& col_map, SceneGraph& scenegraph) {
332 exit_call_queue.clear();

Callers 1

LiveUpdateFunction · 0.80

Calls 4

beginMethod · 0.45
endMethod · 0.45
CallScriptFunctionMethod · 0.45
ReloadMethod · 0.45

Tested by

no test coverage detected