Since PF surface contains RGB values and not indexes of palette table, I see no way to change palette during run-time, exept changing system palette. I can't find the way to do this on PPC. Did someone do this?
I use a lookup table for fire/smoke effects in Assaultaire.
I use an additive blit to a temporary surface. Then I scan through the pixels and use the color value as a lookup into my color table.