delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/24/08:34:01

Date: Thu, 24 Aug 2000 14:33:27 +0200 (MET DST)
From: pad2369 <pad2369 AT iperbole DOT bologna DOT it>
Message-Id: <200008241233.OAA20994@maggiore.iperbole.bologna.it>
To: djgpp AT delorie DOT com, 23yrold3yrold <cbarry AT pangea DOT ca>
References: <39a460d1_3 AT spamkiller DOT newsfeeds DOT com>
In-Reply-To: <39a460d1_3@spamkiller.newsfeeds.com>
MIME-Version: 1.0
User-Agent: IMP/PHP3 Imap webMail Program 2.0.11
Sender: pad2369 AT iperbole DOT bologna DOT it
Subject: Re: Determining BITMAP width and height at runtime
Reply-To: djgpp AT delorie DOT com

23yrold3yrold <cbarry AT pangea DOT ca>:

> I have a bad habit of trying to fit my message in my 
> subject line : ) Oh
> well, did it again. How can a bitmap's (or more 
> specifically, RLE sprite's)
> width and height be determined during runtime? I'm 
> pretty sure there's no
> Allegro function for this....

IIRC there in both struct BITMAP and struct RLE_SPRITE 
there are two fields, w and h, for width and height 
respectively.

ciao
  Giacomo
-------------------------------------------------------
Giacomo Degli Esposti - pad2369 AT iperbole DOT bologna DOT it

- Raw text -


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