Files
itgmania212121/stepmania/src/ScreenSelectDifficulty.h
T
2002-05-20 08:59:37 +00:00

60 lines
1.4 KiB
C++

/*
-----------------------------------------------------------------------------
File: ScreenSelectDifficulty.h
Desc: Select the game mode (single, versus, double).
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
-----------------------------------------------------------------------------
*/
#include "Screen.h"
#include "Sprite.h"
#include "TransitionKeepAlive.h"
#include "RandomSample.h"
#include "Screen.h"
#include "Quad.h"
#include "MenuElements.h"
class ScreenSelectDifficulty : public Screen
{
public:
ScreenSelectDifficulty();
virtual ~ScreenSelectDifficulty();
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 TweenOffScreen();
void TweenOnScreen();
private:
MenuElements m_Menu;
Sprite m_sprDifficultyHeader[NUM_DIFFICULTY_CLASSES];
Sprite m_sprDifficultyPicture[NUM_DIFFICULTY_CLASSES];
Sprite m_sprArrow[NUM_PLAYERS];
Sprite m_sprArrowShadow[NUM_PLAYERS];
Sprite m_sprOK[NUM_PLAYERS];
Sprite m_sprExplanation;
RandomSample m_soundChange;
RandomSample m_soundSelect;
int m_iSelection[NUM_PLAYERS];
bool m_bChosen[NUM_PLAYERS];
TransitionKeepAlive m_Fade;
};