[futurebasic] Re : [FB] GWorld

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 1999 : Group Archive : Group : All Groups

From: "jonathan" <jonathan@...>
Date: Sat, 10 Apr 1999 11:30:05 +0200
> I have the book 'Tricks of the Mac Game Programming Gurus'
> and at page 138, there is a line in C (or Pascal ?):

No, Sylvain, it's in Greek ;-)

> ---From the book---
>
> //Copy the screen's color table seed into the source pixmap.
> //This will minimize Copybits() setup time.
>
> (*( ( *gOffscreenPixels) -> pmTable)) -> ctSeed = ( *( ( *( ( *(
> GetGDevice( ) ) )
> -> gdPMap ) ) ->pmTable ) ) -> ctSeed;
>
> ---End
>
> (This is all on the same line.)
> This line is just before COPYBITS.
>
> Does anyone know how to use this in FB ?

I remember posting this subject yonks ago (when I got the book in fact) and
the consensus was that if the screen used the system palette and the gworld
too, then this serves no purpose, only if you use different palettes does
this speed things. (and of course, if you're not working in 256 colors, you
have no palettes..)

jonathan