fixed: * Using autoplayer at all results in an 'E' grade.

This commit is contained in:
Bruno Figueiredo
2002-07-31 04:59:49 +00:00
parent 0214345076
commit 488798fef6
3 changed files with 8 additions and 6 deletions
+3
View File
@@ -352,6 +352,9 @@ ScreenEvaluation::ScreenEvaluation( bool bSummary )
if( !GAMESTATE->IsPlayerEnabled(p) )
continue;
if( GAMESTATE->m_bUsedAutoPlayer )
continue;
switch( m_ResultMode )
{
case RM_ARCADE_STAGE:
+2 -2
View File
@@ -122,7 +122,7 @@ ScreenGameplay::ScreenGameplay()
GAMESTATE->m_bUsedAutoPlayer &= PREFSMAN->m_bAutoPlay;
GAMESTATE->m_bUsedAutoPlayer |= PREFSMAN->m_bAutoPlay;
m_bChangedOffsetOrBPM = false;
@@ -676,7 +676,7 @@ void ScreenGameplay::Input( const DeviceInput& DeviceI, const InputEventType typ
{
case DIK_F8:
PREFSMAN->m_bAutoPlay = !PREFSMAN->m_bAutoPlay;
GAMESTATE->m_bUsedAutoPlayer &= PREFSMAN->m_bAutoPlay;
GAMESTATE->m_bUsedAutoPlayer |= PREFSMAN->m_bAutoPlay;
m_textDebug.SetText( ssprintf("Autoplayer %s.", (PREFSMAN->m_bAutoPlay ? "ON" : "OFF")) );
m_textDebug.SetDiffuseColor( D3DXCOLOR(1,1,1,1) );
m_textDebug.StopTweening();
+3 -4
View File
@@ -47,10 +47,9 @@ SongManager::SongManager( void(*callback)() )
SongManager::~SongManager()
{
if( !PREFSMAN->m_bAutoPlay ) // BUG FIX: Stats will no longer save if you're in autoplay mode - Andy.
{
SaveStatisticsToDisk();
}
// BUG FIX: Stats will no longer save if you're in autoplay mode - Andy.
// BUG BUG FIX: if user used autoplay, the evaluation screen already detects this...
SaveStatisticsToDisk();
FreeSongArray();
}