Modify AutoScreenMessage to keep map of all non-standard ScreenMessages.
This has a lot of advantages over the old ways. Some of the initial ones are that you can log a list of all screenmessages and their respective number and another is that it would be fairly easy to add a reverse lookup, so you could get the name of a ScreenMessage for log use by getting the ScreenMessage number.
This commit is contained in:
@@ -37,7 +37,10 @@ const int NUM_SCORE_DIGITS = 9;
|
||||
#define SCORE_SORT_CHANGE_COMMAND(i) THEME->GetMetricA(m_sName,ssprintf("ScoreP%iSortChangeCommand", i+1))
|
||||
#define SCORE_FRAME_SORT_CHANGE_COMMAND(i) THEME->GetMetricA(m_sName,ssprintf("ScoreFrameP%iSortChangeCommand", i+1))
|
||||
|
||||
static const AutoScreenMessage SM_AllowOptionsMenuRepeat;
|
||||
AutoScreenMessage( SM_AllowOptionsMenuRepeat )
|
||||
AutoScreenMessage( SM_SongChanged )
|
||||
AutoScreenMessage( SM_SortOrderChanging )
|
||||
AutoScreenMessage( SM_SortOrderChanged )
|
||||
|
||||
static CString g_sCDTitlePath;
|
||||
static bool g_bWantFallbackCdTitle;
|
||||
|
||||
Reference in New Issue
Block a user