(svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate

This commit is contained in:
tron
2005-02-10 05:43:30 +00:00
parent 092e72d60d
commit 2a151d9354
11 changed files with 27 additions and 15 deletions

16
spritecache.h Normal file
View File

@@ -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