summaryrefslogtreecommitdiff
path: root/src/fileio.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-13 16:21:11 +0000
committertruelight <truelight@openttd.org>2007-06-13 16:21:11 +0000
commitb7443d800bddcdc7f3e5feaa0130df2445af4160 (patch)
tree214b44d6a6b5ee20d5f7eb13ed8d04475c94bd5f /src/fileio.h
parent4185c4afcdd58d49c33e64c6d53a7eb71d44bd1e (diff)
downloadopenttd-b7443d800bddcdc7f3e5feaa0130df2445af4160.tar.xz
(svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
-Codechange: store the SpriteID in the spritecache too -Add: add a PNG loader for graphical files -Documentation: added a document to explain the PNG format
Diffstat (limited to 'src/fileio.h')
-rw-r--r--src/fileio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.h b/src/fileio.h
index 7835a5c8a..97a62249f 100644
--- a/src/fileio.h
+++ b/src/fileio.h
@@ -8,6 +8,7 @@
void FioSeekTo(uint32 pos, int mode);
void FioSeekToFile(uint32 pos);
uint32 FioGetPos();
+const char *FioGetFilename();
byte FioReadByte();
uint16 FioReadWord();
uint32 FioReadDword();