- use Pal_2D for Duke's title screen.

This has transparent overlays so it must not disable translucency.
This commit is contained in:
Christoph Oelckers 2020-01-26 11:47:40 +01:00
parent 3be4364d6e
commit cb652ad147
4 changed files with 4 additions and 4 deletions

View file

@ -4694,7 +4694,7 @@ void Net_WaitForServer(void)
if (numplayers < 2 || g_netServer) if (numplayers < 2 || g_netServer)
return; return;
P_SetGamePalette(g_player[myconnectindex].ps, TITLEPAL, Pal_Fullscreen); P_SetGamePalette(g_player[myconnectindex].ps, TITLEPAL, Pal_2D);
do do
{ {

View file

@ -1206,7 +1206,7 @@ void gameDisplayTitleScreen(void)
videoClearScreen(0); videoClearScreen(0);
// g_player[myconnectindex].ps->palette = titlepal; // g_player[myconnectindex].ps->palette = titlepal;
P_SetGamePalette(g_player[myconnectindex].ps, TITLEPAL, Pal_Fullscreen); // JBF 20040308 P_SetGamePalette(g_player[myconnectindex].ps, TITLEPAL, Pal_2D); // JBF 20040308
renderFlushPerms(); renderFlushPerms();
rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, BETASCREEN, 0, 0, 2 + 8 + 64 + BGSTRETCH); rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, BETASCREEN, 0, 0, 2 + 8 + 64 + BGSTRETCH);
inputState.keyFlushChars(); inputState.keyFlushChars();

View file

@ -164,7 +164,7 @@ void Net_WaitForEverybody(void)
} }
P_SetGamePalette(g_player[myconnectindex].ps, TITLEPAL, Pal_Fullscreen); P_SetGamePalette(g_player[myconnectindex].ps, TITLEPAL, Pal_2D);
do do
{ {

View file

@ -1297,7 +1297,7 @@ void G_DisplayLogo(void)
videoClearScreen(0); videoClearScreen(0);
//g_player[myconnectindex].ps->palette = titlepal; //g_player[myconnectindex].ps->palette = titlepal;
P_SetGamePalette(g_player[myconnectindex].ps, TITLEPAL, Pal_Fullscreen); // JBF 20040308 P_SetGamePalette(g_player[myconnectindex].ps, TITLEPAL, Pal_2D); // JBF 20040308
renderFlushPerms(); renderFlushPerms();
rotatesprite_fs(160<<16, 100<<16, 65536L, 0, BETASCREEN, 0, 0, 2+8+64+BGSTRETCH); rotatesprite_fs(160<<16, 100<<16, 65536L, 0, BETASCREEN, 0, 0, 2+8+64+BGSTRETCH);
inputState.keyFlushChars(); inputState.keyFlushChars();