Separated BM and IIDX into separate modes, since IIDX 5-key isn't necessarily the same as the BM steps to the same song

Updated the cache version because SMs based off of a IIDX BMS will have the wrong steps type
This commit is contained in:
Matt Denham
2004-02-13 09:01:59 +00:00
parent 9e44686f30
commit 37a0ba1520
7 changed files with 385 additions and 86 deletions
+4 -4
View File
@@ -86,13 +86,13 @@ StepsType BMSLoader::CheckTracksMagic( void ) {
// these four tracks are IIDX-related
return STEPS_TYPE_DANCE_DOUBLE;
else
return STEPS_TYPE_BM_SINGLE7;
return STEPS_TYPE_IIDX_SINGLE7;
case 9:
return STEPS_TYPE_PNM_NINE;
case 12:
return STEPS_TYPE_BM_DOUBLE;
case 16:
return STEPS_TYPE_BM_DOUBLE7;
return STEPS_TYPE_IIDX_DOUBLE7;
default:
return STEPS_TYPE_INVALID;
}
@@ -354,7 +354,7 @@ bool BMSLoader::LoadFromBMSFile( const CString &sPath, Steps &out )
iTransformNewToOld[10] = BMS_P2_KEY5;
iTransformNewToOld[11] = BMS_P2_TURN;
break;
case STEPS_TYPE_BM_SINGLE7:
case STEPS_TYPE_IIDX_SINGLE7:
iTransformNewToOld[0] = BMS_P1_KEY1;
iTransformNewToOld[1] = BMS_P1_KEY2;
iTransformNewToOld[2] = BMS_P1_KEY3;
@@ -364,7 +364,7 @@ bool BMSLoader::LoadFromBMSFile( const CString &sPath, Steps &out )
iTransformNewToOld[6] = BMS_P1_KEY7;
iTransformNewToOld[7] = BMS_P1_TURN;
break;
case STEPS_TYPE_BM_DOUBLE7:
case STEPS_TYPE_IIDX_DOUBLE7:
iTransformNewToOld[0] = BMS_P1_KEY1;
iTransformNewToOld[1] = BMS_P1_KEY2;
iTransformNewToOld[2] = BMS_P1_KEY3;