Files
itgmania212121/stepmania/src/ScreenEz2SelectMusic.h
T

107 lines
2.7 KiB
C++
Raw Normal View History

#ifndef SCREENEZ2SELECTMUSIC_H
#define SCREENEZ2SELECTMUSIC_H
2002-09-06 17:34:46 +00:00
/*
-----------------------------------------------------------------------------
Class: ScreenEz2SelectMusic
2002-09-06 17:34:46 +00:00
Desc: A Scrolling List Of Song Banners used to select the song the player wants.
2002-09-06 17:34:46 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
2003-12-14 08:11:05 +00:00
Frieza
2002-09-06 17:34:46 +00:00
-----------------------------------------------------------------------------
*/
2002-09-06 17:34:46 +00:00
#include "Screen.h"
#include "Sprite.h"
#include "BitmapText.h"
#include "MenuElements.h"
#include "MusicBannerWheel.h"
#include "MenuElements.h"
#include "DifficultyRating.h"
#include "ModeSwitcher.h"
2002-09-06 17:34:46 +00:00
class ScreenEz2SelectMusic : public Screen
{
public:
2003-09-27 22:30:51 +00:00
ScreenEz2SelectMusic( CString sName );
2002-09-06 17:34:46 +00:00
virtual void DrawPrimitives();
virtual void Update( float fDeltaTime );
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
virtual void HandleScreenMessage( const ScreenMessage SM );
virtual void MenuStart( PlayerNumber pn );
virtual void MenuLeft( PlayerNumber pn, const InputEventType type );
virtual void MenuRight( PlayerNumber pn, const InputEventType type );
virtual void MenuBack( PlayerNumber pn );
2002-09-06 17:34:46 +00:00
protected:
void AfterNotesChange( PlayerNumber pn );
void MusicChanged();
void EasierDifficulty( PlayerNumber pn );
void HarderDifficulty( PlayerNumber pn );
void UpdateOptions( PlayerNumber pn, int nosound );
CString sOptions;
CStringArray asOptions;
2003-01-16 17:10:19 +00:00
2003-01-15 21:25:47 +00:00
void TweenOffScreen();
ModeSwitcher m_ModeSwitcher;
Sprite m_ChoiceListFrame;
Sprite m_ChoiceListHighlight;
Sprite m_Guide;
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];
Sprite m_MirrorIcon[NUM_PLAYERS];
Sprite m_ShuffleIcon[NUM_PLAYERS];
Sprite m_HiddenIcon[NUM_PLAYERS];
Sprite m_VanishIcon[NUM_PLAYERS];
Sprite m_sprBalloon;
BitmapText m_PumpDifficultyRating;
BitmapText m_CurrentGroup;
BitmapText m_CurrentTitle;
BitmapText m_CurrentSubTitle;
BitmapText m_CurrentArtist;
RageSound m_soundOptionsChange;
RageSound m_soundMusicChange;
RageSound m_soundMusicCycle;
RageSound m_soundBackMusic;
RageSound m_soundButtonPress;
2003-04-22 14:32:48 +00:00
float m_fRemainingWaitTime;
MusicBannerWheel m_MusicBannerWheel;
MenuElements m_Menu;
DifficultyRating m_DifficultyRating;
2003-08-03 00:13:55 +00:00
vector<Steps*> m_arrayNotes[NUM_PLAYERS];
int m_iSelection[NUM_PLAYERS];
bool m_bGoToOptions;
bool m_bMadeChoice;
2003-04-22 14:32:48 +00:00
bool m_bTransitioning;
bool m_bScanning;
int i_SkipAheadOffset;
float ScrollStartTime;
float LastInputTime;
int i_ErrorDetected;
2003-02-15 05:15:24 +00:00
#ifdef DEBUG
BitmapText m_debugtext;
#endif
int iConfirmSelection;
2003-01-02 08:13:34 +00:00
RageSound m_soundSelect;
2002-09-06 17:34:46 +00:00
};
#endif