Restore beta bomb explosion

This commit is contained in:
Sonic Dreamcaster
2025-10-16 23:05:53 -03:00
parent 964bc59822
commit 1f14108143
2 changed files with 18 additions and 2 deletions
+14 -2
View File
@@ -1310,7 +1310,14 @@ void PlayerShot_DrawShot(PlayerShot* shot) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, aOrbDL);
} else {
Matrix_Scale(gGfxMatrix, shot->scale, shot->scale, shot->scale, MTXF_APPLY);
if (CVarGetInteger("gRestoreBetaBombExplosion", 0) != 1) {
Matrix_Scale(gGfxMatrix, shot->scale, shot->scale, shot->scale, MTXF_APPLY);
} else {
Matrix_Scale(gGfxMatrix, shot->scale / 1.5f, shot->scale / 1.5f, shot->scale / 1.5f,
MTXF_APPLY);
}
Matrix_SetGfxMtx(&gMasterDisp);
if (gVersusMode) {
RCP_SetupDL_49();
@@ -1333,7 +1340,12 @@ void PlayerShot_DrawShot(PlayerShot* shot) {
RCP_SetupDL_64_2();
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, shot->unk_58);
}
gSPDisplayList(gMasterDisp++, D_1031EC0);
if (CVarGetInteger("gRestoreBetaBombExplosion", 0) != 1) {
gSPDisplayList(gMasterDisp++, D_1031EC0);
} else {
gSPDisplayList(gMasterDisp++, D_102FF90);
}
}
break;
case PLAYERSHOT_TANK:
+4
View File
@@ -606,6 +606,10 @@ void DrawEnhancementsMenu() {
.tooltip = "Restores the missile cutscene bug present in JP 1.0"
});
UIWidgets::CVarCheckbox("Beta: Restore beta bomb explosion", "gRestoreBetaBombExplosion", {
.tooltip = "Restores the beta bomb explosion found inside the game"
});
UIWidgets::CVarCheckbox("Beta: Restore beta coin", "gRestoreBetaCoin", {
.tooltip = "Restores the beta coin that got replaced with the gold ring"
});