re-add dance-threepanel now that the StepsDisplayList issue has been resolved. (Turns out that was the reason it wasn't working.) thanks to kurisu for the base code.
also update docs
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
// My first thought to fix this was:
|
||||
// (NUM_Difficulty (6) * NUM_StepsType (32)) + MAX_EDITS_PER_SONG (5*profileSlot (2)) = 202
|
||||
// However, 202 rows may be a bit overkill.
|
||||
// Dance has 6 stepstypes counting 3panel (disabled), Pump and Techno have 5.
|
||||
// Dance has 6 stepstypes counting 3panel, Pump and Techno have 5.
|
||||
// (6 difficulties * 6 stepstypes) + MAX_EDITS_PER_SONG (which is 5 * profileSlots) = 46 rows
|
||||
// 46 seems to be a good enough number for this. If we get a crash again, up the
|
||||
// "magic" 6. -aj
|
||||
|
||||
@@ -55,7 +55,7 @@ enum StepsType
|
||||
StepsType_dance_double,
|
||||
StepsType_dance_couple,
|
||||
StepsType_dance_solo,
|
||||
//StepsType_dance_three, // kurisu calls this "3panel"
|
||||
StepsType_dance_threepanel,
|
||||
StepsType_dance_routine,
|
||||
StepsType_pump_single,
|
||||
StepsType_pump_halfdouble,
|
||||
|
||||
+9
-11
@@ -48,7 +48,7 @@ static const StepsTypeInfo g_StepsTypeInfos[] = {
|
||||
{ "dance-double", 8, true, StepsTypeCategory_Double },
|
||||
{ "dance-couple", 8, true, StepsTypeCategory_Couple },
|
||||
{ "dance-solo", 6, true, StepsTypeCategory_Single },
|
||||
//{ "dance-three", 3, true, StepsTypeCategory_Single }, // kurisu calls this "3panel"
|
||||
{ "dance-threepanel", 3, true, StepsTypeCategory_Single }, // thanks to kurisu
|
||||
{ "dance-routine", 8, false, StepsTypeCategory_Routine },
|
||||
// pump
|
||||
{ "pump-single", 5, true, StepsTypeCategory_Single },
|
||||
@@ -323,16 +323,14 @@ static const Style g_Style_Dance_Solo =
|
||||
false, // m_bLockDifficulties
|
||||
};
|
||||
|
||||
// todo: "easy solo" or whatever the proper name for the 3 panel \|/ mode is.
|
||||
/*
|
||||
static const Style g_Style_Dance_Three =
|
||||
{ // STYLE_DANCE_THREE
|
||||
static const Style g_Style_Dance_ThreePanel =
|
||||
{ // STYLE_DANCE_THREEPANEL
|
||||
true, // m_bUsedForGameplay
|
||||
true, // m_bUsedForEdit
|
||||
false, // m_bUsedForDemonstration
|
||||
false, // m_bUsedForHowToPlay
|
||||
"3panel", // m_szName
|
||||
StepsType_dance_3panel, // m_StepsType
|
||||
"threepanel", // m_szName
|
||||
StepsType_dance_threepanel, // m_StepsType
|
||||
StyleType_OnePlayerOneSide, // m_StyleType
|
||||
3, // m_iColsPerPlayer
|
||||
{ // m_ColumnInfo[NUM_PLAYERS][MAX_COLS_PER_PLAYER];
|
||||
@@ -348,8 +346,9 @@ static const Style g_Style_Dance_Three =
|
||||
},
|
||||
},
|
||||
{ // m_iInputColumn[NUM_GameController][NUM_GameButton]
|
||||
{ 0, 1, 2, Style::END_MAPPING },
|
||||
{ 0, 1, 2, Style::END_MAPPING }
|
||||
// 4 3 5
|
||||
{ Style::NO_MAPPING, Style::NO_MAPPING, Style::NO_MAPPING, 1, 0, 2, Style::END_MAPPING },
|
||||
{ Style::NO_MAPPING, Style::NO_MAPPING, Style::NO_MAPPING, 1, 0, 2, Style::END_MAPPING }
|
||||
},
|
||||
{ // m_iColumnDrawOrder[MAX_COLS_PER_PLAYER];
|
||||
0,1,2
|
||||
@@ -358,7 +357,6 @@ static const Style g_Style_Dance_Three =
|
||||
false, // m_bCanUseBeginnerHelper
|
||||
false, // m_bLockDifficulties
|
||||
};
|
||||
*/
|
||||
|
||||
static const Style g_Style_Dance_Couple_Edit =
|
||||
{ // STYLE_DANCE_EDIT_COUPLE
|
||||
@@ -494,9 +492,9 @@ static const Style *g_apGame_Dance_Styles[] =
|
||||
&g_Style_Dance_Double,
|
||||
&g_Style_Dance_Couple,
|
||||
&g_Style_Dance_Solo,
|
||||
//&g_Style_Dance_Three,
|
||||
&g_Style_Dance_Couple_Edit,
|
||||
&g_Style_Dance_Routine,
|
||||
&g_Style_Dance_ThreePanel,
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user