| author | pasky |
| Sun, 06 Mar 2005 00:39:38 +0000 | |
| changeset 1428 | 91f318d6a490 |
| parent 1198 | 010e5986ed74 |
| child 2186 | 461a2aff3486 |
| 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
e8d26c7dc42f
(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); |
|
e8d26c7dc42f
(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); |
|
e8d26c7dc42f
(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); |
|
e8d26c7dc42f
(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); |
|
e8d26c7dc42f
(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
010e5986ed74
(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 */ |