delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/19/14:46:37

From: "Rylan" <rylan AT intekom DOT co DOT za>
Newsgroups: comp.os.msdos.djgpp
Subject: Accessing Allegro Datafile Properties
Date: 19 Mar 1998 19:18:18 GMT
Organization: The South African Internet Exchange.
Lines: 21
Message-ID: <01bd5369$37a566a0$LocalHost@default>
NNTP-Posting-Host: pc25-01-p10.saix.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

I want to access Allegro Datafile properties for objects in a Datafile. How
do I do this? The documentation is extremely obscure on this point. What I
want to do is to read the "XSIZ" and "YSIZ" properties for a datafile
object so that I can use these values as integers in the code that will
handle that particular datafile object.

For instance, if a RLE sprite object has an XSIZ property of 25, I want to
get access to that value so that I can stop the animation of the object
before it starts scrolling off the screen on the right.

Thus: How do I access the values of the XSIZ and YSIZ  properties for a
certain selected object in an Allegro Datafile? 

Please reply by email if at all possible.

Fanx!
-- 
Spawned By Rylan
Is truth beauty or beauty truth?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019