HUD messages: 2P split fixes, text revisions

This commit is contained in:
AJ Martinez 2024-01-14 17:30:09 -07:00
parent e9ee268965
commit 516e418912
4 changed files with 6 additions and 6 deletions

View file

@ -877,8 +877,8 @@ boolean K_InstaWhipCollide(mobj_t *shield, mobj_t *victim)
attackerPlayer->instaWhipCharge = 0;
attackerPlayer->flashing = 0;
K_AddMessageForPlayer(victimPlayer, va("Reflect Counter!"), false);
K_AddMessageForPlayer(attackerPlayer, va("Reflected..."), false);
K_AddMessageForPlayer(victimPlayer, va("Whip Reflected!"), false);
K_AddMessageForPlayer(attackerPlayer, va("COUNTERED!!"), false);
// Localized broly for a local event.
if (mobj_t *broly = Obj_SpawnBrolyKi(victim, victimHitlag/2))

View file

@ -5751,7 +5751,7 @@ static void K_DrawMessageFeed(void)
UINT8 x = 160;
UINT8 y = 10;
SINT8 shift = 0;
if (splitscreen > 2)
if (splitscreen >= 2)
{
text.font(Draw::Font::kThin);
shift = -2;
@ -5765,7 +5765,7 @@ static void K_DrawMessageFeed(void)
if (i >= 2)
y += BASEVIDHEIGHT / 2;
}
else if (splitscreen > 1)
else if (splitscreen >= 1)
{
y = 5;

View file

@ -3837,7 +3837,7 @@ void K_DoGuardBreak(mobj_t *t1, mobj_t *t2) {
K_AddHitLag(t1, 24, true);
K_AddMessageForPlayer(t2->player, va("Smashed 'em!"), false);
K_AddMessageForPlayer(t1->player, va("Barrier Break..."), false);
K_AddMessageForPlayer(t1->player, va("BARRIER BREAK!!"), false);
angle_t thrangle = R_PointToAngle2(t1->x, t1->y, t2->x, t2->y);
P_Thrust(t1, thrangle, 7*mapobjectscale);

View file

@ -115,7 +115,7 @@ public:
Spawner* spawner = next(g_battleufo.previousId);
UFO* ufo = static_cast<UFO*>(P_SpawnMobjFromMobj(spawner, 0, 0, 250*FRACUNIT - ofs, MT_BATTLEUFO));
K_AddMessage(va("Get the UFO!"), true);
K_AddMessage(va("Crack the Combat UFO!"), true);
ufo->sprzoff(ofs * spawner->scale());