added iTrack to mine judgment message
more information is better.
This commit is contained in:
+4
-3
@@ -2845,10 +2845,10 @@ void Player::UpdateJudgedRows()
|
||||
bAllJudged = false;
|
||||
continue;
|
||||
case TNS_AvoidMine:
|
||||
SetMineJudgment( tn.result.tns );
|
||||
SetMineJudgment( tn.result.tns , iter.Track() );
|
||||
continue;
|
||||
case TNS_HitMine:
|
||||
SetMineJudgment( tn.result.tns );
|
||||
SetMineJudgment( tn.result.tns , iter.Track() );
|
||||
break;
|
||||
}
|
||||
if( m_pNoteField )
|
||||
@@ -3329,13 +3329,14 @@ void Player::CacheAllUsedNoteSkins()
|
||||
m_pNoteField->CacheAllUsedNoteSkins();
|
||||
}
|
||||
|
||||
void Player::SetMineJudgment( TapNoteScore tns )
|
||||
void Player::SetMineJudgment( TapNoteScore tns , int iTrack )
|
||||
{
|
||||
if( m_bSendJudgmentAndComboMessages )
|
||||
{
|
||||
Message msg("Judgment");
|
||||
msg.SetParam( "Player", m_pPlayerState->m_PlayerNumber );
|
||||
msg.SetParam( "TapNoteScore", tns );
|
||||
msg.SetParam( "FirstTrack", iTrack );
|
||||
MESSAGEMAN->Broadcast( msg );
|
||||
if( m_pPlayerStageStats &&
|
||||
( ( tns == TNS_AvoidMine && AVOID_MINE_INCREMENTS_COMBO ) ||
|
||||
|
||||
+1
-1
@@ -131,7 +131,7 @@ protected:
|
||||
void SendComboMessages( int iOldCombo, int iOldMissCombo );
|
||||
void PlayKeysound( const TapNote &tn, TapNoteScore score );
|
||||
|
||||
void SetMineJudgment( TapNoteScore tns );
|
||||
void SetMineJudgment( TapNoteScore tns , int iTrack );
|
||||
void SetJudgment( TapNoteScore tns, int iFirstTrack, float fTapNoteOffset ); // -1 if no track as in TNS_Miss
|
||||
void SetHoldJudgment( TapNoteScore tns, HoldNoteScore hns, int iTrack );
|
||||
void SetCombo( int iCombo, int iMisses );
|
||||
|
||||
Reference in New Issue
Block a user