Esempio n. 1
0
void ScoreKeeperRave::HandleHoldScore( const TapNote &tn )
{
	// todo: should hit mine be handled in HandleTapRow score instead? -aj
	TapNoteScore tapScore = tn.result.tns;
	float fPercentToMove = 0.0f;
	switch( tapScore )
	{
		case TNS_HitMine:
			fPercentToMove = g_fSuperMeterPercentChange[SE_HitMine];
			break;
		default: break;
	}

	// Playing with this code enabled seems to feel "wrong", but I'm leaving it
	// in for player feedback. -aj
	HoldNoteScore holdScore = tn.HoldResult.hns;
	switch( holdScore )
	{
		case HNS_Held: fPercentToMove = g_fSuperMeterPercentChange[SE_Held]; break;
		case HNS_LetGo: fPercentToMove = g_fSuperMeterPercentChange[SE_LetGo]; break;
		case HNS_Missed: fPercentToMove = g_fSuperMeterPercentChange[SE_Missed]; break;
		default: break;
	}
	AddSuperMeterDelta( fPercentToMove );
}
Esempio n. 2
0
void ScoreKeeperRave::HandleTapScoreNone()
{
	if( PENALIZE_TAP_SCORE_NONE )
	{
		float fPercentToMove = g_fSuperMeterPercentChange[SE_Miss];
		AddSuperMeterDelta( fPercentToMove );
	}
}
Esempio n. 3
0
void ScoreKeeperRave::HandleTapScore( const TapNote &tn )
{
	TapNoteScore score = tn.result.tns;
	float fPercentToMove = 0;

	if( score == TNS_HitMine )
		fPercentToMove = g_fSuperMeterPercentChange[SE_HitMine];

	AddSuperMeterDelta( fPercentToMove );
}
Esempio n. 4
0
void ScoreKeeperRave::HandleHoldScore( const TapNote &tn )
{
	TapNoteScore tapScore = tn.result.tns;
	float fPercentToMove = 0;
	switch( tapScore )
	{
	case TNS_HitMine:	fPercentToMove = g_fSuperMeterPercentChange[SE_HitMine];	break;
	}
	AddSuperMeterDelta( fPercentToMove );
}
Esempio n. 5
0
void ScoreKeeperRave::HandleTapRowScore( const NoteData &nd, int iRow )
{
	TapNoteScore scoreOfLastTap;
	int iNumTapsInRow;
	float fPercentToMove = 0.0f;

	GetScoreOfLastTapInRow( nd, iRow, scoreOfLastTap, iNumTapsInRow );
	if( iNumTapsInRow <= 0 )
		return;
	switch( scoreOfLastTap )
	{
		DEFAULT_FAIL( scoreOfLastTap );
		case TNS_W1:	fPercentToMove = g_fSuperMeterPercentChange[SE_W1];		break;
		case TNS_W2:	fPercentToMove = g_fSuperMeterPercentChange[SE_W2];		break;
		case TNS_W3:	fPercentToMove = g_fSuperMeterPercentChange[SE_W3];		break;
		case TNS_W4:	fPercentToMove = g_fSuperMeterPercentChange[SE_W4];		break;
		case TNS_W5:	fPercentToMove = g_fSuperMeterPercentChange[SE_W5];		break;
		case TNS_Miss:	fPercentToMove = g_fSuperMeterPercentChange[SE_Miss];	break;
	}
	AddSuperMeterDelta( fPercentToMove );
}