www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/03/04:36:15

From: "CORNU.Nicolas" <CORNU DOT Nicolas AT wanadoo DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: probelem with ALLEGRO BITMAP in a typedef structure
Date: Sat, 3 Apr 1999 10:52:20 +0200
Organization: Wanadoo - (Client of French Internet Provider)
Lines: 32
Message-ID: <7e4l1o$e1l$1@platane.wanadoo.fr>
References: <7e3l97$bol$1 AT platane DOT wanadoo DOT fr> <FDeN2.569$e4 DOT 116 AT cabot DOT ops DOT attcanada DOT net>
NNTP-Posting-Host: meaux12-9.abo.wanadoo.fr
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

no, apic mean a pic...

here is the good line:

blit(datessai[essai].dat , car.sprite_def,0,0,0,64,64);

DeHackEd <notgiven AT out DOT com> a écrit dans le message :
FDeN2.569$e4 DOT 116 AT cabot DOT ops DOT attcanada DOT net...
> > blit("a pic", car.sprite_def,0,0,0,64,64);
> Are you acutally using this?!? Blit does not take strings, it takes
pointers to
> bitmaps that have already been loaded in. You can load them using
> load_bitmap(char*, PALETTE);
>
> > blit(car.sprite_def, screen,0,0,100,100,64,64);
>
> I don't know what bitmap data blit received from "a pic", but that is the
best
> source of your problem.
>
>
> --
> "DeHackEd"
>
> My Email address in the header is fake (spammers). Email me at this
address:
>
> http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked
>
>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019