fileio.h
author truelight
Mon, 13 Dec 2004 18:53:59 +0000
changeset 635 38f9209f5caa
parent 0 29654efe3188
child 1093 4fdc46eaf423
permissions -rw-r--r--
(svn r1066) -Fix: Crash when saving game as spectator (tnx to GeniusDex for reporting)
#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 */