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/i_video.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/i_video.c')
-rw-r--r-- | src/i_video.c | 11 |
1 files changed, 6 insertions, 5 deletions
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 <SDL.h> #include <ctype.h> @@ -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 |