forked from Ports/perfect_dark
Use vertical-split versions of menus in 3+-player main missions
These work fine in the 2x2 split arrangement.
This commit is contained in:
1 parent
a0db91a0c9
commit
634eecb35d
2 files changed
+35
-7
No files matched your search
+30
-6
@@ -1700,14 +1700,22 @@ void endscreenPushCoop(void)
|
||||
#endif
|
||||
{
|
||||
// Failed or aborted
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL) {
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||
#ifndef PLATFORM_N64
|
||||
|| PLAYERCOUNT() >= 3
|
||||
#endif
|
||||
) {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenFailedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
} else {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenFailedHMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
}
|
||||
} else {
|
||||
// Completed
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL) {
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||
#ifndef PLATFORM_N64
|
||||
|| PLAYERCOUNT() >= 3
|
||||
#endif
|
||||
) {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenCompletedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
} else {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenCompletedHMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
@@ -1793,14 +1801,22 @@ void endscreenPushAnti(void)
|
||||
#endif
|
||||
{
|
||||
// Bond - failed or aborted
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL) {
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||
#ifndef PLATFORM_N64
|
||||
|| PLAYERCOUNT() >= 3
|
||||
#endif
|
||||
) {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenFailedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
} else {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenFailedHMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
}
|
||||
} else {
|
||||
// Bond - completed
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL) {
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||
#ifndef PLATFORM_N64
|
||||
|| PLAYERCOUNT() >= 3
|
||||
#endif
|
||||
) {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenCompletedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
} else {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenCompletedHMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
@@ -1816,14 +1832,22 @@ void endscreenPushAnti(void)
|
||||
#endif
|
||||
{
|
||||
// Anti - completed
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL) {
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||
#ifndef PLATFORM_N64
|
||||
|| PLAYERCOUNT() >= 3
|
||||
#endif
|
||||
) {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenCompletedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
} else {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenCompletedHMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
}
|
||||
} else {
|
||||
// Anti - failed or aborted
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL) {
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||
#ifndef PLATFORM_N64
|
||||
|| PLAYERCOUNT() >= 3
|
||||
#endif
|
||||
) {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenFailedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
} else {
|
||||
menuPushRootDialog(&g_2PMissionEndscreenFailedHMenuDialog, MENUROOT_MPENDSCREEN);
|
||||
|
||||
@@ -800,7 +800,11 @@ void mpPushPauseDialog(void)
|
||||
menuPushRootDialog(&g_MpPausePlayerRankingMenuDialog, MENUROOT_MPPAUSE);
|
||||
}
|
||||
} else {
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL) {
|
||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||
#ifndef PLATFORM_N64
|
||||
|| PLAYERCOUNT() >= 3
|
||||
#endif
|
||||
) {
|
||||
menuPushRootDialog(&g_2PMissionPauseVMenuDialog, MENUROOT_MPPAUSE);
|
||||
} else {
|
||||
menuPushRootDialog(&g_2PMissionPauseHMenuDialog, MENUROOT_MPPAUSE);
|
||||
|
||||
Reference in new issue
Block a user