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:
AJ Kelly
2010-05-02 11:25:00 -05:00
parent 027880c5d1
commit 79d97e7fec
7 changed files with 33 additions and 16 deletions
+10
View File
@@ -9,6 +9,16 @@ Not all changes are documented, for various reasons.
supported but exist anyways.) supported but exist anyways.)
_____________________________________________________________________________ _____________________________________________________________________________
20100502
--------
* Add dance-threepanel StepsType. Thanks to kurisu for the original 3.9 code.
* XMode mod added, thanks to v1toko/StepNXA.
20100501
--------
* Fixed an issue with StepsDisplayList crashing if more than 21 difficulties are
playable. This allows Technomotion to work with AutoSetStyle and Autogen on.
sm-ssc v1.0 Public Beta 3 | 20100430 sm-ssc v1.0 Public Beta 3 | 20100430
------------------------------------ ------------------------------------
There's an important change for themers that needs to be noted: There's an important change for themers that needs to be noted:
+9 -3
View File
@@ -41,11 +41,17 @@ Daisuke Master
David Santamaría Rogado (howl) David Santamaría Rogado (howl)
* Various patches (see Changelog_sm-ssc.txt for more details and links) * Various patches (see Changelog_sm-ssc.txt for more details and links)
Kita K. Kita K./D. Trucks
* sm-ssc default theme music * sm-ssc default theme music
kurisu
* Dance-threepanel gametype code (3.9; re-adapted for sm-ssc)
v1toko
* Lead coder of StepNXA, which is where we got the original XMode code from.
Macgravel Macgravel
* Orbular noteskin (the kb7 noteskin; not included in private beta wave 1.3) * Orbular noteskin (the kb7 noteskin)
theDtTvB theDtTvB
* Keysound patch (http://share11.appspot.com/20421) * Keysound patch (http://share11.appspot.com/20421)
@@ -71,7 +77,7 @@ Henke37
==the beta testers== ==the beta testers==
[SSC Beta Testing Team] [SSC Beta Testing Team]
KeithD KeithD
tweak62 tweak/tweak62
[Friends of the Devs] [Friends of the Devs]
And4713 And4713
+2
View File
@@ -1626,6 +1626,7 @@ lights-cabinet=Lights
# SSC # SSC
Dance_Single=Single Dance_Single=Single
Dance_Double=Double Dance_Double=Double
Dance_Threepanel=3 Panels
[TapNoteScore] [TapNoteScore]
AvoidMine=Avoid Mine AvoidMine=Avoid Mine
@@ -2177,6 +2178,7 @@ Dance_Double=Double
Dance_Couple=Couple Dance_Couple=Couple
Dance_Solo=Solo Dance_Solo=Solo
Dance_Routine=Routine Dance_Routine=Routine
Dance_Threepanel=3 Panels
Pump_Single=Single Pump_Single=Single
Pump_Double=Double Pump_Double=Double
Pump_Halfdouble=Half-Double Pump_Halfdouble=Half-Double
+1
View File
@@ -57,6 +57,7 @@ Dance_Double=DB
Dance_Couple=DC Dance_Couple=DC
Dance_Solo=DX Dance_Solo=DX
Dance_Routine=DR Dance_Routine=DR
Dance_Threepanel=D3
Pump_Single=PS Pump_Single=PS
Pump_Double=PD Pump_Double=PD
Pump_Halfdouble=HD Pump_Halfdouble=HD
+1 -1
View File
@@ -18,7 +18,7 @@
// My first thought to fix this was: // My first thought to fix this was:
// (NUM_Difficulty (6) * NUM_StepsType (32)) + MAX_EDITS_PER_SONG (5*profileSlot (2)) = 202 // (NUM_Difficulty (6) * NUM_StepsType (32)) + MAX_EDITS_PER_SONG (5*profileSlot (2)) = 202
// However, 202 rows may be a bit overkill. // 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 // (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 // 46 seems to be a good enough number for this. If we get a crash again, up the
// "magic" 6. -aj // "magic" 6. -aj
+1 -1
View File
@@ -55,7 +55,7 @@ enum StepsType
StepsType_dance_double, StepsType_dance_double,
StepsType_dance_couple, StepsType_dance_couple,
StepsType_dance_solo, StepsType_dance_solo,
//StepsType_dance_three, // kurisu calls this "3panel" StepsType_dance_threepanel,
StepsType_dance_routine, StepsType_dance_routine,
StepsType_pump_single, StepsType_pump_single,
StepsType_pump_halfdouble, StepsType_pump_halfdouble,
+9 -11
View File
@@ -48,7 +48,7 @@ static const StepsTypeInfo g_StepsTypeInfos[] = {
{ "dance-double", 8, true, StepsTypeCategory_Double }, { "dance-double", 8, true, StepsTypeCategory_Double },
{ "dance-couple", 8, true, StepsTypeCategory_Couple }, { "dance-couple", 8, true, StepsTypeCategory_Couple },
{ "dance-solo", 6, true, StepsTypeCategory_Single }, { "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 }, { "dance-routine", 8, false, StepsTypeCategory_Routine },
// pump // pump
{ "pump-single", 5, true, StepsTypeCategory_Single }, { "pump-single", 5, true, StepsTypeCategory_Single },
@@ -323,16 +323,14 @@ static const Style g_Style_Dance_Solo =
false, // m_bLockDifficulties false, // m_bLockDifficulties
}; };
// todo: "easy solo" or whatever the proper name for the 3 panel \|/ mode is. static const Style g_Style_Dance_ThreePanel =
/* { // STYLE_DANCE_THREEPANEL
static const Style g_Style_Dance_Three =
{ // STYLE_DANCE_THREE
true, // m_bUsedForGameplay true, // m_bUsedForGameplay
true, // m_bUsedForEdit true, // m_bUsedForEdit
false, // m_bUsedForDemonstration false, // m_bUsedForDemonstration
false, // m_bUsedForHowToPlay false, // m_bUsedForHowToPlay
"3panel", // m_szName "threepanel", // m_szName
StepsType_dance_3panel, // m_StepsType StepsType_dance_threepanel, // m_StepsType
StyleType_OnePlayerOneSide, // m_StyleType StyleType_OnePlayerOneSide, // m_StyleType
3, // m_iColsPerPlayer 3, // m_iColsPerPlayer
{ // m_ColumnInfo[NUM_PLAYERS][MAX_COLS_PER_PLAYER]; { // 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] { // m_iInputColumn[NUM_GameController][NUM_GameButton]
{ 0, 1, 2, Style::END_MAPPING }, // 4 3 5
{ 0, 1, 2, Style::END_MAPPING } { 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]; { // m_iColumnDrawOrder[MAX_COLS_PER_PLAYER];
0,1,2 0,1,2
@@ -358,7 +357,6 @@ static const Style g_Style_Dance_Three =
false, // m_bCanUseBeginnerHelper false, // m_bCanUseBeginnerHelper
false, // m_bLockDifficulties false, // m_bLockDifficulties
}; };
*/
static const Style g_Style_Dance_Couple_Edit = static const Style g_Style_Dance_Couple_Edit =
{ // STYLE_DANCE_EDIT_COUPLE { // STYLE_DANCE_EDIT_COUPLE
@@ -494,9 +492,9 @@ static const Style *g_apGame_Dance_Styles[] =
&g_Style_Dance_Double, &g_Style_Dance_Double,
&g_Style_Dance_Couple, &g_Style_Dance_Couple,
&g_Style_Dance_Solo, &g_Style_Dance_Solo,
//&g_Style_Dance_Three,
&g_Style_Dance_Couple_Edit, &g_Style_Dance_Couple_Edit,
&g_Style_Dance_Routine, &g_Style_Dance_Routine,
&g_Style_Dance_ThreePanel,
NULL NULL
}; };