Codechange: let NewGRF sounds make use of RandomAccessFile instead of the FIO slot functions

(cherry picked from commit c097bc9d7d)
This commit is contained in:
Rubidium
2021-04-13 21:58:56 +02:00
committed by Jonathan G Rennison
parent 4b37044ef1
commit 525f6adcd0
7 changed files with 79 additions and 64 deletions

View File

@@ -11,7 +11,7 @@
#define SOUND_TYPE_H
struct SoundEntry {
uint file_slot;
class RandomAccessFile *file;
size_t file_offset;
size_t file_size;
uint16 rate;