Mail Archives: djgpp/1998/01/28/11:31:42
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 -