src/fileio.h
changeset 6247 7d81e3a5d803
parent 6201 bee01dc45e39
child 6298 01c80746f308
equal deleted inserted replaced
6246:75451000349d 6247:7d81e3a5d803
     5 #ifndef FILEIO_H
     5 #ifndef FILEIO_H
     6 #define FILEIO_H
     6 #define FILEIO_H
     7 
     7 
     8 void FioSeekTo(uint32 pos, int mode);
     8 void FioSeekTo(uint32 pos, int mode);
     9 void FioSeekToFile(uint32 pos);
     9 void FioSeekToFile(uint32 pos);
    10 uint32 FioGetPos(void);
    10 uint32 FioGetPos();
    11 byte FioReadByte(void);
    11 byte FioReadByte();
    12 uint16 FioReadWord(void);
    12 uint16 FioReadWord();
    13 uint32 FioReadDword(void);
    13 uint32 FioReadDword();
    14 void FioCloseAll(void);
    14 void FioCloseAll();
    15 FILE *FioFOpenFile(const char *filename);
    15 FILE *FioFOpenFile(const char *filename);
    16 void FioOpenFile(int slot, const char *filename);
    16 void FioOpenFile(int slot, const char *filename);
    17 void FioReadBlock(void *ptr, uint size);
    17 void FioReadBlock(void *ptr, uint size);
    18 void FioSkipBytes(int n);
    18 void FioSkipBytes(int n);
    19 bool FioCheckFileExists(const char *filename);
    19 bool FioCheckFileExists(const char *filename);