mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +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);
|
videoClearScreen(0);
|
||||||
rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, DREALMS, 0, 0, 2 + 8 + 64 + BGSTRETCH);
|
rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, DREALMS, 0, 0, 2 + 8 + 64 + BGSTRETCH);
|
||||||
gameHandleEvents();
|
gameHandleEvents();
|
||||||
|
|
||||||
if (g_restorePalette)
|
|
||||||
{
|
|
||||||
P_SetGamePalette(g_player[myconnectindex].ps, g_player[myconnectindex].ps->palette, 0);
|
|
||||||
g_restorePalette = 0;
|
|
||||||
}
|
|
||||||
videoNextPage();
|
videoNextPage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1285,12 +1279,6 @@ void gameDisplayTitleScreen(void)
|
||||||
#endif
|
#endif
|
||||||
VM_OnEvent(EVENT_LOGO, -1, screenpeek);
|
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();
|
videoNextPage();
|
||||||
|
|
||||||
#ifdef LUNATIC
|
#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"
|
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);
|
videoClearScreen(0L);
|
||||||
rotatesprite_fs(0, 50<<16, 65536L, 0, VICTORY1, 0, 0, 2+8+16+64+128+BGSTRETCH);
|
rotatesprite_fs(0, 50<<16, 65536L, 0, VICTORY1, 0, 0, 2+8+16+64+128+BGSTRETCH);
|
||||||
videoNextPage();
|
videoNextPage();
|
||||||
|
|
|
@ -1269,12 +1269,6 @@ void G_DisplayLogo(void)
|
||||||
videoClearScreen(0);
|
videoClearScreen(0);
|
||||||
rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, DREALMS, 0, 0, 2 + 8 + 64 + BGSTRETCH);
|
rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, DREALMS, 0, 0, 2 + 8 + 64 + BGSTRETCH);
|
||||||
G_HandleAsync();
|
G_HandleAsync();
|
||||||
|
|
||||||
if (g_restorePalette)
|
|
||||||
{
|
|
||||||
P_SetGamePalette(g_player[myconnectindex].ps, g_player[myconnectindex].ps->palette, 0);
|
|
||||||
g_restorePalette = 0;
|
|
||||||
}
|
|
||||||
videoNextPage();
|
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();
|
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"
|
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);
|
videoClearScreen(0L);
|
||||||
rotatesprite_fs(0, 50<<16, 65536L, 0, VICTORY1, 0, 0, 2+8+16+64+128+BGSTRETCH);
|
rotatesprite_fs(0, 50<<16, 65536L, 0, VICTORY1, 0, 0, 2+8+16+64+128+BGSTRETCH);
|
||||||
videoNextPage();
|
videoNextPage();
|
||||||
|
|
Loading…
Reference in a new issue