diff -r 4bf29d14edba -r c30fe89622df src/spritecache.h --- a/src/spritecache.h Sat Mar 10 11:07:13 2007 +0000 +++ b/src/spritecache.h Sun Mar 11 16:31:18 2007 +0000 @@ -3,14 +3,14 @@ #ifndef SPRITECACHE_H #define SPRITECACHE_H -typedef struct Sprite { +struct Sprite { byte info; byte height; uint16 width; int16 x_offs; int16 y_offs; byte data[VARARRAY_SIZE]; -} Sprite; +}; const void *GetRawSprite(SpriteID sprite); bool SpriteExists(SpriteID sprite); @@ -25,8 +25,8 @@ return (byte*)GetRawSprite(sprite); } -void GfxInitSpriteMem(void); -void IncreaseSpriteLRU(void); +void GfxInitSpriteMem(); +void IncreaseSpriteLRU(); bool LoadNextSprite(int load_index, byte file_index); void DupSprite(SpriteID old_spr, SpriteID new_spr);