summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Programmer/iff.h17
-rw-r--r--Programmer/iff.i13
2 files changed, 24 insertions, 6 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 * );
diff --git a/Programmer/iff.i b/Programmer/iff.i
index a004d7b..b98ad6c 100644
--- a/Programmer/iff.i
+++ b/Programmer/iff.i
@@ -1,13 +1,13 @@
IFND LIBRARIES_IFF_I
LIBRARIES_IFF_I SET 1
**
-** $Id: iff.i,v 1.1 92/05/12 22:54:18 chris Exp $
-** $Revision: 1.1 $
+** $Id: iff.i,v 21.1 92/05/15 03:22:20 chris Exp $
+** $Revision: 21.1 $
**
** $Filename: iff.i $
** $Author: chris $
** $Release: 19.1 $
-** $Date: 92/05/12 22:54:18 $
+** $Date: 92/05/15 03:22:20 $
**
** Standard header file for programs using iff.library
**
@@ -118,6 +118,13 @@ IFFL_MODE_WRITE EQU 1
*****************************************************************************
+** Modes for IFFL_CompressBlock() and IFFL_DecompressBlock()
+
+IFFL_COMPR_NONE EQU $0000 ; generic
+IFFL_COMPR_BYTERUN1 EQU $0001 ; ILBM
+IFFL_COMPR_FIBDELTA EQU $0101 ; 8SVX
+
+*****************************************************************************
** Structure definitions
bmh_Width EQU 0 ; BMHD: struct BitMapHeader