Files
itgmania212121/stepmania/src/ScreenEz2SelectStyle.h
T
2002-08-29 20:18:41 +00:00

60 lines
1.4 KiB
C++

/********************************
ScreenEz2SelectStyle.h
Desc: The "Style Select Screen" for Ez2dancer
Copyright (c):
Andrew Livy
*********************************/
/* Includes */
#include "Background.h"
#include "Screen.h"
#include "Sprite.h"
#include "BitmapText.h"
#include "TransitionFade.h"
#include "Quad.h"
#include "RandomSample.h"
#include "Quad.h"
#include "MenuElements.h"
#include "ScrollingList.h"
/* Class Definition */
class ScreenEz2SelectStyle : public Screen
{
public:
ScreenEz2SelectStyle(); // Constructor
virtual ~ScreenEz2SelectStyle(); // Destructor
/* Public Function Prototypes */
virtual void Update( float fDeltaTime );
virtual void DrawPrimitives();
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
virtual void HandleScreenMessage( const ScreenMessage SM );
void MenuLeft( PlayerNumber p );
void MenuRight( PlayerNumber p );
void MenuStart( PlayerNumber p );
void MenuBack( PlayerNumber p );
void MenuDown( PlayerNumber p );
protected:
void TweenOffScreen();
void TweenOnScreen();
Sprite m_sprCursors[NUM_PLAYERS];
Sprite m_sprControllers[NUM_PLAYERS];
CArray<Style,Style> m_aPossibleStyles;
ScrollingList m_ScrollingList;
void RefreshStylesAndList();
Sprite m_sprBackgrounds[NUM_STYLES];
MenuElements m_Menu;
RageSoundSample m_soundSelect;
RageSoundSample m_soundChange;
};