delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/29/00:33:18

From: SPAMGUARDriker AT pipcom DOT com (Matt Riker)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro Datafiles
Date: Thu, 29 Jan 1998 00:13:49 -0500
Organization: Riker Software
Lines: 21
Message-ID: <MPG.f3978bd135ef0509896bb@news>
References: <MPG DOT f39253f2baddac19896b9 AT news> <ed0UjOArN4z0EwTG AT talula DOT demon DOT co DOT uk>
Reply-To: SPAMGUARDriker AT pipcom DOT com
NNTP-Posting-Host: 207.61.241.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <ed0UjOArN4z0EwTG AT talula DOT demon DOT co DOT uk>, 
Shawn AT talula DOT demon DOT co DOT uk says:

 > >draw_sprite(doublebuffer, datafile[SPRITENAME].dat, 16, 16);
 > >
 > >But because SPRITENAME is constantly changing, I need to put in a 
 > >variable instead.
 > 
 > So, put it in a variable! There is no problem with that. The object ID

Hey, what do ya know :)  I figured it would read current_sprite as 
current_sprite in the datafile, instead of reading it as a variable.  
Wasn't able to test it, cuz I was in the middle of writing the program.

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