www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/28/11:31:42

From: SPAMGUARDriker AT pipcom DOT com (Matt Riker)
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro Datafiles
Date: Wed, 28 Jan 1998 11:22:15 -0500
Organization: Riker Software
Lines: 17
Message-ID: <MPG.f39253f2baddac19896b9@news>
Reply-To: SPAMGUARDriker AT pipcom DOT com
NNTP-Posting-Host: 207.61.241.198
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm writing a program that uses Allegro datafiles, reading sprite files 
from them more specifically.  My problem is, the sprite that I want to 
read from the datafile constantly changes.  The normal format for 
drawing a sprite from the datafile is this:

draw_sprite(doublebuffer, datafile[SPRITENAME].dat, 16, 16);

But because SPRITENAME is constantly changing, I need to put in a 
variable instead.  I've kind of done a poor job of explaining this, but 
if anyone has the vaguest idea of what I'm talking about, your help 
would be appreciated :)  Thanks!

____________________________
Matt Riker
SPAMGUARDriker AT pipcom DOT com
*** Remove SPAMGUARD ***
***  when replying!  ***

- Raw text -


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