summaryrefslogtreecommitdiff
path: root/Programmer/iff.h
diff options
context:
space:
mode:
authorChristian A. Weber <chris@gna.ch>1992-05-18 02:17:48 +0000
committerChristian A. Weber <chris@gna.ch>1992-05-18 02:17:48 +0000
commitb05e630f75fa6db3c9f2b61568e02479e81acff1 (patch)
tree670f14f286cff755d1472d50299a75da8603c814 /Programmer/iff.h
parentfd511a54203c311434a04a58d377545566728833 (diff)
downloadiff-library-b05e630f75fa6db3c9f2b61568e02479e81acff1.tar.gz
iff-library-b05e630f75fa6db3c9f2b61568e02479e81acff1.tar.bz2
iff-library-b05e630f75fa6db3c9f2b61568e02479e81acff1.zip
Kompressionsmodi sind jetzt geschicktere Konstante
Diffstat (limited to 'Programmer/iff.h')
-rw-r--r--Programmer/iff.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/Programmer/iff.h b/Programmer/iff.h
index 9e89511..763cffd 100644
--- a/Programmer/iff.h
+++ b/Programmer/iff.h
@@ -2,13 +2,13 @@
#define LIBRARIES_IFF_H
/*
**
-** $Id: iff.h,v 21.1 92/05/15 03:22:35 chris Exp $
-** $Revision: 21.1 $
+** $Id: iff.h,v 21.2 92/05/17 03:29:18 chris Exp $
+** $Revision: 21.2 $
**
** $Filename: iff.h $
** $Author: chris $
** $Release: 19.1 $
-** $Date: 92/05/15 03:22:35 $
+** $Date: 92/05/17 03:29:18 $
**
** Standard header file for programs using iff.library
**
@@ -111,6 +111,15 @@
/****************************************************************************
+** Modes for IFFL_CompressBlock() and IFFL_DecompressBlock()
+*/
+
+#define IFFL_COMPR_NONE 0x0000 /* generic */
+#define IFFL_COMPR_BYTERUN1 0x0001 /* ILBM */
+#define IFFL_COMPR_FIBDELTA 0x0101 /* 8SVX */
+
+
+/****************************************************************************
** Structure definitions
*/
@@ -177,7 +186,9 @@ struct IFFL_ANHD /* ANHD chunk for ANIM files */
*/
void IFFL_CloseIFF ( IFFL_HANDLE );
+ULONG IFFL_CompressBlock ( APTR, APTR, ULONG, ULONG );
BOOL IFFL_DecodePic ( IFFL_HANDLE, struct BitMap * );
+ULONG IFFL_DecompressBlock ( APTR, APTR, ULONG, ULONG );
void *IFFL_FindChunk ( IFFL_HANDLE, LONG );
struct IFFL_BMHD *IFFL_GetBMHD ( IFFL_HANDLE );
LONG IFFL_GetColorTab ( IFFL_HANDLE, WORD * );