Mail Archives: djgpp/1997/04/18/12:26:25
On Thu, 17 Apr 1997 20:32:10 GMT, flend AT globalnet DOT co DOT uk (The Flend)
wrote:
>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
>
I don't have my code at hand, but
(BITMAP)dataf_rle[spr_no].dat->h
or
((BITMAP)dataf_rle[spr_no].dat)->h
or something similar worked fine for me. Well, with allegro 2.2, but I
don't think it would be very important.
----8<---------------------------------------------------------------
cortar por la línea de puntos (no el monitor)
Joaquín Hierro Díaz
Area de Sistemas y Comunicaciones
Centro Técnico de Informática
Consejo Superior de Investigaciones Científicas
c/Pinar 19
28006 MADRID
Telef: (91) 564.29.63 ext 205
Fax: (91) 561.61.93
- Raw text -