Mail Archives: djgpp/1997/10/25/18:47:32
In article <62dp2e$72b AT bgtnsc02 DOT worldnet DOT att DOT net>, JASON MEEHAN <JASONMEEHAN AT compuserve DOT com> wrote:
>Ok, heres what I'm trying to do. I need to convert a different type of
>bitmap to allegros type so that I can use allegros graphic routines.
>
>unsigned char *oldbitmap; /*this points to graphic data in 8x8tiles*/
>BITMAP *newbitmap; /**** allegro bitmap type ******/
>.....
>.......
>newbitmap =create_bitmap(8,8);
>
>newbitmap.*dat=*oldbitmap;
>
> /*** i know this is wrong but what i'm
> trying to do is make it point to the oldbitmap****/
>
>can anyone help me?
>
>Thanks
Jason,
Have you thought about this....
Simply, display your old bitmap on a blank screen, and then use the allegro
stuff to recapture it in allegro format?
Good Luck.
Rob
West Oz
- Raw text -