Fixed compile error in VC6 release
This commit is contained in:
@@ -174,7 +174,7 @@ public:
|
|||||||
// other properties
|
// other properties
|
||||||
void TurnShadowOn() { m_bShadow = true; };
|
void TurnShadowOn() { m_bShadow = true; };
|
||||||
void TurnShadowOff() { m_bShadow = false; };
|
void TurnShadowOff() { m_bShadow = false; };
|
||||||
void SetShadowLength( const float fLength ) { m_fShadowLength = fLength; };
|
void SetShadowLength( float fLength ) { m_fShadowLength = fLength; };
|
||||||
|
|
||||||
void SetBlendModeAdd() { m_bBlendAdd = true; };
|
void SetBlendModeAdd() { m_bBlendAdd = true; };
|
||||||
void SetBlendModeNormal() { m_bBlendAdd = false; };
|
void SetBlendModeNormal() { m_bBlendAdd = false; };
|
||||||
|
|||||||
@@ -133,22 +133,23 @@ ScreenTitleMenu::ScreenTitleMenu()
|
|||||||
m_textSongs.SetShadowLength( 2 );
|
m_textSongs.SetShadowLength( 2 );
|
||||||
this->AddChild( &m_textSongs );
|
this->AddChild( &m_textSongs );
|
||||||
|
|
||||||
|
int i;
|
||||||
for( int i=0; i< NUM_TITLE_MENU_CHOICES; i++ )
|
for( i=0; i< NUM_TITLE_MENU_CHOICES; i++ )
|
||||||
{
|
{
|
||||||
m_textChoice[i].LoadFromFont( THEME->GetPathTo("Fonts","titlemenu") );
|
m_textChoice[i].LoadFromFont( THEME->GetPathTo("Fonts","titlemenu") );
|
||||||
m_textChoice[i].SetText( CHOICE_TEXT[i] );
|
m_textChoice[i].SetText( CHOICE_TEXT[i] );
|
||||||
m_textChoice[i].SetXY( CHOICES_X, CHOICES_START_Y + i*CHOICES_SPACING_Y );
|
m_textChoice[i].SetXY( CHOICES_X, CHOICES_START_Y + i*CHOICES_SPACING_Y );
|
||||||
m_textChoice[i].SetShadowLength( CHOICES_SHADOW_LENGTH );
|
float fShadowLength = CHOICES_SHADOW_LENGTH;
|
||||||
|
m_textChoice[i].SetShadowLength( fShadowLength );
|
||||||
this->AddChild( &m_textChoice[i] );
|
this->AddChild( &m_textChoice[i] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
m_Fade.SetClosed();
|
m_Fade.SetClosed();
|
||||||
m_Fade.OpenWipingRight( SM_None );
|
m_Fade.OpenWipingRight( SM_None );
|
||||||
|
|
||||||
this->AddChild( &m_Fade );
|
this->AddChild( &m_Fade );
|
||||||
|
|
||||||
|
|
||||||
SOUND->PlayOnceStreamedFromDir( ANNOUNCER->GetPathTo("title menu game name") );
|
SOUND->PlayOnceStreamedFromDir( ANNOUNCER->GetPathTo("title menu game name") );
|
||||||
|
|
||||||
|
|
||||||
@@ -369,19 +370,6 @@ void ScreenTitleMenu::MenuStart( PlayerNumber pn )
|
|||||||
m_Fade.CloseWipingRight( SM_GoToNextScreen );
|
m_Fade.CloseWipingRight( SM_GoToNextScreen );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
/* case CHOICE_HELP:
|
|
||||||
m_soundSelect.PlayRandom();
|
|
||||||
PREFSMAN->m_bWindowed = false;
|
|
||||||
ApplyGraphicOptions();
|
|
||||||
GotoURL( "Docs/index.htm" );
|
|
||||||
return;
|
|
||||||
case CHOICE_CHECK_FOR_UPDATE:
|
|
||||||
m_soundSelect.PlayRandom();
|
|
||||||
PREFSMAN->m_bWindowed = false;
|
|
||||||
ApplyGraphicOptions();
|
|
||||||
GotoURL( "http://www.stepmania.com" );
|
|
||||||
return;
|
|
||||||
*/
|
|
||||||
case CHOICE_EXIT:
|
case CHOICE_EXIT:
|
||||||
m_soundSelect.PlayRandom();
|
m_soundSelect.PlayRandom();
|
||||||
PostQuitMessage(0);
|
PostQuitMessage(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user