move autosync logic out of Player and GameState, into a separate file

This commit is contained in:
Chris Danford
2006-02-06 01:23:25 +00:00
parent 799c1af1ab
commit cce97c40b8
12 changed files with 215 additions and 145 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
#include "GameState.h"
#include "GameManager.h"
#include "PrefsManager.h"
#include "AdjustSync.h"
REGISTER_SCREEN_CLASS( ScreenGameplaySyncMachine );
@@ -11,7 +12,7 @@ void ScreenGameplaySyncMachine::Init()
{
GAMESTATE->m_PlayMode.Set( PLAY_MODE_REGULAR );
GAMESTATE->m_pCurStyle.Set( GAMEMAN->GetHowToPlayStyleForGame(GAMESTATE->m_pCurGame) );
GAMESTATE->ResetOriginalSyncData();
AdjustSync::ResetOriginalSyncData();
SMLoader ld;
RString sFile = THEME->GetPathO("ScreenGameplaySyncMachine","music.sm");