Added demonstration

This commit is contained in:
Chris Danford
2002-08-02 09:31:06 +00:00
parent 77152779d5
commit f1861ba157
18 changed files with 280 additions and 109 deletions
+4 -3
View File
@@ -140,8 +140,9 @@ void Player::Update( float fDeltaTime )
//
// Check for TapNote misses
//
UpdateTapNotesMissedOlderThan( GAMESTATE->m_fSongBeat - GetMaxBeatDifference() );
int iNumMisses = UpdateTapNotesMissedOlderThan( GAMESTATE->m_fSongBeat - GetMaxBeatDifference() );
if( iNumMisses > 0 )
int kjsdfsd = 0;
//
// update HoldNotes logic
@@ -482,7 +483,7 @@ int Player::UpdateTapNotesMissedOlderThan( float fMissIfOlderThanThisBeat )
void Player::CrossedRow( int iNoteRow )
{
if( PREFSMAN->m_bAutoPlay )
if( PREFSMAN->m_bAutoPlay || GAMESTATE->m_bDemonstration )
{
// check to see if there's at the crossed row
for( int t=0; t<m_iNumTracks; t++ )