summaryrefslogtreecommitdiff
path: root/newgrf.h
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 /newgrf.h
parentad068622fb920b64fe82a6317662eb58b8db991a (diff)
downloadopenttd-989fd10d06ae56daf5459be73a9f395871f2037f.tar.xz
(svn r687) Export InitNewGRFFile() and DecodeSpecialSprite() properly.
Diffstat (limited to 'newgrf.h')
-rw-r--r--newgrf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/newgrf.h b/newgrf.h
index 0b20fdcd1..e768cc560 100644
--- a/newgrf.h
+++ b/newgrf.h
@@ -1,6 +1,9 @@
#ifndef NEWGRF_H
#define NEWGRF_H
+#include "sprite.h"
+#include "station.h"
+
struct GRFFile {
char *filename;
uint32 grfid;
@@ -33,6 +36,9 @@ struct GRFFile {
extern int _grffile_count;
extern struct GRFFile *_first_grffile;
+void InitNewGRFFile(const char *filename, int sprite_offset);
+void DecodeSpecialSprite(const char *filename, int num, int spriteid, int stage);
+
#endif /* NEWGRF_H */