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

This commit is contained in:
Rubidium
2021-04-13 21:58:56 +02:00
committed by rubidium42
parent b144e56b2c
commit c097bc9d7d
7 changed files with 79 additions and 64 deletions

View File

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