Files
itgmania212121/stepmania/src/ScreenEz2SelectMusic.h
T

90 lines
2.3 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.
Andrew Livy
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"
2003-03-30 18:12:57 +00:00
#include "HelpDisplay.h"
#include "MusicBannerWheel.h"
#include "MenuElements.h"
2003-03-09 00:55:49 +00:00
#include "DifficultyMeter.h"
#include "DifficultyRating.h"
2002-09-06 17:34:46 +00:00
class ScreenEz2SelectMusic : public Screen
{
public:
ScreenEz2SelectMusic();
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();
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];
BitmapText m_PumpDifficultyRating;
RageSound m_soundOptionsChange;
RageSound m_soundMusicChange;
RageSound m_soundMusicCycle;
MusicBannerWheel m_MusicBannerWheel;
MenuElements m_Menu;
DifficultyRating m_DifficultyRating;
2003-03-09 00:55:49 +00:00
// DifficultyMeter m_DifficultyMeter[NUM_PLAYERS];
2003-01-03 05:56:28 +00:00
vector<Notes*> m_arrayNotes[NUM_PLAYERS];
int m_iSelection[NUM_PLAYERS];
bool m_bGoToOptions;
bool m_bMadeChoice;
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