From 129406f17da942e2613490cdad1c2b24591d50f6 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 22 Sep 2006 20:32:00 +0000 Subject: Add DEH_String() conversions on more strings that are not being converted. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 653 --- src/i_video.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/i_video.c') diff --git a/src/i_video.c b/src/i_video.c index ea99cfb7..1d36442d 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: i_video.c 613 2006-09-18 12:13:40Z fraggle $ +// $Id: i_video.c 653 2006-09-22 20:32:00Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -175,7 +175,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: i_video.c 613 2006-09-18 12:13:40Z fraggle $"; +rcsid[] = "$Id: i_video.c 653 2006-09-22 20:32:00Z fraggle $"; #include #include @@ -184,6 +184,7 @@ rcsid[] = "$Id: i_video.c 613 2006-09-18 12:13:40Z fraggle $"; #include "chocolate_doom_icon.c" #include "config.h" +#include "deh_main.h" #include "doomdef.h" #include "doomstat.h" #include "d_main.h" @@ -337,9 +338,9 @@ static void LoadDiskImage(void) int y; if (M_CheckParm("-cdrom") > 0) - disk = (patch_t *) W_CacheLumpName("STCDROM", PU_STATIC); + disk = (patch_t *) W_CacheLumpName(DEH_String("STCDROM"), PU_STATIC); else - disk = (patch_t *) W_CacheLumpName("STDISK", PU_STATIC); + disk = (patch_t *) W_CacheLumpName(DEH_String("STDISK"), PU_STATIC); V_DrawPatch(0, 0, 0, disk); disk_image_w = SHORT(disk->width); @@ -1206,7 +1207,7 @@ void I_InitGraphics(void) // Set the palette - I_SetPalette (W_CacheLumpName ("PLAYPAL",PU_CACHE)); + I_SetPalette (W_CacheLumpName (DEH_String("PLAYPAL"),PU_CACHE)); SDL_SetColors(screen, palette, 0, 256); // Setup title and icon -- cgit v1.2.3