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:
@@ -22,11 +22,12 @@
|
||||
#include "RageLog.h"
|
||||
#include "ScreenPlayerOptions.h" // for SM_BackFromPlayerOptions
|
||||
|
||||
const AutoScreenMessage SM_NoSongs;
|
||||
const AutoScreenMessage SM_ChangeSong;
|
||||
const AutoScreenMessage SM_SMOnlinePack; //Unused, but should be known
|
||||
const AutoScreenMessage SM_SetWheelSong;
|
||||
const AutoScreenMessage SM_RefreshWheelLocation;
|
||||
AutoScreenMessage( SM_NoSongs )
|
||||
AutoScreenMessage( SM_ChangeSong )
|
||||
AutoScreenMessage( SM_SMOnlinePack )
|
||||
AutoScreenMessage( SM_SetWheelSong )
|
||||
AutoScreenMessage( SM_RefreshWheelLocation )
|
||||
AutoScreenMessage( SM_SongChanged )
|
||||
|
||||
const CString AllGroups = "[ALL MUSIC]";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user