75 lines
1.8 KiB
C++
75 lines
1.8 KiB
C++
/*
|
|||
|
|
-----------------------------------------------------------------------------
|
||
|
|
File: ScreenSelectMusic.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 "RandomStream.h"
|
||
|
|
#include "GameConstantsAndTypes.h"
|
||
|
|
#include "MusicWheel.h"
|
||
|
|
#include "Banner.h"
|
||
|
|
#include "TransitionKeepAlive.h"
|
||
|
|
#include "SongInfoFrame.h"
|
||
|
|
#include "MenuElements.h"
|
||
|
|
#include "GrooveRadar.h"
|
||
|
|
#include "DifficultyIcon.h"
|
||
|
|
#include "FootMeter.h"
|
||
|
|
|
||
|
|
|
||
|
|
class ScreenSelectMusic : public Screen
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
ScreenSelectMusic();
|
||
|
|
virtual ~ScreenSelectMusic();
|
||
|
|
|
||
|
|
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 TweenOnScreen();
|
||
|
|
void TweenOffScreen();
|
||
|
|
|
||
|
|
void MenuLeft( PlayerNumber p );
|
||
|
|
void MenuRight( PlayerNumber p );
|
||
|
|
void EasierDifficulty( PlayerNumber p );
|
||
|
|
void HarderDifficulty( PlayerNumber p );
|
||
|
|
void MenuStart( PlayerNumber p );
|
||
|
|
void MenuBack( PlayerNumber p );
|
||
|
|
|
||
|
|
protected:
|
||
|
|
void AfterNotesChange( PlayerNumber p );
|
||
|
|
void AfterMusicChange();
|
||
|
|
void PlayMusicSample();
|
||
|
|
|
||
|
|
CArray<Notes*, Notes*> m_arrayNotes;
|
||
|
|
int m_iSelection[NUM_PLAYERS];
|
||
|
|
|
||
|
|
MenuElements m_Menu;
|
||
|
|
|
||
|
|
SongInfoFrame m_SongInfoFrame;
|
||
|
|
Sprite m_sprDifficultyFrame;
|
||
|
|
DifficultyIcon m_DifficultyIcon[NUM_PLAYERS];
|
||
|
|
GrooveRadar m_GrooveRadar;
|
||
|
|
Sprite m_sprMeterFrame;
|
||
|
|
FootMeter m_FootMeter[NUM_PLAYERS];
|
||
|
|
MusicWheel m_MusicWheel;
|
||
|
|
|
||
|
|
BitmapText m_textHoldForOptions;
|
||
|
|
|
||
|
|
RandomSample m_soundSelect;
|
||
|
|
RandomSample m_soundChangeNotes;
|
||
|
|
|
||
|
|
TransitionKeepAlive m_Wipe;
|
||
|
|
TransitionFade m_Fade;
|
||
|
|
};
|
||
|
|
|
||
|
|
|