Cleaned up Ez2SelectStyle (however 2p support removed). Now using new ScrollingList system (PUMP can make use of this for select style also)

This commit is contained in:
Andrew Livy
2002-08-25 23:10:28 +00:00
parent 8b6b4043ef
commit d4f4a854cf
6 changed files with 567 additions and 569 deletions
+9 -5
View File
@@ -1,6 +1,6 @@
/********************************
ScreenEz2SelectStyle.h
Desc: The "Player Select Screen" for Ez2dancer
Desc: The "Style Select Screen" for Ez2dancer
Copyright (c):
Andrew Livy
*********************************/
@@ -16,11 +16,12 @@ Andrew Livy
#include "RandomSample.h"
#include "Quad.h"
#include "MenuElements.h"
#include "ScrollingList.h"
/* Class Definition */
const int NUM_EZ2STYLE_GRAPHICS = 4;
const int NUM_EZ2P_GRAPHICS = 4;
const int NUM_EZ2STYLE_GRAPHICS = 4;
// const int NUM_EZ2P_GRAPHICS = 4;
class ScreenEz2SelectStyle : public Screen
{
@@ -51,10 +52,13 @@ private:
/* Variable Declarations */
MenuElements m_Menu;
Sprite m_sprOpt[NUM_EZ2STYLE_GRAPHICS];
Sprite m_sprPly[NUM_EZ2P_GRAPHICS];
// Sprite m_sprOpt[NUM_EZ2STYLE_GRAPHICS];
// Sprite m_sprPly[NUM_EZ2P_GRAPHICS];
Sprite m_sprBackground[NUM_EZ2STYLE_GRAPHICS];
ScrollingList m_ScrList;
int m_iSelectedStyle;
int m_iSelectedPlayer;
RandomSample m_soundChange;