]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
removed need for gfx/menuplyr.lmp (this code wasn't even used anymore, since the...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 4 Dec 2003 10:05:12 +0000 (10:05 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 4 Dec 2003 10:05:12 +0000 (10:05 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3687 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index 0a58d6823cc35b4903df8bb2fe0ec6b137eb12cd..e38bb73629c931bb51b8ee701f5847cbb51145d6 100644 (file)
@@ -29,8 +29,6 @@ int                   clearnotify;
 
 qboolean       scr_drawloading = false;
 
-static qbyte menuplyr_pixels[4096];
-
 void DrawCrosshair(int num);
 static void SCR_ScreenShot_f (void);
 static void R_Envmap_f (void);
@@ -455,8 +453,6 @@ void SCR_SizeDown_f (void)
 
 void CL_Screen_Init(void)
 {
-       qpic_t *dat;
-
        Cvar_RegisterVariable (&scr_fov);
        Cvar_RegisterVariable (&scr_viewsize);
        Cvar_RegisterVariable (&scr_conspeed);
@@ -478,19 +474,6 @@ void CL_Screen_Init(void)
        Cmd_AddCommand ("envmap", R_Envmap_f);
 
        scr_initialized = true;
-
-       // HACK HACK HACK
-       // load the image data for the player image in the config menu
-       dat = (qpic_t *)FS_LoadFile ("gfx/menuplyr.lmp", false);
-       if (!dat)
-               Sys_Error("unable to load gfx/menuplyr.lmp");
-       SwapPic (dat);
-
-       if (dat->width*dat->height <= 4096)
-               memcpy (menuplyr_pixels, dat->data, dat->width * dat->height);
-       else
-               Con_Printf("gfx/menuplyr.lmp larger than 4k buffer");
-       Mem_Free(dat);
 }
 
 void DrawQ_Clear(void)