author | tron |
Mon, 25 Jul 2005 07:16:10 +0000 | |
changeset 2189 | 5cdc11ffeaa4 |
parent 2186 | db48cf29b983 |
child 2736 | 3d6487cbbb69 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
0 | 3 |
#ifndef FILEIO_H |
4 |
#define FILEIO_H |
|
5 |
||
6 |
void FioSeekTo(uint32 pos, int mode); |
|
7 |
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
|
8 |
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
|
9 |
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
|
10 |
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
|
11 |
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
|
12 |
void FioCloseAll(void); |
0 | 13 |
void FioOpenFile(int slot, const char *filename); |
14 |
void FioReadBlock(void *ptr, uint size); |
|
15 |
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
|
16 |
bool FiosCheckFileExists(const char *filename); |
0 | 17 |
|
18 |
#endif /* FILEIO_H */ |