diff options
author | Simon Howard | 2006-09-22 20:32:00 +0000 |
---|---|---|
committer | Simon Howard | 2006-09-22 20:32:00 +0000 |
commit | 129406f17da942e2613490cdad1c2b24591d50f6 (patch) | |
tree | 1dda5e0e3ca4e741d9604937c7ea67eb2804b188 /src/r_draw.c | |
parent | 317a60d93268f6a8646600a2c3ce0f6a2c6c2665 (diff) | |
download | chocolate-doom-129406f17da942e2613490cdad1c2b24591d50f6.tar.gz chocolate-doom-129406f17da942e2613490cdad1c2b24591d50f6.tar.bz2 chocolate-doom-129406f17da942e2613490cdad1c2b24591d50f6.zip |
Add DEH_String() conversions on more strings that are not being converted.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 653
Diffstat (limited to 'src/r_draw.c')
-rw-r--r-- | src/r_draw.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/r_draw.c b/src/r_draw.c index b19597f2..00be0354 100644 --- a/src/r_draw.c +++ b/src/r_draw.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: r_draw.c 120 2005-09-22 13:13:47Z fraggle $ +// $Id: r_draw.c 653 2006-09-22 20:32:00Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -46,10 +46,11 @@ static const char -rcsid[] = "$Id: r_draw.c 120 2005-09-22 13:13:47Z fraggle $"; +rcsid[] = "$Id: r_draw.c 653 2006-09-22 20:32:00Z fraggle $"; #include "doomdef.h" +#include "deh_main.h" #include "i_system.h" #include "z_zone.h" @@ -831,10 +832,10 @@ void R_FillBackScreen (void) patch_t* patch; // DOOM border patch. - char name1[] = "FLOOR7_2"; + char *name1 = DEH_String("FLOOR7_2"); // DOOM II border patch. - char name2[] = "GRNROCK"; + char *name2 = DEH_String("GRNROCK"); char* name; @@ -864,19 +865,19 @@ void R_FillBackScreen (void) } } - patch = W_CacheLumpName ("brdr_t",PU_CACHE); + patch = W_CacheLumpName (DEH_String("brdr_t"),PU_CACHE); for (x=0 ; x<scaledviewwidth ; x+=8) V_DrawPatch (viewwindowx+x,viewwindowy-8,1,patch); - patch = W_CacheLumpName ("brdr_b",PU_CACHE); + patch = W_CacheLumpName (DEH_String("brdr_b"),PU_CACHE); for (x=0 ; x<scaledviewwidth ; x+=8) V_DrawPatch (viewwindowx+x,viewwindowy+viewheight,1,patch); - patch = W_CacheLumpName ("brdr_l",PU_CACHE); + patch = W_CacheLumpName (DEH_String("brdr_l"),PU_CACHE); for (y=0 ; y<viewheight ; y+=8) V_DrawPatch (viewwindowx-8,viewwindowy+y,1,patch); - patch = W_CacheLumpName ("brdr_r",PU_CACHE); + patch = W_CacheLumpName (DEH_String("brdr_r"),PU_CACHE); for (y=0 ; y<viewheight ; y+=8) V_DrawPatch (viewwindowx+scaledviewwidth,viewwindowy+y,1,patch); @@ -886,22 +887,22 @@ void R_FillBackScreen (void) V_DrawPatch (viewwindowx-8, viewwindowy-8, 1, - W_CacheLumpName ("brdr_tl",PU_CACHE)); + W_CacheLumpName (DEH_String("brdr_tl"),PU_CACHE)); V_DrawPatch (viewwindowx+scaledviewwidth, viewwindowy-8, 1, - W_CacheLumpName ("brdr_tr",PU_CACHE)); + W_CacheLumpName (DEH_String("brdr_tr"),PU_CACHE)); V_DrawPatch (viewwindowx-8, viewwindowy+viewheight, 1, - W_CacheLumpName ("brdr_bl",PU_CACHE)); + W_CacheLumpName (DEH_String("brdr_bl"),PU_CACHE)); V_DrawPatch (viewwindowx+scaledviewwidth, viewwindowy+viewheight, 1, - W_CacheLumpName ("brdr_br",PU_CACHE)); + W_CacheLumpName (DEH_String("brdr_br"),PU_CACHE)); } |