Mercurial > mm7
diff AudioPlayer.cpp @ 11:66319a734368
16.01.13(work)
author | Ritor1 |
---|---|
date | Wed, 16 Jan 2013 17:31:56 +0600 |
parents | 8e33efd39355 |
children | 352b15291822 |
line wrap: on
line diff
--- a/AudioPlayer.cpp Wed Jan 16 09:25:57 2013 +0600 +++ b/AudioPlayer.cpp Wed Jan 16 17:31:56 2013 +0600 @@ -1355,7 +1355,7 @@ //----- (004AAFCF) -------------------------------------------------------- void AudioPlayer::_4AAFCF() { - AudioPlayer *v1; // edi@1 + AudioPlayer *pAudioPlayer; // edi@1 int v2; // ebx@1 unsigned __int8 v3; // zf@1 int *v4; // eax@2 @@ -1416,7 +1416,7 @@ int v59; // [sp+64h] [bp-8h]@4 AudioPlayer *thisa; // [sp+68h] [bp-4h]@1 - v1 = this; + pAudioPlayer = this; v2 = 0; thisa = this; v3 = this->bPlayerReady == 0; @@ -1443,7 +1443,7 @@ if ( AIL_3D_sample_status(v6->hSample) == 2 ) { AIL_end_3D_sample(v6->hSample); - v1->_4ABF23(v6); + pAudioPlayer->_4ABF23(v6); } if ( AIL_3D_sample_status(v6->hSample) != 4 ) goto LABEL_35; @@ -1466,7 +1466,7 @@ LABEL_35: ++v59; ++v6; - if ( v59 >= v1->uNum3DSamples ) + if ( v59 >= pAudioPlayer->uNum3DSamples ) { v2 = 0; goto LABEL_37; @@ -1569,36 +1569,36 @@ else { AIL_end_3D_sample(v6->hSample); - v1->_4ABF23(v6); + pAudioPlayer->_4ABF23(v6); } goto LABEL_35; } } LABEL_37: - if ( v1->uMixerChannels > v2 ) + if ( pAudioPlayer->uMixerChannels > v2 ) { - v28 = v1->pMixerChannels; + v28 = pAudioPlayer->pMixerChannels; do { if ( AIL_sample_status(v28->hSample) == 2 ) { AIL_end_sample(v28->hSample); - v1->_4ABE55(v28); + pAudioPlayer->_4ABE55(v28); } ++v2; ++v28; } - while ( v2 < v1->uMixerChannels ); + while ( v2 < pAudioPlayer->uMixerChannels ); v2 = 0; } //v29 = __OFSUB__(v1->uMixerChannels, v2); - v29 = v1->uMixerChannels > v2; - v3 = v1->uMixerChannels == v2; - v5 = v1->uMixerChannels - v2 < 0; + v29 = pAudioPlayer->uMixerChannels > v2; + v3 = pAudioPlayer->uMixerChannels == v2; + v5 = pAudioPlayer->uMixerChannels - v2 < 0; v59 = v2; if ( !((unsigned __int8)(v5 ^ v29) | v3) ) { - v30 = v1->pMixerChannels; + v30 = pAudioPlayer->pMixerChannels; while ( 1 ) { v31 = v30->dword_000004; @@ -1610,7 +1610,7 @@ if ( !v39->uDoorID ) { LABEL_61: - v1 = thisa; + pAudioPlayer = thisa; goto LABEL_62; } v40 = GetSoundStrengthByDistanceFromParty(*v39->pXOffsets, *v39->pYOffsets, *v39->pZOffsets); @@ -1665,7 +1665,7 @@ LABEL_62: ++v59; ++v30; - if ( v59 >= v1->uMixerChannels ) + if ( v59 >= pAudioPlayer->uMixerChannels ) { v2 = 0; break; @@ -1674,7 +1674,7 @@ } if ( pCurrentScreen != v2 ) { - v42 = &v1->pMixerChannels[4]; + v42 = &pAudioPlayer->pMixerChannels[4]; if ( AIL_sample_status(v42->hSample) == 4 ) AIL_end_sample(v42->hSample); return;