Cutscenes are now integrated into the game. LONG LIVE THE RAT KING!

This commit is contained in:
Zed A. Shaw 2025-11-14 01:25:10 -05:00
parent fa4573be7b
commit 8fdaadaf12
5 changed files with 30 additions and 17 deletions

View file

@ -47,6 +47,10 @@ namespace storyboard {
window.draw($view_sprite);
}
bool UI::playing() {
return $audio->getStatus() == sf::SoundSource::Status::Playing;
}
sf::Time parse_time_code(const std::string& time) {
std::chrono::seconds out{};