(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.
This commit is contained in:
tron
2005-08-14 18:10:18 +00:00
parent 26d24f64fc
commit 19f5036c46
10 changed files with 388 additions and 331 deletions

View File

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