summaryrefslogtreecommitdiff
path: root/fileio.h
blob: 20396ccddce1cff839a9b001ec0fb6adac3fdde4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 */