| delorie.com/archives/browse.cgi | search |
| From: | flend AT globalnet DOT co DOT uk (The Flend) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Accessing fields in structs in Allegro datafiles |
| Date: | Thu, 17 Apr 1997 20:32:10 GMT |
| Organization: | I try to avoid it |
| Lines: | 20 |
| Message-ID: | <5j61br$i8q@kew.globalnet.co.uk> |
| Reply-To: | flend AT globalnet DOT co DOT uk |
| NNTP-Posting-Host: | client85d4.globalnet.co.uk |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I am having some trouble with accessing the height of an rle_encoded sprite,
stored in Allegro 2.1 datafile.
The datafile is: dataf_rle
I've tried:
(dataf_rle[spr_no].dat)->h
but it didn't seem to work. I'm sure the solution's blatently obvious, but I'm
none too experienced in C.
If anyone could let me in on the soln I would be most chuffed.
Thanks.
--
/\ The Flend
/--\---/ Email: flend AT globalnet DOT co DOT uk
\ / Colony Web Page: www.simsfam.demon.co.uk
\ 'Hard work never hurt anyone, but why take the chance?'
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |