summaryrefslogtreecommitdiff
path: root/spritecache.c
diff options
context:
space:
mode:
authorpasky <pasky@openttd.org>2004-11-19 22:53:18 +0000
committerpasky <pasky@openttd.org>2004-11-19 22:53:18 +0000
commit989fd10d06ae56daf5459be73a9f395871f2037f (patch)
tree8402dbba208d06a6002edcc7a0d5156563aa9add /spritecache.c
parentad068622fb920b64fe82a6317662eb58b8db991a (diff)
downloadopenttd-989fd10d06ae56daf5459be73a9f395871f2037f.tar.xz
(svn r687) Export InitNewGRFFile() and DecodeSpecialSprite() properly.
Diffstat (limited to 'spritecache.c')
-rw-r--r--spritecache.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/spritecache.c b/spritecache.c
index 8fd42ab01..e885f835a 100644
--- a/spritecache.c
+++ b/spritecache.c
@@ -2,6 +2,7 @@
#include "ttd.h"
#include "gfx.h"
#include "fileio.h"
+#include "newgrf.h"
#include <ctype.h>
#define SPRITECACHE_ID 0xF00F0006
@@ -87,9 +88,6 @@ static const uint16 * const _slopes_spriteindexes[] = {
static void CompactSpriteCache();
-void InitNewGRFFile(const char *filename, int sprite_offset);
-void DecodeSpecialSprite(const char *filename, int num, int load_index, int stage);
-
static void ReadSpriteHeaderSkipData(int num, int load_index)
{
byte type;