mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-24 11:42:03 +00:00
Per Inu's request, semi-broken (both game mechanically and engineering wise) directional information has been removed from the Captions. It's now "in-level" (dot) and "sourceless" (no dot) only.
This commit is contained in:
parent
c7c908eed3
commit
8ae91de9db
1 changed files with 2 additions and 19 deletions
21
src/screen.c
21
src/screen.c
|
@ -473,25 +473,8 @@ void SCR_ClosedCaptions(void)
|
|||
flags |= (((20-closedcaptions[i].t)/2)*V_10TRANS);
|
||||
else if (closedcaptions[i].t > TICRATE)
|
||||
y -= (closedcaptions[i].t-- - TICRATE)*vid.dupy;
|
||||
if (closedcaptions[i].c)
|
||||
{
|
||||
const mobj_t *o = (const mobj_t *)closedcaptions[i].c->origin;
|
||||
if (o)
|
||||
{
|
||||
if (!splitscreen)
|
||||
{
|
||||
angle_t angle = R_PointToAngle(o->x, o->y) - localangle;
|
||||
if (angle > ANGLE_45 && angle < ANGLE_135)
|
||||
dir = '\x1C';
|
||||
else if (angle > ANGLE_225 && angle < ANGLE_315)
|
||||
dir = '\x1D';
|
||||
else
|
||||
dir = '\x1E';
|
||||
}
|
||||
else
|
||||
dir = '\x1E';
|
||||
}
|
||||
}
|
||||
if (closedcaptions[i].c && closedcaptions[i].c->origin)
|
||||
dir = '\x1E';
|
||||
V_DrawRightAlignedString(vid.width-(20*vid.dupx), y,
|
||||
flags, va("%c [%s]", dir, (closedcaptions[i].s->caption[0] ? closedcaptions[i].s->caption : closedcaptions[i].s->name)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue