Mercurial > mm7
comparison mm7_6.cpp @ 388:d95a91011d57
AudioPlayer::PlaySound
author | Nomad |
---|---|
date | Sat, 23 Feb 2013 04:01:09 +0200 |
parents | 243418228760 |
children | 111f25d1cc04 |
comparison
equal
deleted
inserted
replaced
383:c3a0d94c07a5 | 388:d95a91011d57 |
---|---|
8783 } | 8783 } |
8784 | 8784 |
8785 //----- (0042FBDD) -------------------------------------------------------- | 8785 //----- (0042FBDD) -------------------------------------------------------- |
8786 void __cdecl sub_42FBDD() | 8786 void __cdecl sub_42FBDD() |
8787 { | 8787 { |
8788 pAudioPlayer->PlaySound((SoundID)75, 0, 0, -1, 0, 0, 0, 0); | 8788 pAudioPlayer->PlaySound(SOUND_Button2, 0, 0, -1, 0, 0, 0, 0); |
8789 pRenderer->DrawTextureTransparent(pBtn_YES->uX, pBtn_YES->uY, pBtn_YES->pTextures[0]); | 8789 pRenderer->DrawTextureTransparent(pBtn_YES->uX, pBtn_YES->uY, pBtn_YES->pTextures[0]); |
8790 pRenderer->Present(); | 8790 pRenderer->Present(); |
8791 } | 8791 } |
8792 | 8792 |
8793 //----- (0042FC15) -------------------------------------------------------- | 8793 //----- (0042FC15) -------------------------------------------------------- |
8794 void __cdecl CloseWindowBackground() | 8794 void __cdecl CloseWindowBackground() |
8795 { | 8795 { |
8796 pAudioPlayer->PlaySound((SoundID)75, -2, 0, -1, 0, 0, 0, 0); | 8796 pAudioPlayer->PlaySound(SOUND_Button2, -2, 0, -1, 0, 0, 0, 0); |
8797 pRenderer->DrawTextureTransparent(pBtn_ExitCancel->uX, pBtn_ExitCancel->uY, pBtn_ExitCancel->pTextures[0]); | 8797 pRenderer->DrawTextureTransparent(pBtn_ExitCancel->uX, pBtn_ExitCancel->uY, pBtn_ExitCancel->pTextures[0]); |
8798 pRenderer->Present(); | 8798 pRenderer->Present(); |
8799 } | 8799 } |
8800 | 8800 |
8801 //----- (0042FC4E) -------------------------------------------------------- | 8801 //----- (0042FC4E) -------------------------------------------------------- |