D1X: Fix black and white swapping when viewing robots in briefings using Mac data; D2X: For Descent 1 briefings, only change the palette to groupa.256 for brief03.pcx - the robot screen. Improves palette use for sdl build

This commit is contained in:
kreatordxx 2010-03-30 03:37:29 +00:00
parent 6c77dd5ecd
commit 1f62f35477
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D2X-Rebirth Changelog D2X-Rebirth Changelog
20100330
--------
main/titles.c: For Descent 1 briefings, only change the palette to groupa.256 for brief03.pcx - the robot screen. Improves palette use for sdl build
20100328 20100328
-------- --------
main/lighting.c: For casting light from Player-object, smooth out thrust to prevent flickering on high FPS main/lighting.c: For casting light from Player-object, smooth out thrust to prevent flickering on high FPS

View file

@ -1158,7 +1158,7 @@ int load_briefing_screen(briefing *br, char *fname)
show_fullscr(&br->background); show_fullscr(&br->background);
if (EMULATING_D1) // HACK, FIXME: D1 missions should use their own palette (PALETTE.256), but texture replacements not complete if (EMULATING_D1 && !stricmp(fname, "brief03.pcx")) // HACK, FIXME: D1 missions should use their own palette (PALETTE.256), but texture replacements not complete
gr_use_palette_table("groupa.256"); gr_use_palette_table("groupa.256");
gr_palette_load(gr_palette); gr_palette_load(gr_palette);