Re: Help needed with C stuff again

new topic     » goto parent     » topic index » view thread      » older message » newer message

I just wrote! (but it seems to have disappeared out there in email land...)

>Hi David.

>Thanks for the excellent answer.

>I think I understand. I peek a WORD from "pixels+(y*width+x)" to get
>the index into the palette and then I peek a WORD from "pallette + index"
>to get the actual 16-bit RGB value?

>Now if only I could work out why all 4 wheels in Landrover6 are spinning
>around each other insted of each wheel spinning on its own axis!

>Examples 1 to 5 worked so well. Sigh.....

>All the best.

OOPS. I would peek a byte not a word from "pixels+(y*width+x)" because
pixels is a BYTE* right? Gives me a BYTE sized index??

I think I hate C.

Mark  : )

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu