From e2e163c6e3fc1db2df6da1d4ed831fe6629e180b Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 20 Sep 2008 20:32:24 +0000 Subject: Remove screen parameter from V_DrawPatch functions; update code to use V_UseBuffer where necessary. Subversion-branch: /branches/raven-branch Subversion-revision: 1248 --- src/doom/st_lib.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/doom/st_lib.c') diff --git a/src/doom/st_lib.c b/src/doom/st_lib.c index 5c9a9d0c..9ba9cdcc 100644 --- a/src/doom/st_lib.c +++ b/src/doom/st_lib.c @@ -133,19 +133,19 @@ STlib_drawNum // in the special case of 0, you draw 0 if (!num) - V_DrawPatch(x - w, n->y, FG, n->p[ 0 ]); + V_DrawPatch(x - w, n->y, n->p[ 0 ]); // draw the new number while (num && numdigits--) { x -= w; - V_DrawPatch(x, n->y, FG, n->p[ num % 10 ]); + V_DrawPatch(x, n->y, n->p[ num % 10 ]); num /= 10; } // draw a minus sign if necessary if (neg) - V_DrawPatch(x - 8, n->y, FG, sttminus); + V_DrawPatch(x - 8, n->y, sttminus); } @@ -183,7 +183,7 @@ STlib_updatePercent int refresh ) { if (refresh && *per->n.on) - V_DrawPatch(per->n.x, per->n.y, FG, per->p); + V_DrawPatch(per->n.x, per->n.y, per->p); STlib_updateNum(&per->n, refresh); } @@ -235,7 +235,7 @@ STlib_updateMultIcon V_CopyRect(x, y-ST_Y, screens[BG], w, h, x, y); } - V_DrawPatch(mi->x, mi->y, FG, mi->p[*mi->inum]); + V_DrawPatch(mi->x, mi->y, mi->p[*mi->inum]); mi->oldinum = *mi->inum; } } @@ -283,7 +283,7 @@ STlib_updateBinIcon I_Error("updateBinIcon: y - ST_Y < 0"); if (*bi->val) - V_DrawPatch(bi->x, bi->y, FG, bi->p); + V_DrawPatch(bi->x, bi->y, bi->p); else V_CopyRect(x, y-ST_Y, screens[BG], w, h, x, y); -- cgit v1.2.3