add ScreenOptionsProfiles (to soon replace ScreenProfileOptions)

This commit is contained in:
Chris Danford
2005-07-05 11:30:30 +00:00
parent 1cc24c34d7
commit 16fc6e6723
7 changed files with 240 additions and 6 deletions
+3 -1
View File
@@ -319,7 +319,9 @@ CString ScreenOptions::GetExplanationText( int iRow ) const
CString sLineName = row.GetRowDef().name;
ASSERT( !sLineName.empty() );
return SHOW_EXPLANATIONS ? OPTION_EXPLANATION(sLineName) : "";
bool bAllowExplanation = row.GetRowDef().m_bAllowExplanation;
return (bAllowExplanation && SHOW_EXPLANATIONS.GetValue()) ? OPTION_EXPLANATION(sLineName) : "";
}
BitmapText &ScreenOptions::GetTextItemForRow( PlayerNumber pn, int iRow, int iChoiceOnRow )