changeset 6573 | 7624f942237f |
parent 5860 | 7fdc9b423ba1 |
child 6719 | 4cc327ad39d5 |
child 6916 | e87d54a598ea |
child 9908 | 0fa543611bbe |
6572:e35266003390 | 6573:7624f942237f |
---|---|
91 fe->file_offset = FioGetPos() | (SOUND_SLOT << 24); |
91 fe->file_offset = FioGetPos() | (SOUND_SLOT << 24); |
92 } |
92 } |
93 } |
93 } |
94 } |
94 } |
95 |
95 |
96 uint GetNumOriginalSounds(void) |
96 uint GetNumOriginalSounds() |
97 { |
97 { |
98 return _file_count; |
98 return _file_count; |
99 } |
99 } |
100 |
100 |
101 static bool SetBankSource(MixerChannel *mc, uint bank) |
101 static bool SetBankSource(MixerChannel *mc, uint bank) |
175 56, 57, 58, 59, 60, 61, 62, 63, |
175 56, 57, 58, 59, 60, 61, 62, 63, |
176 64, 65, 66, 67, 68, 69, 70, 71, |
176 64, 65, 66, 67, 68, 69, 70, 71, |
177 72, |
177 72, |
178 }; |
178 }; |
179 |
179 |
180 void SndCopyToPool(void) |
180 void SndCopyToPool() |
181 { |
181 { |
182 uint i; |
182 uint i; |
183 |
183 |
184 for (i = 0; i < _file_count; i++) { |
184 for (i = 0; i < _file_count; i++) { |
185 FileEntry *orig = &_files[_sound_idx[i]]; |
185 FileEntry *orig = &_files[_sound_idx[i]]; |