File tree Expand file tree Collapse file tree
src/OpenSHC/Audio/mss/SoundSystem Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #include " OpenSHC/Audio/MSS/SoundSystem.func.hpp"
2+
3+ #include " OpenSHC/string-literals.hpp"
4+
5+ namespace OpenSHC {
6+ namespace Audio {
7+ namespace MSS {
8+
9+ // FUNCTION: STRONGHOLDCRUSADER 0x00479DF0
10+ void SoundSystem::playSound (int soundIndex)
11+ {
12+ if (!this ->waveOutOpenUnk_0x8 || !this ->soundActiveUnk_0x0
13+ || this ->soundFileCurrSampleNum_0x28c [soundIndex] < 0 ) {
14+ return ;
15+ }
16+
17+ AIL_set_named_sample_file (this ->sample_0x190 [this ->soundFileCurrSampleNum_0x28c [soundIndex] + -1 ],
18+ s__wav_005a6cc4, this ->soundFileDataPointerArray_0x122c [soundIndex],
19+ this ->soundFileSizes_0x21cc [soundIndex], 0 );
20+ AIL_start_sample (this ->sample_0x190 [this ->soundFileCurrSampleNum_0x28c [soundIndex] + -1 ]);
21+ }
22+
23+ }
24+ }
25+ }
Original file line number Diff line number Diff line change @@ -10889,7 +10889,7 @@ SHC_3BB0A8C1_0x00479C20 | 0.0% | Pending
1088910889SHC_3BB0A8C1_0x00479C80 | 0.0% | Pending
1089010890SHC_3BB0A8C1_0x00479CF0 | 100.0% | Reimplemented
1089110891SHC_3BB0A8C1_0x00479D90 | 100.0% | Reimplemented
10892- SHC_3BB0A8C1_0x00479DF0 | 0 .0% | Pending
10892+ SHC_3BB0A8C1_0x00479DF0 | 100 .0% | Reimplemented
1089310893SHC_3BB0A8C1_0x00479E60 | 100.0% | Reimplemented
1089410894SHC_3BB0A8C1_0x00479F30 | 100.0% | Reimplemented
1089510895SHC_3BB0A8C1_0x00479FC0 | 0.0% | Pending
You can’t perform that action at this time.
0 commit comments