(svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate
parent
49a4d014b9
commit
7cd19fe07a
@ -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
|
Loading…
Reference in New Issue