Re: Help needed with C stuff again
- Posted by Mark Brown <mabrown at SENET.COM.AU> Nov 20, 2000
- 391 views
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 : )