cleaned up unlock data so it appears in MemCard.ini and is no longer in preferences

(note to whoever builds uninstaller - don't delete memcard.ini on uninstall, please :)
This commit is contained in:
Andrew Wong
2003-07-11 12:01:25 +00:00
parent 89e57aa708
commit 604663f466
4 changed files with 10 additions and 42 deletions
+4 -1
View File
@@ -18,6 +18,7 @@
#include "ScreenGameplay.h"
#include "GameState.h"
#include "Course.h"
#include "unlocksystem.h"
ScoreKeeperMAX2::ScoreKeeperMAX2( const vector<Notes*>& apNotes_, PlayerNumber pn_ ):
@@ -305,8 +306,10 @@ void ScoreKeeperMAX2::HandleTapRowScore( TapNoteScore scoreOfLastTap, int iNumTa
m_iCurToastyCombo += iNumTapsInRow;
if( m_iCurToastyCombo==250 && !GAMESTATE->m_bDemonstrationOrJukebox )
{
SCREENMAN->PostMessageToTopScreen( SM_PlayToasty, 0 );
PREFSMAN->m_fTotalToastysSeen += 1;
GAMESTATE->m_pUnlockingSys->UnlockToasty();
}
break;
default:
m_iCurToastyCombo = 0;