From 202170ab53c36cdb8308ade4abe064ebe27ea1a5 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 13 Feb 2005 18:14:11 +0000 Subject: [PATCH] add "ShowOneInRow" --- stepmania/src/ScreenOptionsMaster.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenOptionsMaster.cpp b/stepmania/src/ScreenOptionsMaster.cpp index 83c993a6ec..5fb3184d22 100644 --- a/stepmania/src/ScreenOptionsMaster.cpp +++ b/stepmania/src/ScreenOptionsMaster.cpp @@ -76,10 +76,12 @@ void ScreenOptionsMaster::SetList( OptionRowDefinition &row, OptionRowHandler &h { if( asParts[i].CompareNoCase("together") == 0 ) row.bOneChoiceForAllPlayers = true; - else if( asParts[i].CompareNoCase("SelectMultiple") == 0 ) + if( asParts[i].CompareNoCase("SelectMultiple") == 0 ) row.selectType = SELECT_MULTIPLE; - else if( asParts[i].CompareNoCase("SelectNone") == 0 ) + if( asParts[i].CompareNoCase("SelectNone") == 0 ) row.selectType = SELECT_NONE; + if( asParts[i].CompareNoCase("ShowOneInRow") == 0 ) + row.layoutType = LAYOUT_SHOW_ONE_IN_ROW; } for( int col = 0; col < NumCols; ++col )