RCS file: /cvsroot/scummvm/scummvm/scumm/bundle.h,v
retrieving revision 1.10
diff -u -r1.10 bundle.h
|
|
|
44 | 44 | int32 decompressCodec(int32 codec, byte *comp_input, byte *comp_output, int32 size, int32 index, int32 & channels); |
45 | 45 | CompTable *_compVoiceTable; |
46 | 46 | CompTable *_compMusicTable; |
47 | | File _voiceFile; |
48 | 47 | BundleAudioTable *_bundleVoiceTable; |
49 | 48 | BundleAudioTable *_bundleMusicTable; |
50 | 49 | int32 _numVoiceFiles; |
… |
… |
|
60 | 59 | ~Bundle(); |
61 | 60 | |
62 | 61 | File _musicFile; |
| 62 | File _voiceFile; |
63 | 63 | void initializeImcTables(); |
64 | 64 | bool openVoiceFile(const char *filename, const char *directory); |
65 | 65 | bool openMusicFile(const char *filename, const char *directory); |
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.73
diff -u -r1.73 sound.cpp
|
|
|
1140 | 1140 | if (_scumm->_gameId == GID_CMI) { |
1141 | 1141 | char voxfile[20]; |
1142 | 1142 | sprintf(voxfile, "voxdisk%d.bun", _scumm->_vars[_scumm->VAR_CURRENTDISK]); |
| 1143 | if (_voiceDisk != _scumm->_vars[_scumm->VAR_CURRENTDISK]) |
| 1144 | _scumm->_bundle->_voiceFile.close(); |
| 1145 | |
1143 | 1146 | result = _scumm->_bundle->openVoiceFile(voxfile, _scumm->getGameDataPath()); |
| 1147 | |
| 1148 | _voiceDisk = (byte)_scumm->_vars[_scumm->VAR_CURRENTDISK]; |
1144 | 1149 | } else if (_scumm->_gameId == GID_DIG) |
1145 | 1150 | result = _scumm->_bundle->openVoiceFile("digvoice.bun", _scumm->getGameDataPath()); |
1146 | 1151 | else |
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.h,v
retrieving revision 1.24
diff -u -r1.24 sound.h
|
|
|
45 | 45 | char * _nameBundleMusic; |
46 | 46 | char * _newNameBundleMusic; |
47 | 47 | byte _musicDisk; |
| 48 | byte _voiceDisk; |
48 | 49 | int32 _currentSampleBundleMusic; |
49 | 50 | int32 _numberSamplesBundleMusic; |
50 | 51 | int32 _offsetSampleBundleMusic; |