Ez2dancer Style Evaluation Screen Partially Done

This commit is contained in:
Andrew Livy
2002-07-16 22:00:59 +00:00
parent c5570839d9
commit 9050c5e260
5 changed files with 174 additions and 110 deletions
+12 -1
View File
@@ -13,7 +13,7 @@
#include "RageUtil.h"
#include "GameConstantsAndTypes.h"
#include "ThemeManager.h"
#include "GameManager.h"
const float JUDGEMENT_DISPLAY_TIME = 0.8f;
@@ -59,6 +59,17 @@ void Judgement::SetJudgement( TapNoteScore score )
default: ASSERT( false );
}
if ( GAMEMAN->m_CurGame == GAME_EZ2 ) // Resize Judgement graphics for Ez2.
{
m_sprJudgement.SetHeight( 22.0f * 2.1f );
m_sprJudgement.SetWidth( 143.0f * 2.1f );
if ( score == TNS_PERFECT || score == TNS_GREAT )
{
m_sprJudgement.SetHeight( 22.0f * 2.6f );
m_sprJudgement.SetWidth( 143.0f * 2.8f );
}
}
m_fDisplayCountdown = JUDGEMENT_DISPLAY_TIME;
m_sprJudgement.SetEffectNone();