2004-06-08 05:22:33 +00:00
|
|
|
/* ScreenEz2SelectMusic - A Scrolling List Of Song Banners used to select the song the player wants. */
|
|
|
|
|
|
2002-12-05 03:49:46 +00:00
|
|
|
#ifndef SCREENEZ2SELECTMUSIC_H
|
|
|
|
|
#define SCREENEZ2SELECTMUSIC_H
|
|
|
|
|
|
2004-05-01 23:19:33 +00:00
|
|
|
#include "ScreenWithMenuElements.h"
|
2002-09-06 17:34:46 +00:00
|
|
|
#include "Sprite.h"
|
|
|
|
|
#include "BitmapText.h"
|
2002-12-05 03:49:46 +00:00
|
|
|
#include "MusicBannerWheel.h"
|
2003-01-25 23:48:33 +00:00
|
|
|
#include "DifficultyRating.h"
|
2003-06-02 11:31:13 +00:00
|
|
|
#include "ModeSwitcher.h"
|
2005-06-30 22:41:22 +00:00
|
|
|
#include "RageTexturePreloader.h"
|
2005-10-30 21:39:49 +00:00
|
|
|
#include "RageSound.h"
|
2002-09-06 17:34:46 +00:00
|
|
|
|
2004-05-01 23:19:33 +00:00
|
|
|
class ScreenEz2SelectMusic : public ScreenWithMenuElements
|
2002-09-06 17:34:46 +00:00
|
|
|
{
|
|
|
|
|
public:
|
2003-09-27 22:30:51 +00:00
|
|
|
ScreenEz2SelectMusic( CString sName );
|
2005-02-23 06:29:05 +00:00
|
|
|
virtual void Init();
|
2002-09-06 17:34:46 +00:00
|
|
|
|
|
|
|
|
virtual void Update( float fDeltaTime );
|
2005-09-05 02:26:50 +00:00
|
|
|
virtual void Input( const InputEventPlus &input );
|
2002-09-06 17:34:46 +00:00
|
|
|
virtual void HandleScreenMessage( const ScreenMessage SM );
|
2002-12-20 19:05:54 +00:00
|
|
|
virtual void MenuStart( PlayerNumber pn );
|
2005-09-23 00:44:52 +00:00
|
|
|
virtual void MenuLeft( const InputEventPlus &input );
|
|
|
|
|
virtual void MenuRight( const InputEventPlus &input );
|
2002-12-20 19:05:54 +00:00
|
|
|
virtual void MenuBack( PlayerNumber pn );
|
|
|
|
|
|
2002-09-06 17:34:46 +00:00
|
|
|
protected:
|
2002-12-20 19:05:54 +00:00
|
|
|
void AfterNotesChange( PlayerNumber pn );
|
|
|
|
|
void MusicChanged();
|
|
|
|
|
|
|
|
|
|
void EasierDifficulty( PlayerNumber pn );
|
|
|
|
|
void HarderDifficulty( PlayerNumber pn );
|
|
|
|
|
|
2003-01-16 21:21:09 +00:00
|
|
|
void UpdateOptions( PlayerNumber pn, int nosound );
|
|
|
|
|
|
|
|
|
|
CString sOptions;
|
2005-12-09 21:36:22 +00:00
|
|
|
vector<CString> asOptions;
|
2003-01-16 17:10:19 +00:00
|
|
|
|
2003-01-15 21:25:47 +00:00
|
|
|
void TweenOffScreen();
|
|
|
|
|
|
2003-06-02 11:31:13 +00:00
|
|
|
ModeSwitcher m_ModeSwitcher;
|
2002-12-20 19:05:54 +00:00
|
|
|
Sprite m_ChoiceListFrame;
|
|
|
|
|
Sprite m_ChoiceListHighlight;
|
|
|
|
|
Sprite m_Guide;
|
2003-01-26 00:31:33 +00:00
|
|
|
Sprite m_sprOptionsMessage;
|
|
|
|
|
Sprite m_InfoFrame;
|
2002-12-30 20:19:18 +00:00
|
|
|
Sprite m_PumpDifficultyCircle;
|
2003-01-16 17:10:19 +00:00
|
|
|
Sprite m_SpeedIcon[NUM_PLAYERS];
|
2003-01-16 23:31:34 +00:00
|
|
|
Sprite m_MirrorIcon[NUM_PLAYERS];
|
|
|
|
|
Sprite m_ShuffleIcon[NUM_PLAYERS];
|
2003-05-04 13:58:45 +00:00
|
|
|
Sprite m_HiddenIcon[NUM_PLAYERS];
|
|
|
|
|
Sprite m_VanishIcon[NUM_PLAYERS];
|
2003-05-09 00:18:37 +00:00
|
|
|
Sprite m_sprBalloon;
|
2002-12-20 19:05:54 +00:00
|
|
|
BitmapText m_PumpDifficultyRating;
|
2003-05-09 20:28:27 +00:00
|
|
|
BitmapText m_CurrentGroup;
|
2003-09-10 20:59:53 +00:00
|
|
|
BitmapText m_CurrentTitle;
|
|
|
|
|
BitmapText m_CurrentSubTitle;
|
|
|
|
|
BitmapText m_CurrentArtist;
|
|
|
|
|
|
2003-01-16 21:21:09 +00:00
|
|
|
|
|
|
|
|
RageSound m_soundOptionsChange;
|
|
|
|
|
RageSound m_soundMusicChange;
|
|
|
|
|
RageSound m_soundMusicCycle;
|
2003-06-11 19:40:47 +00:00
|
|
|
RageSound m_soundBackMusic;
|
|
|
|
|
RageSound m_soundButtonPress;
|
2003-01-16 21:21:09 +00:00
|
|
|
|
2003-04-22 14:32:48 +00:00
|
|
|
float m_fRemainingWaitTime;
|
2002-12-05 03:49:46 +00:00
|
|
|
MusicBannerWheel m_MusicBannerWheel;
|
2003-01-25 23:48:33 +00:00
|
|
|
DifficultyRating m_DifficultyRating;
|
2003-08-03 00:13:55 +00:00
|
|
|
vector<Steps*> m_arrayNotes[NUM_PLAYERS];
|
2003-06-11 19:40:47 +00:00
|
|
|
|
2002-12-20 19:05:54 +00:00
|
|
|
int m_iSelection[NUM_PLAYERS];
|
2002-12-29 23:24:53 +00:00
|
|
|
bool m_bGoToOptions;
|
|
|
|
|
bool m_bMadeChoice;
|
2003-04-22 14:32:48 +00:00
|
|
|
bool m_bTransitioning;
|
2003-06-11 19:40:47 +00:00
|
|
|
bool m_bScanning;
|
2003-05-09 00:18:37 +00:00
|
|
|
|
|
|
|
|
int i_SkipAheadOffset;
|
|
|
|
|
float ScrollStartTime;
|
2003-06-11 19:40:47 +00:00
|
|
|
float LastInputTime;
|
2003-05-09 00:18:37 +00:00
|
|
|
|
2002-12-29 23:24:53 +00:00
|
|
|
int i_ErrorDetected;
|
|
|
|
|
|
2003-01-16 21:21:09 +00:00
|
|
|
int iConfirmSelection;
|
2005-06-30 22:41:22 +00:00
|
|
|
|
|
|
|
|
RageTexturePreloader m_TexturePreload;
|
2002-09-06 17:34:46 +00:00
|
|
|
};
|
2002-09-06 23:47:14 +00:00
|
|
|
|
2002-12-05 03:49:46 +00:00
|
|
|
#endif
|
2004-06-08 05:22:33 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* (c) 2002-2003 "Frieza"
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
|
* copy of this software and associated documentation files (the
|
|
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
|
* distribute, and/or sell copies of the Software, and to permit persons to
|
|
|
|
|
* whom the Software is furnished to do so, provided that the above
|
|
|
|
|
* copyright notice(s) and this permission notice appear in all copies of
|
|
|
|
|
* the Software and that both the above copyright notice(s) and this
|
|
|
|
|
* permission notice appear in supporting documentation.
|
|
|
|
|
*
|
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
|
|
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
|
|
|
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
|
|
|
|
|
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
|
|
|
|
|
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
|
|
|
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
|
|
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
*/
|