by no pockets » Feb 13, 2006 @ 9:45am
Also, I have useful function in my GapiDraw projects which sets transparent color automatically, like the following code for PF. But this doesn't work. I guess I need to convert color data somehow, could smbdy tell me how?
void pickTransparent(Surface* s, int x, int y) {
Rasterizer r(s);
Pixel p = r.GetPixel(x, y);
s->SetColorMask(p);
}
Thank you.
I've frittered away my time, done nothing more important than design silly games for idle people...