2002-05-20 08:59:37 +00:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
2002-05-28 20:01:22 +00:00
|
|
|
Class: ScreenTitleMenu
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2002-05-28 20:01:22 +00:00
|
|
|
Desc: See header.
|
2002-05-20 08:59:37 +00:00
|
|
|
|
|
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
2002-05-28 20:01:22 +00:00
|
|
|
Chris Danford
|
2002-05-20 08:59:37 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "ScreenTitleMenu.h"
|
|
|
|
|
#include "ScreenManager.h"
|
|
|
|
|
#include "GameConstantsAndTypes.h"
|
|
|
|
|
#include "RageUtil.h"
|
|
|
|
|
#include "StepMania.h"
|
2002-07-23 01:41:40 +00:00
|
|
|
#include "PrefsManager.h"
|
2002-05-20 08:59:37 +00:00
|
|
|
#include "RageLog.h"
|
|
|
|
|
#include "SongManager.h"
|
|
|
|
|
#include "AnnouncerManager.h"
|
2002-07-23 01:41:40 +00:00
|
|
|
#include "GameState.h"
|
2002-05-28 20:01:22 +00:00
|
|
|
#include "GameManager.h"
|
2002-08-27 03:59:22 +00:00
|
|
|
#include "InputMapper.h"
|
2002-11-11 04:53:31 +00:00
|
|
|
#include "ThemeManager.h"
|
2002-11-12 07:04:45 +00:00
|
|
|
#include "SDL_Utils.h"
|
2003-01-02 07:54:28 +00:00
|
|
|
#include "RageSoundManager.h"
|
|
|
|
|
|
2002-05-20 08:59:37 +00:00
|
|
|
|
|
|
|
|
const CString CHOICE_TEXT[ScreenTitleMenu::NUM_TITLE_MENU_CHOICES] = {
|
2002-05-28 20:01:22 +00:00
|
|
|
"GAME START",
|
2002-05-27 08:23:27 +00:00
|
|
|
"SWITCH GAME",
|
2002-07-03 21:27:26 +00:00
|
|
|
"CONFIG KEY/JOY",
|
2002-09-10 09:10:36 +00:00
|
|
|
"INPUT OPTIONS",
|
|
|
|
|
"MACHINE OPTIONS",
|
2002-08-13 23:26:46 +00:00
|
|
|
"GRAPHIC OPTIONS",
|
2002-07-11 19:02:26 +00:00
|
|
|
"APPEARANCE OPTIONS",
|
2002-06-29 11:59:09 +00:00
|
|
|
"EDIT/RECORD/SYNCH",
|
2002-11-19 22:55:51 +00:00
|
|
|
#ifdef _DEBUG
|
|
|
|
|
"SANDBOX",
|
|
|
|
|
#endif
|
2002-05-20 08:59:37 +00:00
|
|
|
"EXIT",
|
|
|
|
|
};
|
|
|
|
|
|
2003-01-11 08:55:21 +00:00
|
|
|
#define HELP_X THEME->GetMetricF("ScreenTitleMenu","HelpX")
|
|
|
|
|
#define HELP_Y THEME->GetMetricF("ScreenTitleMenu","HelpY")
|
2002-08-27 03:59:22 +00:00
|
|
|
#define CHOICES_X THEME->GetMetricF("ScreenTitleMenu","ChoicesX")
|
|
|
|
|
#define CHOICES_START_Y THEME->GetMetricF("ScreenTitleMenu","ChoicesStartY")
|
|
|
|
|
#define CHOICES_SPACING_Y THEME->GetMetricF("ScreenTitleMenu","ChoicesSpacingY")
|
2002-09-10 21:16:34 +00:00
|
|
|
#define CHOICES_SHADOW_LENGTH THEME->GetMetricF("ScreenTitleMenu","ChoicesShadowLength")
|
2002-08-27 03:59:22 +00:00
|
|
|
#define COLOR_NOT_SELECTED THEME->GetMetricC("ScreenTitleMenu","ColorNotSelected")
|
|
|
|
|
#define COLOR_SELECTED THEME->GetMetricC("ScreenTitleMenu","ColorSelected")
|
2002-09-03 22:31:06 +00:00
|
|
|
#define ZOOM_NOT_SELECTED THEME->GetMetricF("ScreenTitleMenu","ZoomNotSelected")
|
|
|
|
|
#define ZOOM_SELECTED THEME->GetMetricF("ScreenTitleMenu","ZoomSelected")
|
2003-01-11 08:55:21 +00:00
|
|
|
#define SECONDS_BETWEEN_COMMENTS THEME->GetMetricF("ScreenTitleMenu","SecondsBetweenComments")
|
|
|
|
|
#define SECONDS_BEFORE_ATTRACT THEME->GetMetricF("ScreenTitleMenu","SecondsBeforeAttract")
|
2002-08-27 03:59:22 +00:00
|
|
|
#define HELP_TEXT THEME->GetMetric("ScreenTitleMenu","HelpText")
|
|
|
|
|
#define NEXT_SCREEN THEME->GetMetric("ScreenTitleMenu","NextScreen")
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2003-01-11 08:55:21 +00:00
|
|
|
const ScreenMessage SM_PlayComment = ScreenMessage(SM_User+1);
|
2002-08-13 23:26:46 +00:00
|
|
|
const ScreenMessage SM_GoToNextScreen = ScreenMessage(SM_User+12);
|
2003-01-10 02:22:07 +00:00
|
|
|
const ScreenMessage SM_GoToAttractLoop = ScreenMessage(SM_User+13);
|
2002-08-02 09:31:06 +00:00
|
|
|
|
|
|
|
|
|
2002-05-20 08:59:37 +00:00
|
|
|
ScreenTitleMenu::ScreenTitleMenu()
|
|
|
|
|
{
|
2002-07-31 19:40:40 +00:00
|
|
|
LOG->Trace( "ScreenTitleMenu::ScreenTitleMenu()" );
|
2003-01-11 08:55:21 +00:00
|
|
|
}
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2003-01-11 08:55:21 +00:00
|
|
|
void ScreenTitleMenu::FirstUpdate()
|
|
|
|
|
{
|
|
|
|
|
LOG->Trace( "ScreenTitleMenu::FirstUpdate()" );
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2003-01-11 08:55:21 +00:00
|
|
|
ScreenLogo::FirstUpdate();
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2003-01-11 08:55:21 +00:00
|
|
|
// we have to do init here because ScreenLogo does it's initialization in FirstUpdate()
|
2002-08-20 21:00:56 +00:00
|
|
|
m_textHelp.LoadFromFont( THEME->GetPathTo("Fonts","help") );
|
|
|
|
|
m_textHelp.SetText( HELP_TEXT );
|
2002-08-13 23:26:46 +00:00
|
|
|
m_textHelp.SetXY( HELP_X, HELP_Y );
|
2002-05-20 08:59:37 +00:00
|
|
|
m_textHelp.SetZoom( 0.5f );
|
|
|
|
|
m_textHelp.SetEffectBlinking();
|
|
|
|
|
m_textHelp.SetShadowLength( 2 );
|
2002-09-02 21:59:58 +00:00
|
|
|
this->AddChild( &m_textHelp );
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2002-10-08 08:53:38 +00:00
|
|
|
int i;
|
|
|
|
|
for( i=0; i< NUM_TITLE_MENU_CHOICES; i++ )
|
2002-05-20 08:59:37 +00:00
|
|
|
{
|
2002-09-03 22:31:06 +00:00
|
|
|
m_textChoice[i].LoadFromFont( THEME->GetPathTo("Fonts","titlemenu") );
|
2002-05-20 08:59:37 +00:00
|
|
|
m_textChoice[i].SetText( CHOICE_TEXT[i] );
|
2002-08-13 23:26:46 +00:00
|
|
|
m_textChoice[i].SetXY( CHOICES_X, CHOICES_START_Y + i*CHOICES_SPACING_Y );
|
2002-10-08 08:53:38 +00:00
|
|
|
float fShadowLength = CHOICES_SHADOW_LENGTH;
|
|
|
|
|
m_textChoice[i].SetShadowLength( fShadowLength );
|
2002-09-02 21:59:58 +00:00
|
|
|
this->AddChild( &m_textChoice[i] );
|
2002-05-20 08:59:37 +00:00
|
|
|
}
|
2002-10-08 08:53:38 +00:00
|
|
|
|
2003-01-02 08:13:34 +00:00
|
|
|
SOUNDMAN->PlayOnceFromDir( ANNOUNCER->GetPathTo("title menu game name") );
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2002-07-23 01:41:40 +00:00
|
|
|
|
2002-08-27 23:31:41 +00:00
|
|
|
m_soundAttract.Load( ANNOUNCER->GetPathTo("title menu attract") );
|
2002-08-13 23:26:46 +00:00
|
|
|
m_soundChange.Load( THEME->GetPathTo("Sounds","title menu change") );
|
|
|
|
|
m_soundSelect.Load( THEME->GetPathTo("Sounds","menu start") );
|
|
|
|
|
m_soundInvalid.Load( THEME->GetPathTo("Sounds","menu invalid") );
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2002-05-28 20:01:22 +00:00
|
|
|
m_TitleMenuChoice = CHOICE_GAME_START;
|
2002-09-03 22:31:06 +00:00
|
|
|
|
|
|
|
|
for( i=0; i<NUM_TITLE_MENU_CHOICES; i++ )
|
|
|
|
|
LoseFocus( i );
|
2002-05-20 08:59:37 +00:00
|
|
|
GainFocus( m_TitleMenuChoice );
|
2002-07-05 22:10:00 +00:00
|
|
|
|
2003-01-11 08:55:21 +00:00
|
|
|
m_soundMusic.Stop();
|
|
|
|
|
|
2003-01-02 07:39:58 +00:00
|
|
|
SOUNDMAN->PlayMusic( THEME->GetPathTo("Sounds","title menu music") );
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2003-01-11 08:55:21 +00:00
|
|
|
this->SendScreenMessage( SM_PlayComment, SECONDS_BETWEEN_COMMENTS);
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2003-01-11 08:55:21 +00:00
|
|
|
this->MoveToBack( &(ScreenAttract::m_Fade) ); // put it in the back so it covers up the stuff we just added
|
|
|
|
|
}
|
2002-05-20 08:59:37 +00:00
|
|
|
|
|
|
|
|
ScreenTitleMenu::~ScreenTitleMenu()
|
|
|
|
|
{
|
2002-07-31 19:40:40 +00:00
|
|
|
LOG->Trace( "ScreenTitleMenu::~ScreenTitleMenu()" );
|
2002-05-20 08:59:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI )
|
|
|
|
|
{
|
2002-09-06 00:31:25 +00:00
|
|
|
// LOG->Trace( "ScreenTitleMenu::Input()" );
|
2003-01-09 07:46:45 +00:00
|
|
|
LOG->Trace( "ScreenTitleMenu::Input( %d-%d )", DeviceI.device, DeviceI.button ); // debugging gameport joystick problem
|
2002-05-20 08:59:37 +00:00
|
|
|
|
|
|
|
|
if( m_Fade.IsClosing() )
|
|
|
|
|
return;
|
2003-01-07 01:23:41 +00:00
|
|
|
|
2002-05-20 08:59:37 +00:00
|
|
|
Screen::Input( DeviceI, type, GameI, MenuI, StyleI );
|
|
|
|
|
}
|
|
|
|
|
|
2003-01-07 01:37:21 +00:00
|
|
|
void ScreenTitleMenu::Update( float fDelta )
|
|
|
|
|
{
|
2003-01-11 08:55:21 +00:00
|
|
|
if(TimeToDemonstration.PeekDeltaTime() >= SECONDS_BEFORE_ATTRACT)
|
|
|
|
|
{
|
|
|
|
|
this->SendScreenMessage( SM_GoToAttractLoop, 0 );
|
|
|
|
|
TimeToDemonstration.GetDeltaTime();
|
|
|
|
|
}
|
|
|
|
|
|
2003-01-07 01:37:21 +00:00
|
|
|
Screen::Update(fDelta);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2002-05-20 08:59:37 +00:00
|
|
|
void ScreenTitleMenu::HandleScreenMessage( const ScreenMessage SM )
|
|
|
|
|
{
|
|
|
|
|
switch( SM )
|
|
|
|
|
{
|
2003-01-11 08:55:21 +00:00
|
|
|
case SM_PlayComment:
|
2002-08-03 18:40:09 +00:00
|
|
|
m_soundAttract.PlayRandom();
|
2003-01-11 08:55:21 +00:00
|
|
|
this->SendScreenMessage( SM_PlayComment, SECONDS_BETWEEN_COMMENTS );
|
2002-08-03 18:40:09 +00:00
|
|
|
break;
|
2002-08-13 23:26:46 +00:00
|
|
|
case SM_GoToNextScreen:
|
|
|
|
|
switch( m_TitleMenuChoice )
|
|
|
|
|
{
|
|
|
|
|
case CHOICE_GAME_START:
|
2002-08-27 03:59:22 +00:00
|
|
|
SCREENMAN->SetNewScreen( NEXT_SCREEN );
|
2002-08-13 23:26:46 +00:00
|
|
|
break;
|
|
|
|
|
case CHOICE_SELECT_GAME:
|
2002-08-27 03:59:22 +00:00
|
|
|
SCREENMAN->SetNewScreen( "ScreenSelectGame" );
|
2002-08-13 23:26:46 +00:00
|
|
|
break;
|
|
|
|
|
case CHOICE_MAP_INSTRUMENTS:
|
2002-09-24 02:55:32 +00:00
|
|
|
SCREENMAN->SetNewScreen( "ScreenMapControllers" );
|
2002-08-13 23:26:46 +00:00
|
|
|
break;
|
2002-09-10 09:10:36 +00:00
|
|
|
case CHOICE_INPUT_OPTIONS:
|
|
|
|
|
SCREENMAN->SetNewScreen( "ScreenInputOptions" );
|
|
|
|
|
break;
|
|
|
|
|
case CHOICE_MACHINE_OPTIONS:
|
|
|
|
|
SCREENMAN->SetNewScreen( "ScreenMachineOptions" );
|
2002-08-13 23:26:46 +00:00
|
|
|
break;
|
|
|
|
|
case CHOICE_GRAPHIC_OPTIONS:
|
2002-08-27 03:59:22 +00:00
|
|
|
SCREENMAN->SetNewScreen( "ScreenGraphicOptions" );
|
2002-08-13 23:26:46 +00:00
|
|
|
break;
|
|
|
|
|
case CHOICE_APPEARANCE_OPTIONS:
|
2002-08-27 03:59:22 +00:00
|
|
|
SCREENMAN->SetNewScreen( "ScreenAppearanceOptions" );
|
2002-08-13 23:26:46 +00:00
|
|
|
break;
|
2002-11-19 22:55:51 +00:00
|
|
|
#ifdef _DEBUG
|
|
|
|
|
case CHOICE_SANDBOX:
|
2003-01-09 04:45:49 +00:00
|
|
|
SCREENMAN->SetNewScreen( "ScreenTest" );
|
2002-11-19 22:55:51 +00:00
|
|
|
break;
|
|
|
|
|
#endif
|
2002-08-13 23:26:46 +00:00
|
|
|
case CHOICE_EDIT:
|
2002-08-27 03:59:22 +00:00
|
|
|
SCREENMAN->SetNewScreen( "ScreenEditMenu" );
|
2002-08-13 23:26:46 +00:00
|
|
|
break;
|
|
|
|
|
case CHOICE_EXIT:
|
|
|
|
|
default:
|
2002-12-28 22:26:06 +00:00
|
|
|
RAGE_ASSERT_M(0, "CHOICE_EXIT reached?"); // should never get here
|
2002-08-13 23:26:46 +00:00
|
|
|
break;
|
|
|
|
|
}
|
2002-06-23 11:43:53 +00:00
|
|
|
break;
|
2003-01-10 02:22:07 +00:00
|
|
|
case SM_GoToAttractLoop:
|
|
|
|
|
SCREENMAN->SetNewScreen( "ScreenCompany" );
|
2002-08-02 09:31:06 +00:00
|
|
|
break;
|
2002-05-20 08:59:37 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void ScreenTitleMenu::LoseFocus( int iChoiceIndex )
|
|
|
|
|
{
|
|
|
|
|
m_textChoice[iChoiceIndex].SetEffectNone();
|
2002-09-02 21:59:58 +00:00
|
|
|
m_textChoice[iChoiceIndex].StopTweening();
|
2002-05-20 08:59:37 +00:00
|
|
|
m_textChoice[iChoiceIndex].BeginTweening( 0.3f );
|
2002-09-03 22:31:06 +00:00
|
|
|
m_textChoice[iChoiceIndex].SetTweenZoom( ZOOM_NOT_SELECTED );
|
2002-05-20 08:59:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ScreenTitleMenu::GainFocus( int iChoiceIndex )
|
|
|
|
|
{
|
2002-09-02 21:59:58 +00:00
|
|
|
m_textChoice[iChoiceIndex].StopTweening();
|
2002-05-20 08:59:37 +00:00
|
|
|
m_textChoice[iChoiceIndex].BeginTweening( 0.3f );
|
2002-09-03 22:31:06 +00:00
|
|
|
m_textChoice[iChoiceIndex].SetTweenZoom( ZOOM_SELECTED );
|
2002-10-28 05:30:45 +00:00
|
|
|
RageColor color1, color2;
|
2002-08-13 23:26:46 +00:00
|
|
|
color1 = COLOR_SELECTED;
|
|
|
|
|
color2 = color1 * 0.5f;
|
|
|
|
|
color2.a = 1;
|
|
|
|
|
m_textChoice[iChoiceIndex].SetEffectCamelion( 2.5f, color1, color2 );
|
2002-05-20 08:59:37 +00:00
|
|
|
}
|
|
|
|
|
|
2002-09-04 03:49:08 +00:00
|
|
|
void ScreenTitleMenu::MenuUp( PlayerNumber pn )
|
2002-05-20 08:59:37 +00:00
|
|
|
{
|
2003-01-11 08:55:21 +00:00
|
|
|
TimeToDemonstration.GetDeltaTime(); /* Reset the demonstration timer when a key is pressed. */
|
|
|
|
|
|
2002-05-20 08:59:37 +00:00
|
|
|
LoseFocus( m_TitleMenuChoice );
|
|
|
|
|
|
|
|
|
|
if( m_TitleMenuChoice == 0 ) // wrap around
|
|
|
|
|
m_TitleMenuChoice = (ScreenTitleMenu::TitleMenuChoice)((int)NUM_TITLE_MENU_CHOICES);
|
|
|
|
|
|
|
|
|
|
m_TitleMenuChoice = TitleMenuChoice( m_TitleMenuChoice-1 );
|
|
|
|
|
|
2002-09-03 22:31:06 +00:00
|
|
|
m_soundChange.PlayRandom();
|
|
|
|
|
|
2002-05-20 08:59:37 +00:00
|
|
|
GainFocus( m_TitleMenuChoice );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2002-09-04 03:49:08 +00:00
|
|
|
void ScreenTitleMenu::MenuDown( PlayerNumber pn )
|
2002-05-20 08:59:37 +00:00
|
|
|
{
|
2003-01-11 08:55:21 +00:00
|
|
|
TimeToDemonstration.GetDeltaTime(); /* Reset the demonstration timer when a key is pressed. */
|
|
|
|
|
|
2002-05-20 08:59:37 +00:00
|
|
|
LoseFocus( m_TitleMenuChoice );
|
|
|
|
|
|
|
|
|
|
if( m_TitleMenuChoice == (int)ScreenTitleMenu::NUM_TITLE_MENU_CHOICES-1 )
|
|
|
|
|
m_TitleMenuChoice = (TitleMenuChoice)-1; // wrap around
|
|
|
|
|
|
|
|
|
|
m_TitleMenuChoice = TitleMenuChoice( m_TitleMenuChoice+1 );
|
|
|
|
|
|
2002-09-03 22:31:06 +00:00
|
|
|
m_soundChange.PlayRandom();
|
|
|
|
|
|
2002-05-20 08:59:37 +00:00
|
|
|
GainFocus( m_TitleMenuChoice );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2002-09-04 03:49:08 +00:00
|
|
|
void ScreenTitleMenu::MenuStart( PlayerNumber pn )
|
2002-05-20 08:59:37 +00:00
|
|
|
{
|
2002-09-04 03:49:08 +00:00
|
|
|
GAMESTATE->m_bSideIsJoined[pn] = true;
|
|
|
|
|
GAMESTATE->m_MasterPlayerNumber = pn;
|
2002-08-13 23:26:46 +00:00
|
|
|
|
|
|
|
|
GAMESTATE->m_bPlayersCanJoin = false;
|
|
|
|
|
|
2002-05-20 08:59:37 +00:00
|
|
|
|
|
|
|
|
switch( m_TitleMenuChoice )
|
|
|
|
|
{
|
2002-05-28 20:01:22 +00:00
|
|
|
case CHOICE_GAME_START:
|
2002-05-20 08:59:37 +00:00
|
|
|
case CHOICE_SELECT_GAME:
|
|
|
|
|
case CHOICE_MAP_INSTRUMENTS:
|
2002-09-10 09:10:36 +00:00
|
|
|
case CHOICE_INPUT_OPTIONS:
|
|
|
|
|
case CHOICE_MACHINE_OPTIONS:
|
2002-08-13 23:26:46 +00:00
|
|
|
case CHOICE_GRAPHIC_OPTIONS:
|
2002-07-11 19:02:26 +00:00
|
|
|
case CHOICE_APPEARANCE_OPTIONS:
|
2002-11-19 22:55:51 +00:00
|
|
|
#ifdef _DEBUG
|
|
|
|
|
case CHOICE_SANDBOX:
|
|
|
|
|
#endif
|
2002-07-11 19:02:26 +00:00
|
|
|
m_soundSelect.PlayRandom();
|
2002-08-13 23:26:46 +00:00
|
|
|
m_Fade.CloseWipingRight( SM_GoToNextScreen );
|
|
|
|
|
break;
|
2002-05-20 08:59:37 +00:00
|
|
|
case CHOICE_EDIT:
|
2002-10-31 03:16:02 +00:00
|
|
|
if( SONGMAN->m_pSongs.empty() )
|
2002-07-04 21:05:18 +00:00
|
|
|
{
|
|
|
|
|
m_soundInvalid.PlayRandom();
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
m_soundSelect.PlayRandom();
|
2002-08-13 23:26:46 +00:00
|
|
|
m_Fade.CloseWipingRight( SM_GoToNextScreen );
|
2002-07-04 21:05:18 +00:00
|
|
|
}
|
2002-08-13 23:26:46 +00:00
|
|
|
break;
|
2002-11-12 07:04:45 +00:00
|
|
|
case CHOICE_EXIT: {
|
2002-05-20 08:59:37 +00:00
|
|
|
m_soundSelect.PlayRandom();
|
2003-01-10 02:22:07 +00:00
|
|
|
Exit();
|
2002-12-28 22:26:06 +00:00
|
|
|
LOG->Trace("CHOICE_EXIT: shutting down");
|
2002-11-12 07:04:45 +00:00
|
|
|
}
|
2002-05-20 08:59:37 +00:00
|
|
|
return;
|
2002-07-11 19:02:26 +00:00
|
|
|
default:
|
|
|
|
|
ASSERT(0);
|
2002-05-20 08:59:37 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2002-09-04 03:49:08 +00:00
|
|
|
void ScreenTitleMenu::MenuBack( PlayerNumber pn )
|
2003-01-10 02:22:07 +00:00
|
|
|
{
|
|
|
|
|
this->m_Fade.CloseWipingRight( SM_GoToAttractLoop );
|
2002-05-20 08:59:37 +00:00
|
|
|
}
|
|
|
|
|
|