author | truelight |
Fri, 04 Feb 2005 13:23:29 +0000 | |
changeset 1279 | bc761aad52b3 |
parent 1198 | 2ad7ac9e1d59 |
child 2186 | db48cf29b983 |
permissions | -rw-r--r-- |
0 | 1 |
#ifndef FILEIO_H |
2 |
#define FILEIO_H |
|
3 |
||
4 |
void FioSeekTo(uint32 pos, int mode); |
|
5 |
void FioSeekToFile(uint32 pos); |
|
1093
4fdc46eaf423
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
tron
parents:
0
diff
changeset
|
6 |
uint32 FioGetPos(void); |
4fdc46eaf423
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
tron
parents:
0
diff
changeset
|
7 |
byte FioReadByte(void); |
4fdc46eaf423
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
tron
parents:
0
diff
changeset
|
8 |
uint16 FioReadWord(void); |
4fdc46eaf423
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
tron
parents:
0
diff
changeset
|
9 |
uint32 FioReadDword(void); |
4fdc46eaf423
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
tron
parents:
0
diff
changeset
|
10 |
void FioCloseAll(void); |
0 | 11 |
void FioOpenFile(int slot, const char *filename); |
12 |
void FioReadBlock(void *ptr, uint size); |
|
13 |
void FioSkipBytes(int n); |
|
1198
2ad7ac9e1d59
(svn r1702) - Fix: [ 1110407 ] Game does not crash any more when a newgrf file doesn't exist
dominik
parents:
1093
diff
changeset
|
14 |
bool FiosCheckFileExists(const char *filename); |
0 | 15 |
|
16 |
#endif /* FILEIO_H */ |