Codechange: let NewGRF sounds make use of RandomAccessFile instead of the FIO slot functions
(cherry picked from commit c097bc9d7d
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
4b37044ef1
commit
525f6adcd0
@@ -26,6 +26,7 @@ void FioCloseAll();
|
||||
void FioOpenFile(int slot, const std::string &filename, Subdirectory subdir, std::string *output_filename = nullptr);
|
||||
void FioReadBlock(void *ptr, size_t size);
|
||||
void FioSkipBytes(int n);
|
||||
class RandomAccessFile *FioGetRandomAccessFile(int slot);
|
||||
|
||||
void FioFCloseFile(FILE *f);
|
||||
FILE *FioFOpenFile(const std::string &filename, const char *mode, Subdirectory subdir, size_t *filesize = nullptr, std::string *output_filename = nullptr);
|
||||
|
Reference in New Issue
Block a user