by Dan East » Jan 5, 2002 @ 11:25am
Being your porting an id Software game, I can almost guarantee beyond any doubt that it is a palletized image, as Mirek said. Wolf3D, Quake1 and Quake2 are almost identical in that respect, so Doom would obviously not be radically different. Plus 8 bit RGB would look like total crap.<br>In the display implementation file there should be a SetPalette type function that is passed an array of RGB components which are 24 bit total for each entry. You should convert them to RGB 565 at that time and store them in a global array. When you blit out the display you just look up the bitmap pixel values into that palette array. Look at the PQ source, you should be able to practically copy / paste that over, especially since you modified it for the 720 already.<br><br>Dan East