home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 10
/
AU_CD10.iso
/
Updates
/
DigitalCD
/
!DigitalCD
/
Copy
/
PowerBars
/
h
/
Sprites
< prev
next >
Wrap
Text File
|
1999-02-11
|
715b
|
41 lines
#ifndef __Sprites__H
#define __Sprites__H
#include "Coords.h"
typedef struct
{
int size;
int number;
int sproff;
int freeoff;
} CSpriteArea;
typedef struct
{
int next;
char name[12];
int width;
int height;
int lbit;
int rbit;
int image;
int mask;
int mode;
} CSpriteHdr;
typedef struct
{
int xmag;
int ymag;
int xdiv;
int ydiv;
} CSpriteFactors;
CSpriteArea* Sprites_LoadFile(const char* filename);
CSize GetSpriteSize(const CSpriteArea* pSpriteArea, const char* pSpriteName);
CSize Desktop_GetSpriteSize(const CSpriteArea* pSpriteaArea, const char* pSpriteName);
void Desktop_PlotSprite(const CSpriteArea* pSpriteaArea, const char* pSpriteName, const CPoint* pt, const CRect* prect);
#endif