comparison Player.cpp @ 24:352b15291822

18.01.13 (PlaySound work)
author Ritor1
date Fri, 18 Jan 2013 17:30:54 +0600
parents 9c0607679772
children 2bcc7b24c831 968e681bcceb
comparison
equal deleted inserted replaced
23:75d706037de4 24:352b15291822
626 pSoundId = rand() % SLOBYTE((&(&dlhu_texnames_by_face[19])[25 * v11 + 3])[pVoiceID]) 626 pSoundId = rand() % SLOBYTE((&(&dlhu_texnames_by_face[19])[25 * v11 + 3])[pVoiceID])
627 + 2 * (v11 + 50 * pPlayer2->uVoiceID) 627 + 2 * (v11 + 50 * pPlayer2->uVoiceID)
628 + 4998; 628 + 4998;
629 v12 = 8 * pPlayerNum + 312; 629 v12 = 8 * pPlayerNum + 312;
630 LOBYTE(v12) = v12 | 4; 630 LOBYTE(v12) = v12 | 4;
631 pAudioPlayer->PlaySound((SoundID)pSoundId, v12, 0, -1, 0, 0, (signed __int64)(pSoundVolumeLevels[(char)uVoicesVolumeMultiplier] * 128.0), 0); 631 pAudioPlayer->PlaySound((SoundID)pSoundId, v12, 0, -1, 0, 0, (pSoundVolumeLevels[uVoicesVolumeMultiplier] * 128.0), 0);
632 } 632 }
633 } 633 }
634 } 634 }
635 v13 = 0; 635 v13 = 0;
636 v14 = (int)(v6 + 3); 636 v14 = (int)(v6 + 3);