add separate explanation name so that rows with no title can still have an explanation

This commit is contained in:
Chris Danford
2005-12-03 20:39:11 +00:00
parent 9e8469eb65
commit d33daeb6f9
4 changed files with 13 additions and 11 deletions
+2
View File
@@ -37,6 +37,7 @@ LayoutType StringToLayoutType( const CString& s );
struct OptionRowDefinition
{
CString m_sName;
CString m_sExplanationName;
bool m_bOneChoiceForAllPlayers;
SelectType m_selectType;
LayoutType m_layoutType;
@@ -57,6 +58,7 @@ struct OptionRowDefinition
void Init()
{
m_sName = "";
m_sExplanationName = "";
m_bOneChoiceForAllPlayers = false;
m_selectType = SELECT_ONE;
m_layoutType = LAYOUT_SHOW_ALL_IN_ROW;