diff options
author | Christian A. Weber <chris@gna.ch> | 1992-05-18 02:18:15 +0000 |
---|---|---|
committer | Christian A. Weber <chris@gna.ch> | 1992-05-18 02:18:15 +0000 |
commit | 9fcc3237e1d6c77624ecc6419bc9e24c8554c129 (patch) | |
tree | 767159ecd22ca5595f1b578ace586297c84942cf | |
parent | b05e630f75fa6db3c9f2b61568e02479e81acff1 (diff) | |
download | iff-library-9fcc3237e1d6c77624ecc6419bc9e24c8554c129.tar.gz iff-library-9fcc3237e1d6c77624ecc6419bc9e24c8554c129.tar.bz2 iff-library-9fcc3237e1d6c77624ecc6419bc9e24c8554c129.zip |
Autodocs für CalcViewModes() gemacht (internal).
-rw-r--r-- | Source/GetViewModes.S | 38 |
1 files changed, 33 insertions, 5 deletions
diff --git a/Source/GetViewModes.S b/Source/GetViewModes.S index bf5b4b9..ff98a82 100644 --- a/Source/GetViewModes.S +++ b/Source/GetViewModes.S @@ -1,11 +1,11 @@ ** -** $Id: GetViewModes.S,v 1.1 92/05/12 22:26:49 chris Exp $ -** $Revision: 1.1 $ +** $Id: GetViewModes.S,v 21.1 92/05/15 03:22:48 chris Exp $ +** $Revision: 21.1 $ ** ** $Filename: GetViewModes.S $ ** $Author: chris $ ** $Release: 19.1 $ -** $Date: 92/05/12 22:26:49 $ +** $Date: 92/05/15 03:22:48 $ ** ** iff.library/IFFL_GetViewModes ** @@ -106,8 +106,36 @@ Ende: movea.l (SP)+,a2 rts - *** ViewModes berechnen, A0 = struct BitMapHeader - *** Diese Routine wird auch von SaveClip() benutzt + +*****i* iff.library/CalcViewModes ******************************************* +* +* NAME +* CalcViewModes() -- Calculate Amiga-specific ViewModes from a BMHD +* +* SYNOPSIS +* viewmodes = CalcViewModes( bmhd ) +* D0 A0 +* +* ULONG CalcViewModes( struct IFFL_BMHD ) +* +* FUNCTION +* Tries to calculate the viewmodes for a CAMG chunk by looking at +* the bmh_Width, bmh_Height and bmh_Depth entries of a bmhd. +* This is not always satisfactory, but we're stuck with it. +* +* INPUTS +* bmhd - BitMapHeader describing the picture's dimensions +* +* RESULT +* viewmodes - ULONG containing the view modes (LACE, HIRES) +* +* BUGS +* too many to mention +* +* SEE ALSO +* IFFL_GetViewModes(), IFFL_SaveClip() +* +***************************************************************************** CalcViewModes: moveq.l #0,d0 ; D0 : ViewModes |