From: "J.A. Bijsterbosch" Newsgroups: comp.os.msdos.djgpp Subject: Re: even more graphics problems with allegro Date: 31 Mar 1998 16:41:40 GMT Organization: World Online Lines: 29 Message-ID: <01bd5c0a$2d77dba0$LocalHost@default> References: <35192EB0 DOT F59BDE31 AT concentric DOT net> NNTP-Posting-Host: asd1-p200.worldonline.nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello Dan, D. Huizenga schreef in artikel <35192EB0 DOT F59BDE31 AT concentric DOT net>... > [Snip] > > I guess what you wanted was something like this: > > blit((BITMAP *)data[selecto].dat, screen, 0, 0, 0, 0, 320, 200); > > Actually, the typecast is not neccessary, AFAIK. > simply using > > blit(data[selecto].dat, screen, 0, 0, 0, 0, 320, 200); > > should work fine, and it's slightly less long to type. Except if you're trying to do something in C++, then the typecast really is nescessairy. Just to be complete... ;-)) > Dan Huizenga -- Greetings from sunny Amsterdam Jan email: bijster AT worldonline DOT nl http://home.worldonline.nl/~bijster