Files
itgmania212121/stepmania/src/ScreenSelectMode.h
T

56 lines
1.4 KiB
C++
Raw Normal View History

2002-09-29 18:09:38 +00:00
/********************************
ScreenSelectMode.h
Desc: The "Style Select Screen" for Ez2dancer
Copyright (c):
Andrew Livy
*********************************/
/* Includes */
#include "ScreenSelect.h"
2002-09-29 18:09:38 +00:00
#include "Background.h"
#include "Screen.h"
#include "Sprite.h"
#include "Quad.h"
#include "MenuElements.h"
#include "ScrollingList.h"
#include "GameConstantsAndTypes.h"
#include "ModeChoice.h"
2003-04-22 14:32:48 +00:00
#include "BitmapText.h"
#include "RandomSample.h"
#include "BGAnimationLayer.h"
2002-09-29 18:09:38 +00:00
/* Class Definition */
#define MAX_ELEMS 30
class ScreenSelectMode : public ScreenSelect
2002-09-29 18:09:38 +00:00
{
public:
ScreenSelectMode(); // Constructor
virtual ~ScreenSelectMode(); // Destructor
virtual void MenuLeft( PlayerNumber pn );
virtual void MenuRight( PlayerNumber pn );
virtual void MenuStart( PlayerNumber pn );
virtual void Update( float fDelta );
2003-05-05 11:50:18 +00:00
virtual void HandleScreenMessage( const ScreenMessage SM );
2002-09-29 18:09:38 +00:00
protected:
virtual int GetSelectionIndex( PlayerNumber pn );
virtual void UpdateSelectableChoices();
void ChangeBGA();
int m_iNumChoices;
int m_iSelectableChoices[MAX_ELEMS];
RageSound m_soundModeChange;
RageSound m_soundConfirm;
RageSound m_soundStart;
CStringArray arrayLocations;
2002-09-29 18:09:38 +00:00
ScrollingList m_ScrollingList;
Sprite m_ChoiceListFrame;
Sprite m_ChoiceListHighlight;
Sprite m_sprJoinMessage[NUM_PLAYERS];
Sprite m_sprJoinFrame[NUM_PLAYERS];
Sprite m_Guide;
vector<BGAnimation*> m_Backgrounds;
bool m_bSelected;
2002-09-29 18:09:38 +00:00
};