From 53892a9eb1ec6df01edb57216f1438c014da8fac Mon Sep 17 00:00:00 2001 From: Steel Titanium Date: Fri, 23 Aug 2019 00:21:12 -0400 Subject: [PATCH] Work on new title card Even though it's not complete there's an issue where it would stop breifly during a fade. --- src/st_stuff.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/st_stuff.c b/src/st_stuff.c index c1a6d5add..7beec4423 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -1149,6 +1149,9 @@ void ST_drawLevelTitle(tic_t titletime) INT32 actnum = mapheaderinfo[gamemap-1]->actnum; INT32 lvlttly, zoney, lvlttlxpos, ttlnumxpos, zonexpos; INT32 subttlxpos = BASEVIDWIDTH/2; + patch_t *tzigzag = W_CachePatchName("TCARDFG1", PU_CACHE); + INT32 i; + INT32 height = (SHORT(tzigzag->height)); if (!(titletime > 2 && titletime-3 < 110)) return; @@ -1225,6 +1228,13 @@ void ST_drawLevelTitle(tic_t titletime) if (lvlttly+48 < 200) V_DrawCenteredString(subttlxpos, lvlttly+48, V_PERPLAYER|V_ALLOWLOWERCASE, subttl); + + for (i = -8; i < (BASEVIDHEIGHT/height) + 8; i++) + { + INT32 y = ((i*height) + (height - ((titletime)%height))); + //CONS_Printf("%d\n", y); + V_DrawFixedPatch(0, y<