added ScreenJukebox

This commit is contained in:
Chris Danford
2003-01-31 21:34:34 +00:00
parent 9e991a95cd
commit 7c470cf9c8
11 changed files with 330 additions and 22 deletions
+23 -1
View File
@@ -28,7 +28,8 @@ public:
virtual void Update( float fDelta );
virtual void HandleScreenMessage( const ScreenMessage SM );
enum Choice {
enum Choice
{
CHOICE_GAME_START = 0,
CHOICE_SELECT_GAME,
CHOICE_MAP_INSTRUMENTS,
@@ -37,6 +38,7 @@ public:
CHOICE_GRAPHIC_OPTIONS,
CHOICE_APPEARANCE_OPTIONS,
CHOICE_EDIT,
CHOICE_JUKEBOX,
#ifdef _DEBUG
CHOICE_SANDBOX,
#endif
@@ -44,6 +46,26 @@ public:
NUM_CHOICES // leave this at the end!
};
CString ChoiceToString( Choice c )
{
const CString s[NUM_CHOICES] = {
"GAME START",
"SWITCH GAME",
"CONFIG KEY/JOY",
"INPUT OPTIONS",
"MACHINE OPTIONS",
"GRAPHIC OPTIONS",
"APPEARANCE OPTIONS",
"EDIT/SYNCHRONIZE",
"JUKEBOX",
#ifdef _DEBUG
"SANDBOX",
#endif
"EXIT"
};
return s[c];
}
private:
void GainFocus( int iChoiceIndex );