/* :ts=8
*
*	deboxproto.h
*
*	William A. Ware			9006.20
*
*************************************************************************
*   This information is CONFIDENTIAL and PROPRIETARY			*
*   Copyright (C) 1990, Silent Software Incorporated.			*
*   All Rights Reserved.						*							*
************************************************************************/

#ifndef	DeBoxBase
extern struct Library *DeBoxBase;
#endif



/* PRIVATE */
VOID			Eor		(UBYTE *, ULONG, UBYTE *);

/* PUBLIC */
BYTE 			CheckHeader	(struct CompHeader *);
ULONG			HeaderSize	(struct CompHeader *);
void			*NextComp	(struct CompHeader *, void *);
LONG 			DecompData	(struct CompHeader *,
					 void *, void *);

ULONG			BMInfoSize	(struct BMInfo *,
					 struct CompHeader *, void *);
struct BMInfo		*DecompBMInfo	(struct BMInfo *,
					 struct CompHeader *, void *);
VOID			FreeBMInfo	(struct BMInfo *);
LONG 			DecompBitMap	(struct CompHeader *, void *,
					 struct BitMap *, UBYTE *);
LONG			MemSet		(void *, BYTE, ULONG);
struct BitMap  		*Debox_AllocBitMap(UWORD, UWORD, UWORD);
VOID			Debox_FreeBitMap(struct BitMap *);

struct SuperView	*CreateView	(struct SuperView *, struct BitMap *,
					 UWORD, UWORD, UWORD);
VOID			DeleteView	(struct SuperView *);
VOID			CenterViewPort	(struct View *,struct ViewPort *);

int			CycleColors	(struct BMInfo *, ULONG);

/* V2 Functions */
ULONG			GetSpecialData	(ULONG, void * ); 
ULONG			*GetBMInfoRGB32	(struct BMInfo *, UWORD, UWORD);
VOID			FreeBMInfoRGB32	(ULONG *);
BOOL			CycleRGB32	(struct BMInfo *,ULONG,ULONG *,ULONG *);

/* :ts=8									**/
/*									**/
/*	debox_lib.fd							**/
/*									**/
/*	William A. Ware			9006.20				**/
/*									**/
/**************************************************************************/
/*   This information is CONFIDENTIAL and PROPRIETARY			**/
/*   Copyright (C) 1990, Silent Software Incorporated.			**/
/*   All Rights Reserved.						*							**/
/**************************************************************************/
/*-*/
/*pragma libcall DeBoxBase Decomp 1E BA9804*/
/*pragma libcall DeBoxBase STDDecomp 24 0A9804*/
/*pragma libcall DeBoxBase Eor 2A 90803*/
/*- header*/
#pragma libcall DeBoxBase CheckHeader 30 801
#pragma libcall DeBoxBase HeaderSize 36 801
#pragma libcall DeBoxBase NextComp 3C 9802
/*- decompression*/
#pragma libcall DeBoxBase DecompData 42 A9803
/*- bitmap decompression.*/
#pragma libcall DeBoxBase BMInfoSize 48 9802
#pragma libcall DeBoxBase DecompBMInfo 4E A9803
#pragma libcall DeBoxBase FreeBMInfo 54 801
#pragma libcall DeBoxBase DecompBitMap 5A BA9804
/*- other*/
#pragma libcall DeBoxBase MemSet 60 10803
#pragma libcall DeBoxBase Debox_AllocBitMap 66 21003
#pragma libcall DeBoxBase Debox_FreeBitMap 6C 801
/*- view*/
#pragma libcall DeBoxBase CreateView 72 2109805
#pragma libcall DeBoxBase DeleteView 78 801
#pragma libcall DeBoxBase CenterViewPort 7E 801
/*- cycle*/
#pragma libcall DeBoxBase CycleColors 84 0802
/*- V2 C107*/
/*pragma libcall DeBoxBase UnLas 8A 0802*/
/*- V2 C113*/
#pragma libcall DeBoxBase GetSpecialData 90 8002
#pragma libcall DeBoxBase GetBMInfoRGB32 96 10803
#pragma libcall DeBoxBase FreeBMInfoRGB32 9C 801
#pragma libcall DeBoxBase CycleRGB32 A2 A90804
