Mail Archives: djgpp/1997/10/28/03:30:25
i did load the dat file but didn't post to spare the obvious. i can call
draw_spite passing (screen, data.dat, 100, 100) and it works fine.
however for the nature of my project, having the draw routine draw the
bitmaps right fron the dat file is unreasonably slow. that is why i wanted
to load them all in at one point and then use them repeatedly.
for now i am just puting a slew of bmps in a dir and loading them all
individually, but for a finished product the filesize and cluster of files
like that is not feasible. could you post a working example of loading a bmp
from a dat file into a global BITMAP* array.
thanks in advance
- Raw text -