10 if (update.count >= update.requests.size())
return;
11 update.requests[update.count++] =
VoiceRequest{voice, policy};
15 std::optional<udsound::PennybagsVoice> voice)
noexcept
17 state.desired = voice;
23 state.playing.reset();
24 state.desired.reset();
29 bool aiPlayer, std::uint8_t numberOfPlayers)
noexcept
41 if (!
state.welcomeMessagePlayed)
43 state.welcomeMessagePlayed =
true;
69 if (numberOfPlayers < 2)
constexpr PlayerNumber MaxPlayers
@ ClipOldSoundIfPlayingWithLock
@ WaitForAnyOldSoundThenPlay
@ ChooseNetworkOrLocalGame
@ ChooseStandardOrCustomRules
@ SummaryScreenWithLessThanTwoPlayers
@ ChooseTokenForComputerPlayer
@ ChooseAIDifficultyLevel
@ SummaryScreenWithTwoToFivePlayers
@ AnnouncePreviousHighScoresIfAny
@ ChooseClassicOrCityBoard_AnyVersion
@ SummaryScreenWithSixPlayers
@ NewPlayerClickNameOrPressButton
Update startPhase(State &state, display::PlayerSetupPhase phase, bool aiPlayer, std::uint8_t numberOfPlayers) noexcept
void resetPlayback(State &state) noexcept
udsound::TokenVoiceClipPolicy policy