Mercurial > mm7
comparison AudioPlayer.cpp @ 2334:ddb803517a48
unused local variables I commented
author | Ritor1 |
---|---|
date | Wed, 02 Apr 2014 21:05:19 +0600 |
parents | aff7a7b072b7 |
children | 6e3ca612f132 |
comparison
equal
deleted
inserted
replaced
2333:82851980e3d8 | 2334:ddb803517a48 |
---|---|
525 int v50; // ST18_4@104 | 525 int v50; // ST18_4@104 |
526 int v51; // ebx@104 | 526 int v51; // ebx@104 |
527 int v52; // eax@104 | 527 int v52; // eax@104 |
528 float v53; // ST0C_4@106 | 528 float v53; // ST0C_4@106 |
529 float v54; // ST04_4@106 | 529 float v54; // ST04_4@106 |
530 SoundDesc *pSoundDesc; // edx@107 | 530 // SoundDesc *pSoundDesc; // edx@107 |
531 SpriteObject *pLayingItem3; // eax@114 | 531 // SpriteObject *pLayingItem3; // eax@114 |
532 signed int v62; // esi@133 | 532 signed int v62; // esi@133 |
533 int v68; // eax@143 | 533 // int v68; // eax@143 |
534 unsigned int v86; // [sp+14h] [bp-60h]@84 | 534 unsigned int v86; // [sp+14h] [bp-60h]@84 |
535 RenderVertexSoft pRenderVertexSoft; // [sp+24h] [bp-50h]@1 | 535 RenderVertexSoft pRenderVertexSoft; // [sp+24h] [bp-50h]@1 |
536 int v90; // [sp+58h] [bp-1Ch]@68 | 536 int v90; // [sp+58h] [bp-1Ch]@68 |
537 float v91; // [sp+5Ch] [bp-18h]@68 | 537 float v91; // [sp+5Ch] [bp-18h]@68 |
538 float v93; // [sp+64h] [bp-10h]@1 | 538 float v93; // [sp+64h] [bp-10h]@1 |
1400 int v9; // ebx@10 | 1400 int v9; // ebx@10 |
1401 int v10; // ebx@11 | 1401 int v10; // ebx@11 |
1402 double v11; // st7@13 | 1402 double v11; // st7@13 |
1403 SpriteObject *v12; // eax@14 | 1403 SpriteObject *v12; // eax@14 |
1404 Actor *v13; // eax@15 | 1404 Actor *v13; // eax@15 |
1405 signed int v14; // edx@15 | 1405 // signed int v14; // edx@15 |
1406 BLVDoor *pDoor; // eax@19 | 1406 BLVDoor *pDoor; // eax@19 |
1407 double v16; // st7@22 | 1407 double v16; // st7@22 |
1408 double v17; // st6@22 | 1408 double v17; // st6@22 |
1409 double v18; // st5@23 | 1409 double v18; // st5@23 |
1410 double v19; // st4@24 | 1410 double v19; // st4@24 |
1414 int v23; // ST1C_4@32 | 1414 int v23; // ST1C_4@32 |
1415 int v24; // ebx@32 | 1415 int v24; // ebx@32 |
1416 int v25; // eax@32 | 1416 int v25; // eax@32 |
1417 float v26; // ST10_4@34 | 1417 float v26; // ST10_4@34 |
1418 float v27; // ST08_4@34 | 1418 float v27; // ST08_4@34 |
1419 int v38; // eax@53 | 1419 // int v38; // eax@53 |
1420 __int16 v51; // ax@71 | 1420 // __int16 v51; // ax@71 |
1421 signed int v53; // eax@88 | 1421 signed int v53; // eax@88 |
1422 RenderVertexSoft a1; // [sp+24h] [bp-48h]@1 | 1422 RenderVertexSoft a1; // [sp+24h] [bp-48h]@1 |
1423 float v55; // [sp+54h] [bp-18h]@22 | 1423 float v55; // [sp+54h] [bp-18h]@22 |
1424 float v56; // [sp+58h] [bp-14h]@22 | 1424 float v56; // [sp+58h] [bp-14h]@22 |
1425 int uNumRepeats; // [sp+5Ch] [bp-10h]@15 | 1425 int uNumRepeats; // [sp+5Ch] [bp-10h]@15 |
1802 if (pMixerChannels[i].source_pid <= 0) | 1802 if (pMixerChannels[i].source_pid <= 0) |
1803 continue; | 1803 continue; |
1804 | 1804 |
1805 int source_type = PID_TYPE(pMixerChannels[i].source_pid), | 1805 int source_type = PID_TYPE(pMixerChannels[i].source_pid), |
1806 source_id = PID_ID(pMixerChannels[i].source_pid); | 1806 source_id = PID_ID(pMixerChannels[i].source_pid); |
1807 int source_x, | 1807 // int source_x, |
1808 source_y, | 1808 // int source_y, |
1809 source_z; | 1809 // source_z; |
1810 | 1810 |
1811 switch (source_type) | 1811 switch (source_type) |
1812 { | 1812 { |
1813 case 0: | 1813 case 0: |
1814 case OBJECT_Player: | 1814 case OBJECT_Player: |
2140 int v3; // ebx@1 | 2140 int v3; // ebx@1 |
2141 //_DIG_DRIVER *v4; // eax@1 | 2141 //_DIG_DRIVER *v4; // eax@1 |
2142 _PROVIDER *v6; // eax@9 | 2142 _PROVIDER *v6; // eax@9 |
2143 //HWND v7; // ST00_4@9 | 2143 //HWND v7; // ST00_4@9 |
2144 //MixerChannel *pChannel; // edi@14 | 2144 //MixerChannel *pChannel; // edi@14 |
2145 _SAMPLE *v9; // eax@15 | 2145 // _SAMPLE *v9; // eax@15 |
2146 //_REDBOOK *v10; // eax@19 | 2146 //_REDBOOK *v10; // eax@19 |
2147 //int v11; // ecx@21 | 2147 //int v11; // ecx@21 |
2148 int v12; // [sp+Ch] [bp-Ch]@9 | 2148 int v12; // [sp+Ch] [bp-Ch]@9 |
2149 char *Str1; // [sp+10h] [bp-8h]@6 | 2149 char *Str1; // [sp+10h] [bp-8h]@6 |
2150 int v14; // [sp+14h] [bp-4h]@5 | 2150 int v14; // [sp+14h] [bp-4h]@5 |
2333 | 2333 |
2334 //----- (004ABD5B) -------------------------------------------------------- | 2334 //----- (004ABD5B) -------------------------------------------------------- |
2335 void AudioPlayer::Release() //Освободить | 2335 void AudioPlayer::Release() //Освободить |
2336 { | 2336 { |
2337 MixerChannel *pMixerChannel; // ebx@3 | 2337 MixerChannel *pMixerChannel; // ebx@3 |
2338 char v4; // dl@5 | 2338 // char v4; // dl@5 |
2339 AudioPlayer_3DSample *p3DSample; // edi@7 | 2339 AudioPlayer_3DSample *p3DSample; // edi@7 |
2340 void *v9; // ecx@15 | 2340 void *v9; // ecx@15 |
2341 | 2341 |
2342 if ( this->bPlayerReady ) | 2342 if ( this->bPlayerReady ) |
2343 { | 2343 { |
2394 void AudioPlayer::FreeChannel(MixerChannel *pChannel) | 2394 void AudioPlayer::FreeChannel(MixerChannel *pChannel) |
2395 { | 2395 { |
2396 //int v2; // ebx@1 | 2396 //int v2; // ebx@1 |
2397 //AudioPlayer *v3; // esi@1 | 2397 //AudioPlayer *v3; // esi@1 |
2398 //SoundDesc *v4; // eax@2 | 2398 //SoundDesc *v4; // eax@2 |
2399 unsigned __int8 v5; // zf@5 | 2399 // unsigned __int8 v5; // zf@5 |
2400 //unsigned __int8 v6; // sf@5 | 2400 //unsigned __int8 v6; // sf@5 |
2401 //char *v7; // edi@6 | 2401 //char *v7; // edi@6 |
2402 int num_same_sound_on_channels; // eax@8 | 2402 int num_same_sound_on_channels; // eax@8 |
2403 //int v9; // ST04_4@8 | 2403 //int v9; // ST04_4@8 |
2404 int v10; // ecx@12 | 2404 int v10; // ecx@12 |
2405 int v11; // edi@13 | 2405 // int v11; // edi@13 |
2406 int v12; // eax@13 | 2406 int v12; // eax@13 |
2407 //unsigned __int8 v13; // of@13 | 2407 //unsigned __int8 v13; // of@13 |
2408 int v14[16]; // [sp+Ch] [bp-48h]@8 | 2408 int v14[16]; // [sp+Ch] [bp-48h]@8 |
2409 int num_playing_channels; // [sp+4Ch] [bp-8h]@5 | 2409 int num_playing_channels; // [sp+4Ch] [bp-8h]@5 |
2410 //int v16; // [sp+50h] [bp-4h]@5 | 2410 //int v16; // [sp+50h] [bp-4h]@5 |
2454 //SoundDesc *v4; // eax@2 | 2454 //SoundDesc *v4; // eax@2 |
2455 unsigned __int8 v5; // zf@5 | 2455 unsigned __int8 v5; // zf@5 |
2456 unsigned __int8 v6; // sf@5 | 2456 unsigned __int8 v6; // sf@5 |
2457 char *v7; // edi@6 | 2457 char *v7; // edi@6 |
2458 int v8; // eax@8 | 2458 int v8; // eax@8 |
2459 int v9; // ST04_4@8 | 2459 // int v9; // ST04_4@8 |
2460 int v10; // ecx@12 | 2460 int v10; // ecx@12 |
2461 int v11; // eax@13 | 2461 int v11; // eax@13 |
2462 unsigned __int8 v12; // of@13 | 2462 // unsigned __int8 v12; // of@13 |
2463 int v13[16]; // [sp+Ch] [bp-48h]@8 | 2463 int v13[16]; // [sp+Ch] [bp-48h]@8 |
2464 int v14; // [sp+4Ch] [bp-8h]@5 | 2464 int v14; // [sp+4Ch] [bp-8h]@5 |
2465 int v15; // [sp+50h] [bp-4h]@5 | 2465 int v15; // [sp+50h] [bp-4h]@5 |
2466 | 2466 |
2467 if ( pSoundList->pSL_Sounds ) | 2467 if ( pSoundList->pSL_Sounds ) |