no message

This commit is contained in:
Chris Danford
2002-06-25 18:44:54 +00:00
parent 07410e1c5a
commit eaa6be3a71
6 changed files with 9 additions and 15 deletions
+3 -2
View File
@@ -30,12 +30,13 @@ AnnouncerManager::AnnouncerManager()
for( int i=0; i<arrayAnnouncerNames.GetSize(); i++ )
AssertAnnouncerIsComplete( arrayAnnouncerNames[i] );
SwitchAnnouncer( DEFAULT_ANNOUNCER_NAME );
//SwitchAnnouncer( DEFAULT_ANNOUNCER_NAME );
SwitchAnnouncer( arrayAnnouncerNames[0] );
}
void AnnouncerManager::GetAnnouncerNames( CStringArray& AddTo )
{
GetDirListing( DEFAULT_ANNOUNCER_NAME+"\\*", AddTo, true );
GetDirListing( ANNOUNER_BASE_DIR+"*", AddTo, true );
// strip out the folder called "CVS"
for( int i=AddTo.GetSize()-1; i>=0; i-- )
-2
View File
@@ -42,7 +42,6 @@ enum AnnouncerElement {
ANNOUNCER_EVALUATION_FINAL_B,
ANNOUNCER_EVALUATION_FINAL_C,
ANNOUNCER_EVALUATION_FINAL_D,
ANNOUNCER_EVALUATION_FINAL_E,
ANNOUNCER_GAME_OVER,
ANNOUNCER_MUSIC_SCROLL,
ANNOUNCER_EVALUATION_A,
@@ -51,7 +50,6 @@ enum AnnouncerElement {
ANNOUNCER_EVALUATION_B,
ANNOUNCER_EVALUATION_C,
ANNOUNCER_EVALUATION_D,
ANNOUNCER_EVALUATION_E,
ANNOUNCER_SELECT_COURSE_INTRO,
ANNOUNCER_SELECT_DIFFICULTY_COMMENT_EASY,
ANNOUNCER_SELECT_DIFFICULTY_COMMENT_HARD,
+1 -4
View File
@@ -35,10 +35,7 @@ Background::Background()
m_sprDangerBackground.StretchTo( CRect((int)SCREEN_LEFT, (int)SCREEN_TOP, (int)SCREEN_RIGHT, (int)SCREEN_BOTTOM) );
// Load background animations
for( int i=0; i<NUM_BACKGROUND_ANIMATION_TYPES; i++ )
{
m_BackgroundAnimations.Add( new BackgroundAnimation( (BackgroundAnimationType)i ) );
}
m_BackgroundAnimations.Add( new BackgroundAnimation(NULL) );
m_pCurBackgroundAnimation = NULL;
}
+1 -4
View File
@@ -710,10 +710,7 @@ void NoteData::SetFromMeasureStrings( CStringArray &arrayMeasureStrings )
CString sNoteLine = arrayNoteLines[l];
sNoteLine.TrimRight();
if( m_iNumTracks == 0 )
m_iNumTracks = sNoteLine.GetLength();
if( m_iNumTracks != sNoteLine.GetLength() )
throw RageException( "Line doesn't have right number of notes." );
m_iNumTracks = max( m_iNumTracks, sNoteLine.GetLength() );
for( int c=0; c<sNoteLine.GetLength(); c++ )
{
+4 -2
View File
@@ -50,7 +50,8 @@ void ScreenCaution::HandleScreenMessage( const ScreenMessage SM )
switch( SM )
{
case SM_StartClosing:
m_Wipe.CloseWipingRight( SM_GoToSelectMusic );
if( !m_Wipe.IsClosing() )
m_Wipe.CloseWipingRight( SM_GoToSelectMusic );
break;
case SM_DoneOpening:
if( PREFSMAN->m_bAnnouncer )
@@ -64,5 +65,6 @@ void ScreenCaution::HandleScreenMessage( const ScreenMessage SM )
void ScreenCaution::MenuStart( const PlayerNumber p )
{
m_Wipe.CloseWipingRight( SM_GoToSelectMusic );
if( !m_Wipe.IsClosing() )
m_Wipe.CloseWipingRight( SM_GoToSelectMusic );
}
-1
View File
@@ -463,7 +463,6 @@ ScreenEvaluation::ScreenEvaluation( bool bSummary )
switch( max_grade )
{
case GRADE_E: SOUND->PlayOnceStreamedFromDir( ANNOUNCER->GetPathTo(ANNOUNCER_EVALUATION_E) ); break;
case GRADE_D: SOUND->PlayOnceStreamedFromDir( ANNOUNCER->GetPathTo(ANNOUNCER_EVALUATION_D) ); break;
case GRADE_C: SOUND->PlayOnceStreamedFromDir( ANNOUNCER->GetPathTo(ANNOUNCER_EVALUATION_C) ); break;
case GRADE_B: SOUND->PlayOnceStreamedFromDir( ANNOUNCER->GetPathTo(ANNOUNCER_EVALUATION_B) ); break;