no message

This commit is contained in:
Chris Danford
2002-05-20 08:59:37 +00:00
parent b8e01d8164
commit 8549236385
69 changed files with 8967 additions and 211 deletions
+67
View File
@@ -0,0 +1,67 @@
/*
-----------------------------------------------------------------------------
File: ScreenSelectStyle.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 "BitmapText.h"
#include "TransitionFade.h"
#include "Quad.h"
#include "RandomSample.h"
#include "Quad.h"
#include "TransitionKeepAlive.h"
#include "MenuElements.h"
const int NUM_STYLE_DANCERS = 7; // single, versus dancers, double, couple dancers, solo
const int NUM_STYLE_PADS = 5;
class ScreenSelectStyle : public Screen
{
public:
ScreenSelectStyle();
virtual ~ScreenSelectStyle();
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:
void BeforeChange();
void AfterChange();
MenuElements m_Menu;
Sprite m_sprDancer[NUM_STYLE_DANCERS];
Sprite m_sprPad[NUM_STYLE_PADS];
Sprite m_sprStyleIcon;
BitmapText m_textExplanation1;
BitmapText m_textExplanation2;
Quad m_rectCursor;
RandomSample m_soundChange;
RandomSample m_soundSelect;
int m_iSelectedStyle;
TransitionKeepAlive m_Fade;
};