Codechange: let NewGRF sounds make use of RandomAccessFile instead of the FIO slot functions
This commit is contained in:
@@ -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