2007-06-28 10:47:08 -07:00
|
|
|
#ifndef __INCLUDED_BITIMAGE__
|
|
|
|
#define __INCLUDED_BITIMAGE__
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
UWORD NumCluts;
|
|
|
|
UWORD *ClutIDs;
|
|
|
|
} CLUTLIST;
|
|
|
|
|
|
|
|
typedef void (*CLUTCALLBACK)(UWORD *clut);
|
|
|
|
|
|
|
|
UWORD iV_GetImageWidth(IMAGEFILE *ImageFile,UWORD ID);
|
|
|
|
UWORD iV_GetImageHeight(IMAGEFILE *ImageFile,UWORD ID);
|
|
|
|
UWORD iV_GetImageWidthNoCC(IMAGEFILE *ImageFile,UWORD ID);
|
|
|
|
UWORD iV_GetImageHeightNoCC(IMAGEFILE *ImageFile,UWORD ID);
|
|
|
|
SWORD iV_GetImageXOffset(IMAGEFILE *ImageFile,UWORD ID);
|
|
|
|
SWORD iV_GetImageYOffset(IMAGEFILE *ImageFile,UWORD ID);
|
|
|
|
UWORD iV_GetImageCenterX(IMAGEFILE *ImageFile,UWORD ID);
|
|
|
|
UWORD iV_GetImageCenterY(IMAGEFILE *ImageFile,UWORD ID);
|
|
|
|
|
2006-08-12 09:52:37 -07:00
|
|
|
IMAGEFILE *iV_LoadImageFile(char *FileData, UDWORD FileSize);
|
2007-06-28 10:47:08 -07:00
|
|
|
void iV_FreeImageFile(IMAGEFILE *ImageFile);
|
|
|
|
|
|
|
|
#endif
|