working on new course editor

This commit is contained in:
Chris Danford
2005-06-26 23:31:36 +00:00
parent 7a1d736694
commit 5b19933b3f
3 changed files with 48 additions and 6 deletions
+15
View File
@@ -767,6 +767,21 @@ void OptionRow::Reload( const OptionRowDefinition &def )
}
}
void OptionRow::SetEnabledRowForAllPlayers( bool bEnabledForAllPlayers )
{
OptionRowDefinition def = m_RowDef;
if( bEnabledForAllPlayers )
{
OptionRowDefinition temp;
def.m_vEnabledForPlayers = temp.m_vEnabledForPlayers;
}
else
{
def.m_vEnabledForPlayers.clear();
}
Reload( def );
}
void OptionRow::HandleMessage( const CString& sMessage )
{
Reload( m_RowDef );