diff options
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 */ |