Well i have problemos for this i can agragate 3 new CPS2 Macros
Button 1+4 Button 2+5 Button 3+6
I rename the buttons is by whom I have problems
This is the name to the buttons in gami.cpp
}
if (stricmp("Jab", bii.szName + 2) == 0) {
nPunchx3[nPlayer] |= 1;
nPunchInputs[nPlayer][0] = i;
}
if (stricmp("Strong", bii.szName + 2) == 0) {
nPunchx3[nPlayer] |= 2;
nPunchInputs[nPlayer][1] = i;
}
if (stricmp("Fierce", bii.szName + 2) == 0) {
nPunchx3[nPlayer] |= 4;
nPunchInputs[nPlayer][2] = i;
}
if (stricmp("Short", bii.szName + 2) == 0) {
nKickx3[nPlayer] |= 1;
nKickInputs[nPlayer][0] = i;
}
if (stricmp("Foward", bii.szName + 2) == 0) {
nKickx3[nPlayer] |= 2;
nKickInputs[nPlayer][1] = i;
}
if (stricmp("Roundhouse", bii.szName + 2) == 0) {
nKickx3[nPlayer] |= 4;
nKickInputs[nPlayer][2] = i;
}
And 3x Punch Macros and 3x Kick Macros expresed like this
for (int nPlayer = 0; nPlayer < nMaxPlayers; nPlayer++) {
if (nPunchx3[nPlayer] == 7) { // Create a 3x punch macro
pgi->nInput = GIT_MACRO_AUTO;
pgi->nType = BIT_DIGITAL;
pgi->Macro.nMode = 0;
sprintf(pgi->Macro.szName, "P%i Jab Strong Fierce", nPlayer + 1);
for (int j = 0; j < 3; j++) {
BurnDrvGetInputInfo(&bii, nPunchInputs[nPlayer][j]);
pgi->Macro.pVal[j] = bii.pVal;
pgi->Macro.nVal[j] = 1;
}
nMacroCount++;
pgi++;
}
if (nKickx3[nPlayer] == 7) { // Create a 3x kick macro
pgi->nInput = GIT_MACRO_AUTO;
pgi->nType = BIT_DIGITAL;
pgi->Macro.nMode = 0;
sprintf(pgi->Macro.szName, "P%i Short Foward Roundhouse", nPlayer + 1);
for (int j = 0; j < 3; j++) {
BurnDrvGetInputInfo(&bii, nKickInputs[nPlayer][j]);
pgi->Macro.pVal[j] = bii.pVal;
pgi->Macro.nVal[j] = 1;
}
nMacroCount++;
pgi++;
}
How to add Jab+Short, Strong+Foward and Fierce+Rounhouse macro???
Pleaze help
Sorry mi english but i speak Spanish