diff options
author | truelight <truelight@openttd.org> | 2004-08-09 17:04:08 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-08-09 17:04:08 +0000 |
commit | efaeb275f78e18d594d9ee8ff04eccd2dc59512c (patch) | |
tree | bc8e1f56d77706d14d048cb2d99e53291930b520 /fileio.h | |
download | openttd-efaeb275f78e18d594d9ee8ff04eccd2dc59512c.tar.xz |
(svn r1) Import of revision 975 of old (crashed) SVN
Diffstat (limited to 'fileio.h')
-rw-r--r-- | fileio.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fileio.h b/fileio.h new file mode 100644 index 000000000..20396ccdd --- /dev/null +++ b/fileio.h @@ -0,0 +1,15 @@ +#ifndef FILEIO_H +#define FILEIO_H + +void FioSeekTo(uint32 pos, int mode); +void FioSeekToFile(uint32 pos); +uint32 FioGetPos(); +byte FioReadByte(); +uint16 FioReadWord(); +uint32 FioReadDword(); +void FioCloseAll(); +void FioOpenFile(int slot, const char *filename); +void FioReadBlock(void *ptr, uint size); +void FioSkipBytes(int n); + +#endif /* FILEIO_H */ |