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
+2 -6
View File
@@ -405,9 +405,7 @@ void ScoreKeeperMAX2::HandleTapRowScore( TapNoteScore scoreOfLastTap, int iNumTa
} }
currentNetPlayer.ReportScore ( NSMAN->ReportScore(m_PlayerNumber, scoreOfLastTap,
m_PlayerNumber,
scoreOfLastTap,
g_CurStageStats.iScore[m_PlayerNumber], g_CurStageStats.iScore[m_PlayerNumber],
g_CurStageStats.iCurCombo[m_PlayerNumber]); g_CurStageStats.iCurCombo[m_PlayerNumber]);
} }
@@ -423,9 +421,7 @@ void ScoreKeeperMAX2::HandleHoldScore( HoldNoteScore holdScore, TapNoteScore tap
if( holdScore == HNS_OK ) if( holdScore == HNS_OK )
AddScore( TNS_MARVELOUS ); AddScore( TNS_MARVELOUS );
currentNetPlayer.ReportScore ( NSMAN->ReportScore(m_PlayerNumber, holdScore+7,
m_PlayerNumber,
holdScore+7,
g_CurStageStats.iScore[m_PlayerNumber], g_CurStageStats.iScore[m_PlayerNumber],
g_CurStageStats.iCurCombo[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. */ m_soundAssistTick.StopPlaying(); /* Stop any queued assist ticks. */
currentNetPlayer.ReportSongOver(); NSMAN->ReportSongOver();
} }
bool ScreenGameplay::IsLastSong() bool ScreenGameplay::IsLastSong()
@@ -1029,7 +1029,7 @@ float ScreenGameplay::StartPlayingSong(float MinTimeToNotes, float MinTimeToMusi
p.StopMode = RageSoundParams::M_CONTINUE; p.StopMode = RageSoundParams::M_CONTINUE;
p.m_StartSecond = fStartSecond; p.m_StartSecond = fStartSecond;
currentNetPlayer.StartRequest(); //Network Code. NSMAN->StartRequest(); //Network Code.
m_soundMusic->Play( &p ); m_soundMusic->Play( &p );