From d6d82622cd642da037f032b884b60e6c7db1f5ca Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 1 Apr 2003 19:46:13 +0000 Subject: [PATCH] implement select style comment announcer --- stepmania/src/ScreenSelectStyle.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/ScreenSelectStyle.cpp b/stepmania/src/ScreenSelectStyle.cpp index b6e96ffca0..88d1a44025 100644 --- a/stepmania/src/ScreenSelectStyle.cpp +++ b/stepmania/src/ScreenSelectStyle.cpp @@ -16,6 +16,7 @@ #include "PrefsManager.h" #include "ScreenManager.h" #include "GameState.h" +#include "AnnouncerManager.h" #define JOINT_PREMIUM_ON_COMMAND THEME->GetMetric ("ScreenSelectStyle","JointPremiumOnCommand") @@ -183,6 +184,9 @@ void ScreenSelectStyle::MenuStart( PlayerNumber pn ) m_soundSelect.Play(); SCREENMAN->PostMessageToTopScreen( SM_AllDoneChoosing, 0 ); + const ModeChoice& mc = m_aModeChoices[GetSelectionIndex(pn)]; + SOUNDMAN->PlayOnceFromDir( ANNOUNCER->GetPathTo(ssprintf("ScreenSelectStyle comment %s",mc.name)) ); + // // TweenOffScreen //