Grudgily revoking Ez2SelectMusic until something is done about the API :)

This commit is contained in:
Andrew Livy
2002-09-06 23:47:14 +00:00
parent 570be0a738
commit 41a5316439
5 changed files with 17 additions and 6 deletions
-1
View File
@@ -2,7 +2,6 @@
// - ScreenCaution // - ScreenCaution
// - ScreenEz2SelectPlayer // - ScreenEz2SelectPlayer
// - ScreenEz2SelectStyle // - ScreenEz2SelectStyle
// - ScreenEz2SelectMusic
// - ScreenHowToPlay // - ScreenHowToPlay
// - ScreenSelectCourse // - ScreenSelectCourse
// - ScreenSelectDifficulty // - ScreenSelectDifficulty
+1 -1
View File
@@ -708,7 +708,7 @@ StyleDef g_StyleDefs[NUM_STYLES] =
"EZ2Double", // m_szName "EZ2Double", // m_szName
{ NOTES_TYPE_EZ2_DOUBLE,NOTES_TYPE_EZ2_DOUBLE }, // m_NotesTypes { NOTES_TYPE_EZ2_DOUBLE,NOTES_TYPE_EZ2_DOUBLE }, // m_NotesTypes
NOTES_TYPE_INVALID, // m_FallbackNotesType NOTES_TYPE_INVALID, // m_FallbackNotesType
StyleDef::ONE_PLAYER_TWO_CREDITS, // m_StyleType StyleDef::ONE_PLAYER_ONE_CREDIT, // m_StyleType
{ 160, 480 }, // m_iCenterX { 160, 480 }, // m_iCenterX
10, // m_iColsPerPlayer 10, // m_iColsPerPlayer
{ // m_ColumnInfo[NUM_PLAYERS][MAX_COLS_PER_PLAYER]; { // m_ColumnInfo[NUM_PLAYERS][MAX_COLS_PER_PLAYER];
+12 -2
View File
@@ -11,7 +11,16 @@
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
*/ */
/* OKAY!!!
Sod it!
I'll do this when you guys feel that it's OKAY to do it!!!
- ANDY
*/
/*
#include "ScreenEz2SelectMusic.h" #include "ScreenEz2SelectMusic.h"
#include "ScreenManager.h" #include "ScreenManager.h"
#include "PrefsManager.h" #include "PrefsManager.h"
@@ -505,7 +514,7 @@ void ScreenEz2SelectMusic::MenuStart( PlayerNumber pn )
/* why do this? breaks tabs and roulette -glenn */ /* why do this? breaks tabs and roulette -glenn */
// if( pn != PLAYER_INVALID ) // if( pn != PLAYER_INVALID )
// this->SendScreenMessage( SM_MenuTimer, 1 ); // re-throw a timer message // this->SendScreenMessage( SM_MenuTimer, 1 ); // re-throw a timer message
} /* }
else // if !bResult else // if !bResult
{ {
// a song was selected // a song was selected
@@ -518,7 +527,7 @@ void ScreenEz2SelectMusic::MenuStart( PlayerNumber pn )
/* TODO: gray these out. /* TODO: gray these out.
* *
* XXX: also, make sure they're not selected by roulette */ * XXX: also, make sure they're not selected by roulette */
SCREENMAN->Prompt( SM_None, "ERROR:\n \nThis song does not have a music file\n and cannot be played." ); /* SCREENMAN->Prompt( SM_None, "ERROR:\n \nThis song does not have a music file\n and cannot be played." );
return; return;
} }
@@ -733,3 +742,4 @@ void ScreenEz2SelectMusic::SortOrderChanged()
m_MusicSortDisplay.SetTweenDiffuse( D3DXCOLOR(1,1,1,1) ); m_MusicSortDisplay.SetTweenDiffuse( D3DXCOLOR(1,1,1,1) );
} }
*/
+3 -1
View File
@@ -9,7 +9,7 @@
Andrew Livy Andrew Livy
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
*/ */
/*
#include "Screen.h" #include "Screen.h"
#include "Sprite.h" #include "Sprite.h"
#include "BitmapText.h" #include "BitmapText.h"
@@ -94,3 +94,5 @@ protected:
RageSoundSample m_soundOptionsChange; RageSoundSample m_soundOptionsChange;
RageSoundSample m_soundLocked; RageSoundSample m_soundLocked;
}; };
*/
+1 -1
View File
@@ -236,7 +236,7 @@ Screen* ScreenManager::MakeNewScreen( CString sClassName )
else if( 0==stricmp(sClassName, "ScreenSongOptions") ) return new ScreenSongOptions; else if( 0==stricmp(sClassName, "ScreenSongOptions") ) return new ScreenSongOptions;
else if( 0==stricmp(sClassName, "ScreenStage") ) return new ScreenStage; else if( 0==stricmp(sClassName, "ScreenStage") ) return new ScreenStage;
else if( 0==stricmp(sClassName, "ScreenTitleMenu") ) return new ScreenTitleMenu; else if( 0==stricmp(sClassName, "ScreenTitleMenu") ) return new ScreenTitleMenu;
else if( 0==stricmp(sClassName, "ScreenEz2SelectMusic") ) return new ScreenEz2SelectMusic; // else if( 0==stricmp(sClassName, "ScreenEz2SelectMusic") ) return new ScreenEz2SelectMusic;
else else
throw RageException( "Invalid Screen class name '%s'", sClassName ); throw RageException( "Invalid Screen class name '%s'", sClassName );
} }