MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / stop

Method stop

source/frontend/StarCinematic.cpp:520–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520void Cinematic::stop() {
521 m_timeSkips.clear();
522 m_cameraKeyFrames.clear();
523 m_panels.clear();
524 m_completionTime = 0;
525 m_timer.stop();
526 m_timer.reset();
527 for (size_t i = 0; i < m_audioCues.size(); ++i) {
528 if (m_activeAudio[i])
529 m_activeAudio[i]->stop();
530 }
531 m_audioCues.clear();
532 m_activeAudio.clear();
533 m_completable = false;
534 m_suppressInput = false;
535}
536
537bool Cinematic::handleInputEvent(InputEvent const& event) {
538 if (completed())

Callers 9

stopCraftingMethod · 0.45
updateMethod · 0.45
dismissedMethod · 0.45
updateMethod · 0.45
stopMusicMethod · 0.45
dismissedMethod · 0.45
setMessageMethod · 0.45
enterStageMethod · 0.45
renderMethod · 0.45

Calls 3

clearMethod · 0.45
resetMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected