summaryrefslogtreecommitdiff
path: root/src/fileio_func.h
diff options
context:
space:
mode:
authorRubidium <rubidium@openttd.org>2021-04-13 21:58:56 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-08 12:39:34 +0200
commitc097bc9d7d610b613f76152b3cdcb9be2af7a1c7 (patch)
tree1f6f7fad0d4b12626bc626a08127ebf50cd6721b /src/fileio_func.h
parentb144e56b2c4d92baa868435818a99faa8ed06439 (diff)
downloadopenttd-c097bc9d7d610b613f76152b3cdcb9be2af7a1c7.tar.xz
Codechange: let NewGRF sounds make use of RandomAccessFile instead of the FIO slot functions
Diffstat (limited to 'src/fileio_func.h')
-rw-r--r--src/fileio_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio_func.h b/src/fileio_func.h
index 4b9b2dd9e..55fac39ef 100644
--- a/src/fileio_func.h
+++ b/src/fileio_func.h
@@ -26,6 +26,7 @@ void FioCloseAll();
void FioOpenFile(int slot, const std::string &filename, Subdirectory subdir);
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);