From 19f5036c468e125393f6e8dd23c53436512424c6 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 14 Aug 2005 18:10:18 +0000 Subject: (svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c. This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier. --- spritecache.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'spritecache.h') diff --git a/spritecache.h b/spritecache.h index 9d25f2bc7..c2ff67134 100644 --- a/spritecache.h +++ b/spritecache.h @@ -24,7 +24,10 @@ static inline const byte *GetNonSprite(SpriteID sprite) return GetRawSprite(sprite); } -void GfxLoadSprites(void); +void GfxInitSpriteMem(void); void IncreaseSpriteLRU(void); +bool LoadNextSprite(int load_index, byte file_index); +void SkipSprites(uint count); + #endif -- cgit v1.2.3-54-g00ecf