mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- fixed palette in 3D Realms screen and first end-of-episode animation in Duke3D.
This commit is contained in:
parent
a67c281290
commit
f2043c4e3d
2 changed files with 2 additions and 26 deletions
|
@ -1179,12 +1179,6 @@ void gameDisplay3DRScreen()
|
|||
videoClearScreen(0);
|
||||
rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, DREALMS, 0, 0, 2 + 8 + 64 + BGSTRETCH);
|
||||
gameHandleEvents();
|
||||
|
||||
if (g_restorePalette)
|
||||
{
|
||||
P_SetGamePalette(g_player[myconnectindex].ps, g_player[myconnectindex].ps->palette, 0);
|
||||
g_restorePalette = 0;
|
||||
}
|
||||
videoNextPage();
|
||||
}
|
||||
}
|
||||
|
@ -1285,12 +1279,6 @@ void gameDisplayTitleScreen(void)
|
|||
#endif
|
||||
VM_OnEvent(EVENT_LOGO, -1, screenpeek);
|
||||
|
||||
if (g_restorePalette)
|
||||
{
|
||||
P_SetGamePalette(g_player[myconnectindex].ps, g_player[myconnectindex].ps->palette, 0);
|
||||
g_restorePalette = 0;
|
||||
}
|
||||
|
||||
videoNextPage();
|
||||
|
||||
#ifdef LUNATIC
|
||||
|
@ -1436,7 +1424,7 @@ static void G_BonusCutscenes(void)
|
|||
350, 380, VICTORY1+8, 86, 59 // duplicate row to alleviate overflow in the for loop below "boss"
|
||||
};
|
||||
|
||||
P_SetGamePalette(g_player[myconnectindex].ps, ENDINGPAL, Pal_2D); // JBF 20040308
|
||||
P_SetGamePalette(g_player[myconnectindex].ps, ENDINGPAL, Pal_Fullscreen); // JBF 20040308
|
||||
videoClearScreen(0L);
|
||||
rotatesprite_fs(0, 50<<16, 65536L, 0, VICTORY1, 0, 0, 2+8+16+64+128+BGSTRETCH);
|
||||
videoNextPage();
|
||||
|
|
|
@ -1269,12 +1269,6 @@ void G_DisplayLogo(void)
|
|||
videoClearScreen(0);
|
||||
rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, DREALMS, 0, 0, 2 + 8 + 64 + BGSTRETCH);
|
||||
G_HandleAsync();
|
||||
|
||||
if (g_restorePalette)
|
||||
{
|
||||
P_SetGamePalette(g_player[myconnectindex].ps, g_player[myconnectindex].ps->palette, 0);
|
||||
g_restorePalette = 0;
|
||||
}
|
||||
videoNextPage();
|
||||
}
|
||||
}
|
||||
|
@ -1361,12 +1355,6 @@ void G_DisplayLogo(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (g_restorePalette)
|
||||
{
|
||||
P_SetGamePalette(g_player[myconnectindex].ps, g_player[myconnectindex].ps->palette, 0);
|
||||
g_restorePalette = 0;
|
||||
}
|
||||
|
||||
videoNextPage();
|
||||
}
|
||||
|
||||
|
@ -1492,7 +1480,7 @@ static void G_BonusCutscenes(void)
|
|||
350, 380, VICTORY1+8, 86, 59 // duplicate row to alleviate overflow in the for loop below "boss"
|
||||
};
|
||||
|
||||
P_SetGamePalette(g_player[myconnectindex].ps, ENDINGPAL, Pal_2D); // JBF 20040308
|
||||
P_SetGamePalette(g_player[myconnectindex].ps, ENDINGPAL, Pal_Fullscreen); // JBF 20040308
|
||||
videoClearScreen(0L);
|
||||
rotatesprite_fs(0, 50<<16, 65536L, 0, VICTORY1, 0, 0, 2+8+16+64+128+BGSTRETCH);
|
||||
videoNextPage();
|
||||
|
|
Loading…
Reference in a new issue