mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Merge branch 'lotsacontinues' into 'master'
Lotsa Continues (resolves #264) Closes #264 See merge request STJr/SRB2Internal!422
This commit is contained in:
commit
dcfd088aef
2 changed files with 18 additions and 6 deletions
|
@ -2586,8 +2586,8 @@ void F_ContinueDrawer(void)
|
|||
{
|
||||
if (!(continuetime & 1) || continuetime > 17)
|
||||
V_DrawContinueIcon(x, 68, 0, players[consoleplayer].skin, players[consoleplayer].skincolor);
|
||||
V_DrawScaledPatch(x+12, 68-2, 0, stlivex);
|
||||
V_DrawRightAlignedString(x+36, 69-5, 0,
|
||||
V_DrawScaledPatch(x+12, 66, 0, stlivex);
|
||||
V_DrawRightAlignedString(x+38, 64, 0,
|
||||
va("%d",(imcontinuing ? ncontinues-1 : ncontinues)));
|
||||
}
|
||||
else
|
||||
|
|
|
@ -425,11 +425,23 @@ void Y_IntermissionDrawer(void)
|
|||
UINT8 continues = data.spec.continues & 0x7F;
|
||||
|
||||
V_DrawScaledPatch(152 + xoffset5, 150+yoffset, 0, data.spec.pcontinues);
|
||||
for (i = 0; i < continues; ++i)
|
||||
if (continues > 5)
|
||||
{
|
||||
if ((data.spec.continues & 0x80) && i == continues-1 && (endtic < 0 || intertic%20 < 10))
|
||||
break;
|
||||
V_DrawContinueIcon(246 + xoffset5 - (i*20), 162+yoffset, 0, *data.spec.playerchar, *data.spec.playercolor);
|
||||
INT32 leftx = (continues >= 10) ? 216 : 224;
|
||||
V_DrawContinueIcon(leftx + xoffset5, 162+yoffset, 0, *data.spec.playerchar, *data.spec.playercolor);
|
||||
V_DrawScaledPatch(leftx + xoffset5 + 12, 160+yoffset, 0, stlivex);
|
||||
if (!((data.spec.continues & 0x80) && !(endtic < 0 || intertic%20 < 10)))
|
||||
V_DrawRightAlignedString(252 + xoffset5, 158+yoffset, 0,
|
||||
va("%d",(((data.spec.continues & 0x80) && (endtic < 0)) ? continues-1 : continues)));
|
||||
}
|
||||
else
|
||||
{
|
||||
for (i = 0; i < continues; ++i)
|
||||
{
|
||||
if ((data.spec.continues & 0x80) && i == continues-1 && (endtic < 0 || intertic%20 < 10))
|
||||
break;
|
||||
V_DrawContinueIcon(246 + xoffset5 - (i*20), 162+yoffset, 0, *data.spec.playerchar, *data.spec.playercolor);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue