Clean up NetworkSyncManager
This commit is contained in:
@@ -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]);
|
||||||
|
|
||||||
|
|||||||
@@ -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 );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user