Files @ r6627:bb567115c5e9
Branch filter:

Location: cpp/openttd-patchpack/source/src/fileio.h

miham
(svn r9847) -Update: WebTranslator2 update to 2007-05-15 19:41:41
estonian - 10 fixed by kristjans (10)
japanese - 9 fixed by ickoonite (9)
traditional_chinese - 21 changed by xbddc (21)
/* $Id$ */

/** @file fileio.h Declarations for Standard In/Out file operations */

#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);

FILE *FioFOpenFile(const char *filename);
bool FioCheckFileExists(const char *filename);
void FioCreateDirectory(const char *filename);

void AppendPathSeparator(char *buf, size_t buflen);
void DeterminePaths(const char *exe);

#endif /* FILEIO_H */