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
@@ -39,6 +39,14 @@ static bool _do_scan_working_directory = true;
|
||||
extern std::string _config_file;
|
||||
extern std::string _highscore_file;
|
||||
|
||||
/**
|
||||
* Transition helper to get the RandomAccessFile associated with a given slot.
|
||||
*/
|
||||
RandomAccessFile *FioGetRandomAccessFile(int slot)
|
||||
{
|
||||
return _fio_files[slot];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get position in the current file.
|
||||
* @return Position in the file.
|
||||
|
Reference in New Issue
Block a user