diff options
author | tron <tron@openttd.org> | 2005-08-14 18:10:18 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-08-14 18:10:18 +0000 |
commit | 19f5036c468e125393f6e8dd23c53436512424c6 (patch) | |
tree | 4ffc4a0a48b8c38e767e4f8bf67bb8d49d86101e /spritecache.h | |
parent | 26d24f64fc78d15464e35aa56c7788dcf70eba39 (diff) | |
download | openttd-19f5036c468e125393f6e8dd23c53436512424c6.tar.xz |
(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.
Diffstat (limited to 'spritecache.h')
-rw-r--r-- | spritecache.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |