delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/26/12:17:51

From: Vic <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: allegro datafiles
Date: Thu, 23 Oct 1997 18:49:55 -0400
Organization: Communications Accessibles Montreal, Quebec Canada
Lines: 10
Message-ID: <344FD493.FB6@cam.org>
References: <62m3pq$482$1 AT news DOT cybernex DOT net>
NNTP-Posting-Host: dynppp-35.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ethan Giordano wrote:
Why can't you use the normal datafile array?
DATAFILE *data=load_datafile("name");
draw_sprite(buffer,(BITMAP*)data[THE_BITMAP].dat,X,Y);
What's wrong with this?
Maybe you should try casting those pointers to BITMAP* ?
-- 
--> http://www.cam.org/~tudor <--
Go ahead and build another Messiah
We dig another grave...

- Raw text -


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