mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
17 lines
418 B
C
17 lines
418 B
C
#ifndef FILEIO_H
|
|
#define FILEIO_H
|
|
|
|
void FioSeekTo(uint32 pos, int mode);
|
|
void FioSeekToFile(uint32 pos);
|
|
uint32 FioGetPos(void);
|
|
byte FioReadByte(void);
|
|
uint16 FioReadWord(void);
|
|
uint32 FioReadDword(void);
|
|
void FioCloseAll(void);
|
|
void FioOpenFile(int slot, const char *filename);
|
|
void FioReadBlock(void *ptr, uint size);
|
|
void FioSkipBytes(int n);
|
|
bool FiosCheckFileExists(const char *filename);
|
|
|
|
#endif /* FILEIO_H */
|