Csabo
Moderator
Posts: 541
Registered: 02-02 |
If I remember correctly, XWE uses the WAD's palette if it's present, not the Doom2 palette (or whatever you've specified as your main WAD). You shouldn't need to do anything special, just have a local palette and load your image. (Which version did you use? Maybe this got broken in the beta?)
XWE doesn't really have a function to "just load the bitmap data without touching the pixel index", but as long as your picture is an 8 bit one and it uses the same palette as the local one, the imported picture should have the same pixel index as the original. Is there a special reason for this though? I mean are you using a special trick or something that requires the palette indexes to remain intact? In fact it would be pretty easy to have a function which pulls in the pixels as is without mapping them to the palette, but in 99% of the time this would product unwanted/unexpected results.
|