]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.c
A few casts and variable type changes to get rid of warnings on Win64. By Willis
[xonotic/darkplaces.git] / menu.c
diff --git a/menu.c b/menu.c
index eca046cf10cc57a4d5641b4e92e6d23284f74e44..52e6b9f3bcc2f059aa8504c6667df146d7b900f1 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -1351,7 +1351,7 @@ void M_Setup_Draw (void)
                        menuplyr_bottom = setup_bottom;
                        M_BuildTranslationTable(menuplyr_top*16, menuplyr_bottom*16);
                        for (i = 0;i < menuplyr_width * menuplyr_height;i++)
-                               menuplyr_translated[i] = palette_complete[translationTable[menuplyr_pixels[i]]];
+                               menuplyr_translated[i] = palette_transparent[translationTable[menuplyr_pixels[i]]];
                        Draw_NewPic("gfx/menuplyr", menuplyr_width, menuplyr_height, true, (unsigned char *)menuplyr_translated);
                }
                M_DrawPic(160, 48, "gfx/bigbox");
@@ -2761,8 +2761,10 @@ video_resolution_t video_resolutions[] =
 {"WideScreen 5x3"            , 1280, 768, 640, 384, 1     },
 {"WideScreen 8x5"            ,  320, 200, 320, 200, 1     },
 {"WideScreen 8x5"            ,  640, 400, 640, 400, 1     },
+{"WideScreen 8x5"            ,  720, 450, 720, 450, 1     },
 {"WideScreen 8x5"            ,  840, 525, 640, 400, 1     },
 {"WideScreen 8x5"            ,  960, 600, 640, 400, 1     },
+{"WideScreen 8x5"            , 1440, 900, 720, 450, 1     },
 {"WideScreen 8x5"            , 1680,1050, 640, 400, 1     },
 {"WideScreen 8x5"            , 1920,1200, 640, 400, 1     },
 {"WideScreen 8x5"            , 2560,1600, 640, 400, 1     },