Clean up NetworkSyncManager

This commit is contained in:
Steve Checkoway
2004-03-17 05:49:37 +00:00
parent 9ae558482a
commit dd8e0164e9
2 changed files with 8 additions and 12 deletions
+6 -10
View File
@@ -405,11 +405,9 @@ void ScoreKeeperMAX2::HandleTapRowScore( TapNoteScore scoreOfLastTap, int iNumTa
}
currentNetPlayer.ReportScore (
m_PlayerNumber,
scoreOfLastTap,
g_CurStageStats.iScore[m_PlayerNumber],
g_CurStageStats.iCurCombo[m_PlayerNumber]);
NSMAN->ReportScore(m_PlayerNumber, scoreOfLastTap,
g_CurStageStats.iScore[m_PlayerNumber],
g_CurStageStats.iCurCombo[m_PlayerNumber]);
}
@@ -423,11 +421,9 @@ void ScoreKeeperMAX2::HandleHoldScore( HoldNoteScore holdScore, TapNoteScore tap
if( holdScore == HNS_OK )
AddScore( TNS_MARVELOUS );
currentNetPlayer.ReportScore (
m_PlayerNumber,
holdScore+7,
g_CurStageStats.iScore[m_PlayerNumber],
g_CurStageStats.iCurCombo[m_PlayerNumber]);
NSMAN->ReportScore(m_PlayerNumber, holdScore+7,
g_CurStageStats.iScore[m_PlayerNumber],
g_CurStageStats.iCurCombo[m_PlayerNumber]);
}
+2 -2
View File
@@ -756,7 +756,7 @@ ScreenGameplay::~ScreenGameplay()
m_soundAssistTick.StopPlaying(); /* Stop any queued assist ticks. */
currentNetPlayer.ReportSongOver();
NSMAN->ReportSongOver();
}
bool ScreenGameplay::IsLastSong()
@@ -1029,7 +1029,7 @@ float ScreenGameplay::StartPlayingSong(float MinTimeToNotes, float MinTimeToMusi
p.StopMode = RageSoundParams::M_CONTINUE;
p.m_StartSecond = fStartSecond;
currentNetPlayer.StartRequest(); //Network Code.
NSMAN->StartRequest(); //Network Code.
m_soundMusic->Play( &p );