Mercurial > might-and-magic-trilogy
comparison AudioPlayer.cpp @ 197:6109a4e23903
run new game (29.12.12)
author | Ritor1 |
---|---|
date | Sat, 29 Dec 2012 12:56:32 +0600 |
parents | d8aa322a19e5 |
children | 22730e77fa32 |
comparison
equal
deleted
inserted
replaced
196:d5a0f3576577 | 197:6109a4e23903 |
---|---|
713 //pAudioPlayer = this; | 713 //pAudioPlayer = this; |
714 RenderVertexSoft.flt_2C = 0.0; | 714 RenderVertexSoft.flt_2C = 0.0; |
715 LODWORD(v93) = 10000; | 715 LODWORD(v93) = 10000; |
716 if ( v35 || !uSoundVolumeMultiplier || !this->hDigDriver || !eSoundID ) | 716 if ( v35 || !uSoundVolumeMultiplier || !this->hDigDriver || !eSoundID ) |
717 return; | 717 return; |
718 /*pNum = 0; | 718 pNum = 0; |
719 if ( (signed int)pSoundList->uNumSounds <= 0 ) | 719 if ( (signed int)pSoundList->uNumSounds <= 0 ) |
720 { | 720 { |
721 LABEL_9: | 721 LABEL_9: |
722 pNum = 0; | 722 pNum = 0; |
723 } | 723 } |
730 pSoundID += 30; | 730 pSoundID += 30; |
731 if ( pNum >= (signed int)pSoundList->uNumSounds ) | 731 if ( pNum >= (signed int)pSoundList->uNumSounds ) |
732 goto LABEL_9; | 732 goto LABEL_9; |
733 } | 733 } |
734 } | 734 } |
735 v92 = pNum;//38 */ | 735 /* v92 = pNum;//38 |
736 pNum = 0; | 736 pNum = 0; |
737 for ( pSoundID = (int *)&pSoundList->pSounds->uSoundID; *pSoundID != eSoundID; pSoundID += 30) | 737 for ( pSoundID = (int *)&pSoundList->pSounds->uSoundID; *pSoundID != eSoundID; pSoundID += 30) |
738 { | 738 { |
739 ++pNum; | 739 ++pNum; |
740 } | 740 }*/ |
741 if ( !pNum ) | 741 if ( !pNum ) |
742 return; | 742 return; |
743 if ( !pAudioPlayer->b3DSoundInitialized || (v89 = 120 * pNum, !(pSoundList->pSounds[pNum].uFlags & 2)) ) | 743 if ( !pAudioPlayer->b3DSoundInitialized || (v89 = 120 * pNum, !(pSoundList->pSounds[pNum].uFlags & 2)) ) |
744 { | 744 { |
745 //pSoundDesc = (SoundDesc *)7; | 745 //pSoundDesc = (SoundDesc *)7; |