[ScreenEvaluation] Added "evaluation full combo W1" and "evaluation full combo W2" announcer cues.
This commit is contained in:
@@ -8,8 +8,14 @@ ________________________________________________________________________________
|
|||||||
StepMania 5.0 $next | 2011????
|
StepMania 5.0 $next | 2011????
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
2011/09/11
|
||||||
|
----------
|
||||||
|
* [ScreenEvaluation] Added "evaluation full combo W1" and
|
||||||
|
"evaluation full combo W2" announcer cues. [AJ]
|
||||||
|
|
||||||
2011/09/09
|
2011/09/09
|
||||||
* [NotesLoaderBMS] Rewrite the BMS loader, should fix 430, 500. [theDtTvB]
|
----------
|
||||||
|
* [NotesLoaderBMS] Rewrite the BMS loader, should fix issues 430 and 500. [theDtTvB]
|
||||||
|
|
||||||
2011/09/08
|
2011/09/08
|
||||||
----------
|
----------
|
||||||
|
|||||||
@@ -608,9 +608,26 @@ void ScreenEvaluation::Init()
|
|||||||
|
|
||||||
// init records area
|
// init records area
|
||||||
bool bOneHasNewTopRecord = false;
|
bool bOneHasNewTopRecord = false;
|
||||||
|
bool bOneHasFullW1Combo = false;
|
||||||
|
bool bOneHasFullW2Combo = false;
|
||||||
|
|
||||||
FOREACH_PlayerNumber( p )
|
FOREACH_PlayerNumber( p )
|
||||||
if( GAMESTATE->IsPlayerEnabled(p) && (m_pStageStats->m_player[p].m_iMachineHighScoreIndex == 0 || m_pStageStats->m_player[p].m_iPersonalHighScoreIndex == 0) )
|
{
|
||||||
|
if(GAMESTATE->IsPlayerEnabled(p))
|
||||||
|
{
|
||||||
|
if( (m_pStageStats->m_player[p].m_iMachineHighScoreIndex == 0 ||
|
||||||
|
m_pStageStats->m_player[p].m_iPersonalHighScoreIndex == 0) )
|
||||||
|
{
|
||||||
bOneHasNewTopRecord = true;
|
bOneHasNewTopRecord = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if( m_pStageStats->m_player[p].FullComboOfScore(TNS_W2) )
|
||||||
|
bOneHasFullW2Combo = true;
|
||||||
|
|
||||||
|
if( m_pStageStats->m_player[p].FullComboOfScore(TNS_W1) )
|
||||||
|
bOneHasFullW1Combo = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Grade best_grade = Grade_NoData;
|
Grade best_grade = Grade_NoData;
|
||||||
FOREACH_PlayerNumber( p )
|
FOREACH_PlayerNumber( p )
|
||||||
@@ -624,6 +641,11 @@ void ScreenEvaluation::Init()
|
|||||||
{
|
{
|
||||||
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("evaluation new record") );
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("evaluation new record") );
|
||||||
}
|
}
|
||||||
|
else if( (bOneHasFullW1Combo || bOneHasFullW2Combo) )
|
||||||
|
{
|
||||||
|
RString sComboType = bOneHasFullW1Combo ? "W1" : "W2";
|
||||||
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("evaluation full combo "+sComboType) );
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if( SUMMARY || GAMESTATE->IsCourseMode() )
|
if( SUMMARY || GAMESTATE->IsCourseMode() )
|
||||||
@@ -637,10 +659,8 @@ void ScreenEvaluation::Init()
|
|||||||
case PLAY_MODE_BATTLE:
|
case PLAY_MODE_BATTLE:
|
||||||
{
|
{
|
||||||
bool bWon = GAMESTATE->GetStageResult(GAMESTATE->GetMasterPlayerNumber()) == RESULT_WIN;
|
bool bWon = GAMESTATE->GetStageResult(GAMESTATE->GetMasterPlayerNumber()) == RESULT_WIN;
|
||||||
if( bWon )
|
RString sResult = bWon ? "win" : "lose";
|
||||||
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("evaluation win") );
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("evaluation "+sResult) );
|
||||||
else
|
|
||||||
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("evaluation lose") );
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user