forked from mirror/OpenTTD
(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:
@@ -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
|
||||
|
Reference in New Issue
Block a user