Changed many parts of GameCommand to improve error reporting. Fixed GameCommand setpref to not set when loading the command. Minor fix to ScreenOptionsExample.ini to explain that SongInCurrentSongGroup is unusable. CommonMetrics, CourseContentsList, HoldJudgent, OptionRowHandler all have minor changes to fix crashes on malformed theme data.
This commit is contained in:
@@ -367,6 +367,12 @@ bool ScreenManager::AllowOperatorMenuButton() const
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ScreenManager::IsScreenNameValid(RString const& name) const
|
||||
{
|
||||
RString ClassName = THEME->GetMetric(name,"Class");
|
||||
return g_pmapRegistrees->find(ClassName) != g_pmapRegistrees->end();
|
||||
}
|
||||
|
||||
bool ScreenManager::IsStackedScreen( const Screen *pScreen ) const
|
||||
{
|
||||
// True if the screen is in the screen stack, but not the first.
|
||||
|
||||
Reference in New Issue
Block a user