You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
330 B
C
17 lines
330 B
C
20 years ago
|
#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
|