view src/fileio.h @ 5800:9b2e11950b8f draft

(svn r8362) -Codechange: [vehicle build window] moved the engine drawing loop to a function of it's own -Fix (r8335): [vehicle build window] ship sprites were moved two pixels to the left
author bjarni <bjarni@openttd.org>
date Mon, 22 Jan 2007 23:23:30 +0000
parents eabf4b86aed6
children e3e61b92574b
line wrap: on
line source

/* $Id$ */

#ifndef FILEIO_H
#define FILEIO_H

void FioSeekTo(uint32 pos, int mode);
void FioSeekToFile(uint32 pos);
uint32 FioGetPos(void);
byte FioReadByte(void);
uint16 FioReadWord(void);
uint32 FioReadDword(void);
void FioCloseAll(void);
FILE *FioFOpenFile(const char *filename);
void FioOpenFile(int slot, const char *filename);
void FioReadBlock(void *ptr, uint size);
void FioSkipBytes(int n);
bool FioCheckFileExists(const char *filename);

#endif /* FILEIO_H */