Skip to content
Snippets Groups Projects
Commit 8ae91de9 authored by toaster's avatar toaster
Browse files

Per Inu's request, semi-broken (both game mechanically and engineering wise)...

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.
parent c7c908ee
No related branches found
No related tags found
No related merge requests found
......@@ -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)));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment