diff options
author | athrxx | 2019-01-26 22:55:25 +0100 |
---|---|---|
committer | athrxx | 2019-03-06 20:48:20 +0100 |
commit | 890c4c5f41e74938640f4bc8ddb843ac3ca9928d (patch) | |
tree | 1574c7a04f65cc2ce468380b8b9d05a70c0cfaec /engines/kyra/sound/sound.h | |
parent | 4cc9c81a75f73216ba98b3744a32c900aad36061 (diff) | |
download | scummvm-rg350-890c4c5f41e74938640f4bc8ddb843ac3ca9928d.tar.gz scummvm-rg350-890c4c5f41e74938640f4bc8ddb843ac3ca9928d.tar.bz2 scummvm-rg350-890c4c5f41e74938640f4bc8ddb843ac3ca9928d.zip |
KYRA: (EOB1/Amiga) - fix start up
First efforts to get this running. The intro is shown with severe palette glitches. The Main Menu does not show, thanks to the lack of font drawing.
- implement endian aware stream wrapper for amiga files
- implement sound file handling
- implement some Amiga palette handling
- etc
Diffstat (limited to 'engines/kyra/sound/sound.h')
-rw-r--r-- | engines/kyra/sound/sound.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/kyra/sound/sound.h b/engines/kyra/sound/sound.h index ab0e6a16d1..abeb6050bc 100644 --- a/engines/kyra/sound/sound.h +++ b/engines/kyra/sound/sound.h @@ -67,15 +67,17 @@ struct SoundResourceInfo_TownsPC98V2 { }; struct SoundResourceInfo_TownsEoB { - SoundResourceInfo_TownsEoB(const uint8 *pcmdata, uint dataSize, int pcmvolume) : pcmData(pcmdata), pcmDataSize(dataSize), pcmVolume(pcmvolume) {} + SoundResourceInfo_TownsEoB(const char *const *filelist, uint numfiles, const uint8 *pcmdata, uint pcmdataSize, int pcmvolume) : fileList(filelist), numFiles(numfiles), pcmData(pcmdata), pcmDataSize(pcmdataSize), pcmVolume(pcmvolume) {} const uint8 *pcmData; uint pcmDataSize; int pcmVolume; + const char *const *fileList; + uint numFiles; }; struct SoundResourceInfo_AmigaEoB { - SoundResourceInfo_AmigaEoB(const char *const *files, int numFiles, const char *const *sounds, int numSounds) : fileList(files), fileListSize(numFiles), soundList(sounds), soundListSize(numSounds) {} + SoundResourceInfo_AmigaEoB(const char *const *files, int numFiles, const char *const *soundmap, int numSounds) : fileList(files), fileListSize(numFiles), soundList(soundmap), soundListSize(numSounds) {} const char *const *fileList; uint fileListSize; const char *const *soundList; |