Mail Archives: djgpp/1996/09/21/13:44:39
I am (almost) certain that this question got through the last time I
posted it, but I've been wrong before (many times) and I'll be wrong
again (many times), I'm sure.
Anyway, in GRX20 (I'm using DJGPP2.0), what is the proper syntax for
using GrBitBlt as a sprite function? I tried to use the same syntax
in the BitBlt demo that came with GRX20, but to no avail. I can
create a context, and copy (I think) the data from 0,0 to 39,39
(copying with BitBlt) on the screen, but when I make a nice loop to
put the stored context (the sprite) at random locations on the
screen, and the block is written over the part of the screen where
the original sprite was saved from, the saved sprite seeems to
change. Note that the sprite created with GrCreateSubContext, but
GrCreateContext.
Anyway, if anyone can point me to help (no docs in my copy of grx20,
and I haven't found the docs for the original on which its based), I
will be _very_ appreciative.
Cheers,
Jeff
rbachtel AT ghgcorp DOT com
shotoftequila AT juno DOT com
- Raw text -