SWME handles music
This commit is contained in:
Glenn Maynard
2005-05-05 03:39:49 +00:00
parent e74efae3cb
commit 420187dbfd
-4
View File
@@ -28,7 +28,6 @@ void ScreenBookkeeping::Init()
m_textTitle.LoadFromFont( THEME->GetPathF("Common","title") ); m_textTitle.LoadFromFont( THEME->GetPathF("Common","title") );
m_textTitle.SetText( "header" ); m_textTitle.SetText( "header" );
m_textTitle.SetXY( SCREEN_CENTER_X, 60 ); m_textTitle.SetXY( SCREEN_CENTER_X, 60 );
m_textTitle.SetDiffuse( RageColor(1,1,1,1) );
m_textTitle.SetZoom( 0.8f ); m_textTitle.SetZoom( 0.8f );
this->AddChild( &m_textTitle ); this->AddChild( &m_textTitle );
@@ -39,14 +38,11 @@ void ScreenBookkeeping::Init()
m_textCols[i].LoadFromFont( THEME->GetPathF("Common","normal") ); m_textCols[i].LoadFromFont( THEME->GetPathF("Common","normal") );
m_textCols[i].SetText( ssprintf("%d",i) ); m_textCols[i].SetText( ssprintf("%d",i) );
m_textCols[i].SetXY( fX, fY ); m_textCols[i].SetXY( fX, fY );
m_textCols[i].SetDiffuse( RageColor(1,1,1,1) );
m_textCols[i].SetZoom( 0.6f ); m_textCols[i].SetZoom( 0.6f );
this->AddChild( &m_textCols[i] ); this->AddChild( &m_textCols[i] );
} }
ChangeView( (View)0 ); ChangeView( (View)0 );
SOUND->PlayMusic( THEME->GetPathS("ScreenBookkeeping","music") );
} }
ScreenBookkeeping::~ScreenBookkeeping() ScreenBookkeeping::~ScreenBookkeeping()