changeset 1349 | 07514c2cc6d1 |
child 1350 | 067b22970f19 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spritecache.h Thu Feb 10 05:43:30 2005 +0000 @@ -0,0 +1,16 @@ +#ifndef SPRITECACHE_H +#define SPRITECACHE_H + +typedef struct { + int xoffs, yoffs; + int xsize, ysize; +} SpriteDimension; + +const SpriteDimension *GetSpriteDimension(SpriteID sprite); +byte *GetSpritePtr(SpriteID sprite); + +void GfxInitSpriteMem(byte *ptr, uint32 size); +void GfxLoadSprites(void); +void IncreaseSpriteLRU(void); + +#endif