summaryrefslogtreecommitdiff
path: root/spritecache.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-14 18:10:18 +0000
committertron <tron@openttd.org>2005-08-14 18:10:18 +0000
commita7d6b41c6aad0b6543e469bece10e1c7e531cb84 (patch)
tree4ffc4a0a48b8c38e767e4f8bf67bb8d49d86101e /spritecache.h
parent45b79d7347daee02557278de3d6b7cf25efa69a5 (diff)
downloadopenttd-a7d6b41c6aad0b6543e469bece10e1c7e531cb84.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.h5
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